You Are Here:

Community: Developer Discussion Boards

#1 Old Internal GPS receiver in Nokia N82 - 2008-05-13, 19:50

Join Date: May 2008
Posts: 8
robin24
Offline
Registered User
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
Reply With Quote

#2 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 19:56

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
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.
Reply With Quote

#3 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 19:58

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
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
Reply With Quote

#4 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 21:01

Join Date: May 2008
Posts: 8
robin24
Offline
Registered User
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
Reply With Quote

#5 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 21:09

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
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
Reply With Quote

#6 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 21:40

Join Date: May 2008
Posts: 8
robin24
Offline
Registered User
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
Reply With Quote

#7 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 21:54

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
OK, I've sent the signed Script Shell to you via email.
Reply With Quote

#8 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-13, 22:03

Join Date: May 2008
Posts: 8
robin24
Offline
Registered User
Thanks!!! That's really nice, now it works! Great! Thanks again!
Robin24
Reply With Quote

#9 Old Re: Internal GPS receiver in Nokia N82 - 2008-05-14, 18:45

Join Date: May 2008
Posts: 8
robin24
Offline
Registered User
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
which phones for laptop dvdljns PC Suite API and PC Connectivity SDK 2 2006-02-14 13:58
Nokia PC Connectivity能否链接到cdma手机上发送短信和其他操作? bborn Web Technologies and Multimedia Content- Web 技术和多媒体内容 2 2004-05-04 12:06

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia