Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User Tartoui's Avatar
    Join Date
    Jan 2008
    Posts
    13
    Hi,
    My name is Michael and a last year student.
    As a final year project am developing a J2ME application that uses the Location API and its implemented on Nokia phones especially N95 8GB.
    My question to you sir is,
    everytime i do a Location request from N95 device i get the "exception error : Location Request timed out"
    any idea why this is happening and how can i solve it?
    Does the application need to authenticate the sattelites before retrieving the co-ords and if so how to ..?


    Any idea or tip would be deeply appriciated.

    Thank you in advance
    Michael
    Computerize god - it's the new religion
    Program the brain - not the heartbeat

    Black Sabbath- Computer God.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Have you turned on the GPS through the phone settings?
    Does that GPS have a fix to the satellites yet?

    Hartti

  3. #3
    Registered User Tartoui's Avatar
    Join Date
    Jan 2008
    Posts
    13
    Turn on the GPS?
    Menu-Tools-Connectivity-GPS data i can track 4 sattelites at least but through my J2ME application i get the location request timed out error.

    Please advice.

    Thanks
    Michael
    Computerize god - it's the new religion
    Program the brain - not the heartbeat

    Black Sabbath- Computer God.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    So you get the location provider properly but fail to get the coordinates?

    Hartti

  5. #5
    Registered User Tartoui's Avatar
    Join Date
    Jan 2008
    Posts
    13
    Yes, fail to get the coords through my MIDlet
    Any idea of why and how to solve this matter?


    Many thx
    Michael
    Computerize god - it's the new religion
    Program the brain - not the heartbeat

    Black Sabbath- Computer God.

  6. #6
    Registered User Transcend3nt's Avatar
    Join Date
    May 2008
    Posts
    3
    Hi there, I do have the same problem too. However, I cannot even get any satelite connectivity even from Menu-Tools-Connectivity-GPS data.

  7. #7
    Registered User Tartoui's Avatar
    Join Date
    Jan 2008
    Posts
    13
    Alright i managed to do it by just coding another line such as:

    " c.setCostAllowed(true); "

    This might be the solution to my problem it might not.

    Anyway my application is up and running.

    Thx all for the help and guidance.

    Regards
    Michael
    Computerize god - it's the new religion
    Program the brain - not the heartbeat

    Black Sabbath- Computer God.

  8. #8
    Registered User lol_breaker's Avatar
    Join Date
    May 2008
    Posts
    5
    Hi, I'm a 3rd Year student at a polytechnic. I'm curently also working on a GPS application for my third year project. Before implementing my project into a N95 phone, i managed to get the coordinates and the positioning of the location through sps file/ nme file.
    But the problem is, does this mean that everytime i want to change the location i need to change the SimPSYFilename? Or i dont need any nme file once i implement it into the phone?

    Anyone can help me with this? Any help would be really appreciated as this is pretty urgent. Thanks alot

  9. #9
    Registered User lucas_ou's Avatar
    Join Date
    Jun 2008
    Posts
    5
    I have the same problem. Timeout error.
    I can't even run GPS in default tools, because it doesn't show anythings.
    Perhaps built in N95 GPS are defective?!

  10. #10
    Registered User Tartoui's Avatar
    Join Date
    Jan 2008
    Posts
    13
    Erm... keep the numpad open at a 45 degree angle to the clear sky in case you were trying to retrieve a signal from indoors.

    I dont know if GPS receiver on N95 are defective.


    Michael
    Computerize god - it's the new religion
    Program the brain - not the heartbeat

    Black Sabbath- Computer God.

  11. #11
    Registered User janko079's Avatar
    Join Date
    Jun 2008
    Posts
    2
    hi,
    i have n95 8gb, but my compass in GPS data is not working properly.

    it's upside down, instead NORTH it's showing South. i'm moving the device to the left or to the right but he is not responsing (compass) , or it is very slow. it will show north properly and for quicktime its upside down again, sometimes shows west instead north.

    also if i put navigatiot to the landmark it is showing that i should go to the opposite way.

    satellite status is OK, 4 or 5 satellits

    what can i do? help
    thanks in advance

  12. #12
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    That is not a real compass, the phone does not have such a sensor to allow detection of orientation changes.

    The application calculates the orientation after determining your position in consecutive measurements. Just start moving in some direction or another and the compass will show more accurate information.

    P.S. Since this is your first post on the forum make sure you read this.

  13. #13
    Registered User janko079's Avatar
    Join Date
    Jun 2008
    Posts
    2
    thanks Itomuta, it's working.... so simple but....
    and thanks for the link too..

  14. #14
    Can you please tell me, how you solved this problem in detail.

    All i can see on my n95 is , "Location request timed out". I would be really happy to know , what caused this error.

    Nuclear

  15. #15
    Registered User solidus121's Avatar
    Join Date
    Nov 2008
    Posts
    9
    Hi Guys,

    Dont know if this will help but i have been creating a LBS app and when you create a location provider just make sure that you set no limitations on the criteria object such as "cr.setCostAllowed(false)" as this will cause the app to work on the emulator and not on the device itself try something like this

    public void lp(){
    criteria=new Criteria();

    try{
    locationprovider = LocationProvider.getInstance(cr);
    }
    catch(LocationException le){

    }
    }
    public void sl(){
    locationprovider.setLocationListener(this, 2, -1, -1);
    }

    Hope it helps

Page 1 of 2 12 LastLast

Similar Threads

  1. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved