Hi ! when we are developing apps on our computers , things work pretty fast. Like i use a 266 MHz machine, so when the app will actually run on a cellphone/pager it will be atleast 10 times slow. I'm assuming that processing power of the device is around 25 MHz. So if the application is not really responsive, don't you think users will get bored, especially when playing very intercative games etc Regards Danish
posted 14 years ago
hmmm...that's why you have to optimize the app for speed. for example, using local variables instead of member variables results in faster code. in addition to optimization, you should set your emulator to run at a speed (bytes/sec) that is similar to what you expect the target phone might be capable of...finally, test your app always on real phones, because i noticed that uncovers some stuff that emulators may not pick up.
Sun's new version of the wireless toolkit lets you set the code speed of the emulator, so you can try it out at different speeds (the same speeds as the devices you want to run it on) and then optimize the critical sections.. The toolkit also has profiling tools to help you locate the slowest parts of your code etc.. Version 1.0.4 is now released (not beta).. its on sun's wireless site.. lance
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads