Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User robin24's Avatar
    Join Date
    May 2008
    Posts
    8
    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 bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    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 croozeus's Avatar
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,636
    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 robin24's Avatar
    Join Date
    May 2008
    Posts
    8
    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 bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    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 robin24's Avatar
    Join Date
    May 2008
    Posts
    8
    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 bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    OK, I've sent the signed Script Shell to you via email.

  8. #8
    Registered User robin24's Avatar
    Join Date
    May 2008
    Posts
    8
    Thanks!!! That's really nice, now it works! Great! Thanks again!
    Robin24

  9. #9
    Registered User robin24's Avatar
    Join Date
    May 2008
    Posts
    8
    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
  2. Nokia PC Connectivity能否链接到cdma手机上发送短信和其他操作?
    By bborn in forum Web Technologies and Multimedia Content- Web 技术和多媒体内容
    Replies: 2
    Last Post: 2004-05-04, 11:06

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