Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

For a cell phone as well

 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know, whether this book will also help us to program application for cell phones. Is there much of a difference between an application being developed for a cell phone and a PDA.
 
Daryl Wilding-McBride
Author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using MIDP, there is no code-level difference between an application for a mobile phone and an application for the Palm, asssuming they both use the same version of the MIDP spec. However, the processor capacity of each device is different, so you need to consider the amount of functionality you need to put on the device in the interests of user responsiveness. This is a topic I've covered in the book.
[ July 22, 2003: Message edited by: Daryl Wilding-McBride ]
 
sing
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Daryl,
I want to write a J2ME application that will display a lot of images. I knew that there are 2 ways to do this. (Please coorect me if wrong)
1) store images in jar. call the images when application need it. disadvantage is that it takes out memory space 2) load images from server everytimes the user start the application. disadvantage is that it may take some time to display from server.
Please advise. Thanks.
steffy
 
Daryl Wilding-McBride
Author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on how dynamic is the set of images. Can they change? Can new ones be added? And how often? If the images can change, you would probably lean toward getting them from the server, and caching them on the device if they don't change very often.
By the way, there's an example on this subject in the book. It uses a web service to retrieve the images from the server, and caches them on the PDA. It gives a Palm and PocketPC example.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic