Clan x86
Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Lance on September 14, 2008, 03:23:17 pm
-
Is there a way to run JavaOP on a mobile edition of Java such as the Java installed on the Motorola Razr v3?
-
Probably not. My guess is they strip out a lot of (what Sun would consider) "useless features" and a lot of those features JavaOp uses.
Doesn't hurt to try, though. ;)
-
I vaguely remember it not working, but eh?
-
Even if the JRE is complete, you won't have enough RAM. There's no way it could work.
-
Even if the JRE is complete, you won't have enough RAM. There's no way it could work.
Sounds like a challenge. Is there a way to realistically test how an application would behave on a mobile device, short of actually testing it on one?
-
Sure, most mobile platforms that have a lot of development on them have emulators of some sort. Not a perfect match as you'll be off on actual CPU speed, but you can usually limit RAM on emulators to a realistic value. There's a nice ARM emulator for Windows Mobile, for instance.
No idea about this particular platform, though, but if it's a major one, I'd imagine that there's probably an emulator somewhere.
You will probably not want to run a battle.net connection from your phone, however. That is going to wake up your data link frequently, at least for SID_PING/SID_NULL, and that's going to completely hose your battery life. I'd be surprised if you got even a day between charges like that. Battery life for a device like a cell phone is dependent on keeping as much of the device powered off for as long as possible, and frequently waking up to perform network tasks does not mesh well with that philosophy.
-
You will probably not want to run a battle.net connection from your phone, however. That is going to wake up your data link frequently, at least for SID_PING/SID_NULL, and that's going to completely hose your battery life. I'd be surprised if you got even a day between charges like that. Battery life for a device like a cell phone is dependent on keeping as much of the device powered off for as long as possible, and frequently waking up to perform network tasks does not mesh well with that philosophy.
If you're running a battle.net connection, you're presumably also powering the backlight, which uses significantly more power than the radios do.
[edit] That said, the typical phone should be able to reliably get 3 or 4 hours of battery life with the backlight on - better than my laptop is currently doing.
-
I wonder if a microSD card can expand the ram :o
-
I wonder if a microSD card can expand the ram :o
If you have a unix-based OS, you can add a swap image on a flash chip, but beware that it will be extremely slow, and it will kill your flash chip pretty quickly.
Since you probably dont have a unix phone, you probably can't.
-
SD card interfaces on most phones, in my experience, are rare to do over a couple megabits/sec throughput (say, 4-5mbit/sec). You really don't want to be doing paging at that rate.