07-26-2008 09:23 AM
What navigation methods i should use for BlackBerry 8300 (Curve) application.
I mean either I should use :
Screen Class methods: NavigationClick(), navigationUnclick() and navigationMovement() methods
TrackwheelListener interface methods : TrackwheelClick(), trackwheelUnclick(), and trackwheelRoll() methods.
Thanks in advance.
07-26-2008 09:38 AM
I am getting following error " I/O Error: output file: FordFocus-12.cod data section too large: 65300 bytes." if i user ScreenClass methods for navigation, and the application is working fine in simulator if i use "TrackwheelListener interface methods".
I am using :
Blackberry JDE 4.3.0.
So, Pls tell me, what is the reson of above I/O error, and what navigation method i should use for BB 8300.
07-26-2008 10:03 AM
Use the navigaton methods. The Trackwheel methods should only be used if you are supporting older devices/OS.
Not sure about your specific error, but I don't think you should be compiling on 4.3 and running on a 4.2 simulator.
07-26-2008 01:15 PM - edited 07-26-2008 01:22 PM
The data section of a cod file contains strings and such. You are getting that error because your project has too many strings or large xml files. You can limit the strings by converting any duplicates into static constants. Another suggestion to this problem was to move some strings to a seperate java class (although I don't remember if that helped any). If all else fails, you may need to make a second project that the main project depends on.
To shrink the size of xml files you can opt to gzip them. When you read them in just use a GZIPInputStream.
If you are able to perform a search using regex, you can use the following to search for strings: