×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    8

    Internal GPS receiver in Nokia N82

    Hello all,
    could anyone please tel me how to control the GPS receiver integrated in the Nokia N82? I just want to read the position info and display it. Thanks!
    Robin24

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Internal GPS receiver in Nokia N82

    Hi robin24 and welcome to the Python Discussion Board.

    A simple example of what you want would be like this:
    Code:
    import positioning
    
    print positioning.position()
    Note that you have to have a Script Shell signed with the Location capability.

  3. #3
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: Internal GPS receiver in Nokia N82

    Quote Originally Posted by robin24 View Post
    Hello all,
    could anyone please tel me how to control the GPS receiver integrated in the Nokia N82? I just want to read the position info and display it. Thanks!
    Robin24
    Hi Robin24 and welcome to the Python Discussion Boards !

    This post could be helpful to you.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: Internal GPS receiver in Nokia N82

    Hi all,
    first, thanks for the nice welcome Croozeus! :-)
    Well, I tried the positioning.modules() command, however I get a permission denied error :-( So where can I get a shell with GPS capabilities? Thanks!
    Robin24

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Internal GPS receiver in Nokia N82

    Quote Originally Posted by robin24 View Post
    Hi all,
    first, thanks for the nice welcome Croozeus! :-)
    Well, I tried the positioning.modules() command, however I get a permission denied error :-( So where can I get a shell with GPS capabilities? Thanks!
    Robin24
    In order to sign the Script Shell, do the following:
    1)Download "PythonScriptShell_1_4_3_3rdEd_unsigned_testrange.sis" from here
    2)Go to http://www.symbiansigned.com, select the "Open Signed Online" method
    3)Enter your email address, the phone's IMEI (*#06# in standby) and the application you wish to submit.
    4)Select all the capabilities from the list there (even if you don't need them all, it never hurts to have them)
    5)Enter the security code and agree with the "Legal agreement" and submit
    6)You will receive a confirmation email and then a download link

  6. #6
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: Internal GPS receiver in Nokia N82

    Hi,
    thanks for the info. Unfortunately, there's no way I can do the signing process since I'm blind (using Talks as the screen reader on my phone). Well, would you mind doing the signing process for me? I'd really apreciate it. My Mail address is webmaster[at]robin-kipp.de, the IMEI number of my phone is 358082012741753 Thanks a lot!
    Robin24

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Internal GPS receiver in Nokia N82

    OK, I've sent the signed Script Shell to you via email.

  8. #8
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: Internal GPS receiver in Nokia N82

    Thanks!!! That's really nice, now it works! Great! Thanks again!
    Robin24

  9. #9
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: Internal GPS receiver in Nokia N82

    Hi again,
    just wondering, why doesn't the following code work when I run it as a script under Python Shell -> run script but works when I type it in the interactive shell?
    Code:
    import positioning
    mod = positioning.default_module()
    print "GPS default module:"
    print mod
    print "More info about default module:"
    print positioning.module_info(mod)
    I get the "GPS default module" message and the ID, but then it stops. I don't even get the "info" message. What's wrong here? Thanks!
    Robin

Similar Threads

  1. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •