Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 57
Registered: ‎04-07-2009
My Device: 8300
Accepted Solution

GPS Demo

GPS Demo project provided with JDE;

 

- Is there any analysis or discussion about this, so that I can understand clearly how the code works?

- How to test this in simulator?

Highlighted
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: GPS Demo

[ Edited ]

Check this Developer Doc.

 

http://na.blackberry.com/eng/deliverables/8105/BlackBerry_Java_Development_Environment-4.7.0-US.pdf

 

 

In your Simulator, Select Simulate -> GPS Location.

 

 

Message Edited by BBDeveloper on 13-07-2009 11:21 AM

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Re: GPS Demo

Thanks, But after Exicuting this line

_locationProvider = LocationProvider.getInstance(null);

 

I got _locationProvider == null, how to resolve this problem?
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: GPS Demo

In you Simulator, Go to Options ->Advnaced Options -> GPS and Turn on the GPS.

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Re: GPS Demo

[ Edited ]

In Options ->Advnaced Options ->, I don't find GPS.

 

I am using simulator 4.2.2.114

Message Edited by arif on 07-13-2009 02:46 AM
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: GPS Demo

Use any of the Latest Simulator.

 

Which Simulator you are trying on? 


Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Re: GPS Demo

4.2.2.114
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: GPS Demo

[ Edited ]
Not JDE.  Simulator. Is it 8800 or 8300.
Message Edited by BBDeveloper on 13-07-2009 12:36 PM

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Re: GPS Demo

8300
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: GPS Demo

[ Edited ]

Can you try with 8800?

 

 

Message Edited by BBDeveloper on 13-07-2009 12:52 PM

Use Search. "Accept Solution" If the problem is resolved.