• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apps will be slow on devices

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
a sanjuan
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Baruch Sadogursky
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look for good optimization articles at Wirless Sun page
 
Lance Titchkosky
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic