Discussion Board

Results 1 to 6 of 6

Thread: Using the GPS

  1. #1
    Registered User brainos's Avatar
    Join Date
    Aug 2009
    Posts
    3
    Hi,
    I want to use the internal GPS of my N95 for my own app.
    I'm a beginner in programming python on S60...

    My problem is the following, when I call the function positioning.modules() I get an error:

    >>> positioning.default_module()
    Traceback (most recent call last):
    File "<console>", line 1, in ?
    File "c:\resource\positioning.py", line 77, in default_module
    return _get_pos_serv().default_module()
    SymbianError: [Errno -46] KErrPermissionDenied

    What can I do?
    I'm reading in these forum that I have to sign my app, but I havn't a sis atm. I'm only testing and want to develop .py files for running in the interactive console.

    I hope you can help.

    Thx Paul

  2. #2
    Nokia Developer Moderator croozeus's Avatar
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,635
    Quote Originally Posted by brainos View Post
    but I havn't a sis atm. I'm only testing and want to develop .py files for running in the interactive console.

    I hope you can help.

    Thx Paul
    Then your Python script shell must be signed. Doing it using Open signed online would be enough and easy!
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User brainos's Avatar
    Join Date
    Aug 2009
    Posts
    3
    That meens, I have to sign the shell I'm downloading on sourceforge?

  4. #4
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,692
    Quote Originally Posted by brainos View Post
    That meens, I have to sign the shell I'm downloading on sourceforge?
    hello brainos

    yes as croozeus has mentioned you need to sign the shell so that it gets the location capability.

    Regards
    Gaba88

  5. #5
    Nokia Developer Moderator croozeus's Avatar
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,635
    Quote Originally Posted by brainos View Post
    That meens, I have to sign the shell I'm downloading on sourceforge?
    You need to download another unsigned testrange UID script shell from sourceforge and sign it with location capability!

    Like for 1.4.5 you need to download this,
    http://sourceforge.net/projects/pys6...e.SIS/download
    Pankaj Nathani
    www.croozeus.com

  6. #6
    Registered User brainos's Avatar
    Join Date
    Aug 2009
    Posts
    3
    Thank you.

Similar Threads

  1. [split] Nokia 5800 GPS - time to first fix
    By cool7jr in forum Symbian C++
    Replies: 7
    Last Post: 2009-06-10, 15:54
  2. JSR-179API provider reset to stop GPS location activity
    By nicholso in forum Mobile Java General
    Replies: 15
    Last Post: 2009-02-06, 11:33
  3. Problems with BT GPS devices
    By eling0167 in forum Geolocation and Navigation
    Replies: 3
    Last Post: 2008-10-21, 10:20
  4. Replies: 0
    Last Post: 2008-05-12, 09:57
  5. Bluetooth GPS simulator for j2me phone
    By vgps in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-02-09, 04:30

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