| Reply | « Previous Thread | Next Thread » |
|
Hello,
I have some problems with the Location-API. Is there a way to ensure that the LocationProvider is available and can provide actual coordinates? I don't now how to react on a situation when the GPS-device is available but still searching for satellites. I want to show waiting screen or anything like that. I tried several ways but had only problems. Another problem I have with Threads. I have a Midlet wih all the logic and a Java Class that extends Thread and is sleeping for a given time and then calling a function in the Midlet. When I go through the code in single step everything is fine. When I start the program normally it seems, that the Midlet-function is called only once. Has anybody an idea what could be wrong here? Thanks. Bye |
| choncha_nokia |
| View Public Profile |
| Find all posts by choncha_nokia |
|
Hello,
I still have some problems with the JRE179 on a Nokia 6210 Navigator. I want to write a program that saves the current location when the user presses a button on a Form. So I have something like a start form. From there I am going to a getLocation form and when the user presses the ok button on this form the program shall write the coordinates in the getLocation form everytime the user has pressed the ok button. In the emulator everything works fine but on the phone I have only trouble. It seems that I can't bring the phone to connect to the GPS device of the Nokia Navigator properly when I am only using the Location API. When I start my application on a fresh booted phone with no GPS connection the program is waiting for new GSP coordinates until death. I have to start the Nokia own GPS functionality Application -> GPS data and wait until GPS has found coordinates there. While the phone is searching for satellites a small light on the phone is flashing. When the phone has found a signal the light is constant. When I start my application now it works properly. But when I start it without let him find satellites over the Nokia app before then my application is not able to calculate some coordinates. The light on the phone is constant from the first second. To get the coordinates I do the following steps (as mentioned in every location tutorial): get LocaptionProvider -> getLocation -> getQualifiedCoordinates Could anybody help me with that? In my opinion I have the problem that when I use only the JSR179 and the GPS device do not have connection to satellites I can not force him to do that. Thanks for any help. |
| choncha_nokia |
| View Public Profile |
| Find all posts by choncha_nokia |
|
are u using locationlistener interface or ar u polling for a location ?
also are u using a good set of Criteria ? and as last : what have u selected on the nokia phone itself regarding what gps providers can be used ? (so bluetooth, gps, agps)... alos always try to use the search functionality, u will find loads of topics regarding ur problem, for example : http://discussion.forum.nokia.com/fo...light=location |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Location API keeps Accessing 3G network | weiru85 | Mobile Java General | 6 | 2008-10-14 09:38 |
| Problems about maemo 4.0.1 SDK installation. | fgg_maemo | General Discussion | 3 | 2008-10-07 15:26 |
| Using the Location Acquisition API in Series 60 3rd edition | gpalvia | Symbian Networking & Messaging | 7 | 2007-08-29 07:56 |
| Location Acquisition API: how to reset default module ID? | mimimi | General Symbian C++ | 2 | 2007-08-09 15:22 |
| Location API panics | Kimple | General Symbian C++ | 1 | 2005-12-21 15:21 |