12-04-2012 05:26 PM
12-04-2012 06:34 PM
Ok I did open log...and this is what I see:
:AppManager: foreground is requested
AppManager:foreground is set:net_rim_event_viewer_app(333)
a UI: GS-D 556cf0a9
Please can u tell what does it mean ? I'm sorry but i'm new in Backberry and java programming
12-05-2012 02:21 AM
It would be easier to assist if you added a code snippet of the initilization of your app. Maybe there is something that you're missing.
Also, why would you compile for 4.6 to run on an OS 6 device ...
12-05-2012 04:27 AM
Before adding this code, can you confirm that this code works fine on a Simulator, preferrably a Simulator for the same device you are trying it on?
Then try debugging on device - that way you get to see the log and you get to stop your application. The process of debugging on device is described here:
If this doesn't help you, then please post your 'main' method.
12-05-2012 10:18 AM
Ok here is my Main methond and the GPSDemo called my it
public static void main(String args)
// Constructor privateGPSDemo()
// Used by waypoints, represents the time since the last waypoint._startTime = System.currentTimeMillis();
_altitudes = newfloat[GRADE_INTERVAL];
_horizontalDistances = newfloat[GRADE_INTERVAL];
_messageString = newStringBuffer();
GPSDemoScreen screen =
screen.setTitle("Extreme Gps Tracker");
_status = new EditField(Field.NON_FOCUSABLE);
// Try to start the GPS thread that listens for updates.if( startLocationUpdate() )
// If successful, start the thread that communicates with the server.
// Render our screen.