Problem in using JSR179 API on Blacberry 8830 for Bell
Dharmendra <[email protected]>
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have an unique problem in using JSR179 api on Blackberry 8830-Bell simulator.
1. When I request for location
location = locationProvider.getLocation(-1);
I recieved an exception
"javax.microedition.location.LocationException: Timed out while waiting for GPS Location"
2. When I set the Loationlistener
locationProvider.setLocationListener(this, 5, -1, -1);
I recived the location.isValid() as false.
3. I tried also the getExtraInfo function of Location
location.getExtraInfo("text/plain");
but it returned only "Invalid location.".
I also specified the other two MIME type for this function.
location.getExtraInfo("application/X-jsr179-location-nmea");
location.getExtraInfo("application/X-jsr179-location-lif");
but these two function returns null.
----------------------------------------------------------------------------------------------
I am specifying the lat & long of Canada's city.
I tested my app on another simulator of Blackberry as well as Java ME simulator, it is working properly.
Although I havn't verfied the app on 8830 device.
Any idea???
Thanx in advance.
Regards
Dharmendra
Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.groups.yahoo.com
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".