×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Smile Location Capability - N95 GPS location update on Google Maps

    Hi,

    I recently dived into the GPS capabilities of the N95 8Gb familiarized myself with Symbian & Python, but still learning.

    I'm trying to update a Google Map on a Drupal website while travelling around with a N95. For this I'm testing a recent Drupal module, called Whereis.

    The Drupal Whereis module interfaces with a Symbian Python script client and receives GPS updates through the Drupal xmlrpc.php interface.

    Now the N95 runs Symbian/S60 V30.0.018. and has Python 1.9.6. installed with Python shell 1.9.4_3rdEd

    When i run the Whereis.py script i get a permission denied from Symbian. As far as i understand it now, Location Capability is required to grant Whereis.py access to the GPS coordinates. Current capabilities are listed in the shell:
    - NetworkServices
    - LocalServiceas
    - ReadUSerData
    - WriteUserData
    - UserEnvironment

    My question: What's the shortest route to get Location Capability for this Python app. I can't upgrade Symbian to the latest version on the short term.

    I understood that more recent Python variants have Location Capability onboard without signing, however assume Symbian V32. Unfortunately i can't upgrade now, so i'm looking for alternatives to
    get Location Capability set for the Python app. I'm sort of lost in the woods where to start.

    Any help is appreciated
    Thx
    Arno

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Location Capability - N95 GPS location update on Google Maps

    hello laptopnomad

    welcome to forum nokia Python dibo.

    If i get your question properly then you just need to sign your PyS60 scriptshell at symbian signed online which will give the required capability to your script.

    Try that and do let us know if you face any of the problem.

    Enjoy Pythoning

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Re: Location Capability - N95 GPS location update on Google Maps

    Hi Gargi Das,

    Thx for your help - i tried to sign the PyS60 scriptshell online (PythonScriptShell_1.9.4_3rdEd.sis)after registering. Unfortunatly the Psy60 shell has an UID which can't be signed by me.

    I could try other Psy shells, however i dont want to overload the symbian signed online service with frantic sign attempts.

    Any last resorts to run the whereis.py in a scriptshell requiring Location Capability?

    Thx anyways!

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Location Capability - N95 GPS location update on Google Maps

    Try to sign the version of the scriptshell that has unsigned_devcert in the file name.

  5. #5
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Question Re: Location Capability - N95 GPS location update on Google Maps

    Thx - i managed to get a signed version PythonScriptShell_1.9.7_unsigned_devcert.sis
    through the symbian signed online procedure.

    A quick test to install it with Nokia PC suite bumped into an error i can't comprehend.

    It says on the N95 screen (in this exact format) after having confirmed to install a
    development version of the PyS60 script shell

    =========================================
    Unable to install.
    Phyton runtime,
    version 1.09... or newer is
    required.
    =========================================

    What is meant by "1.09..." with the 3 dots?

    Am i looking at a typo in the warning or is there another version
    numbering involved i'm not aware of?

    The Nokia N95 - 8Gb runs Python 1.9.6 svn3574 as is reported
    by PyS60 script shell 1.9.4_3rdEd (which is still installed)

    Should i upgrade to Python 1.9.7? (doesn't have a .sis file)

    Thx for the help again!

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Location Capability - N95 GPS location update on Google Maps

    hello laptopnomad

    i will recommend you to upgrade your self first to PyS60 1.9.7 though it is also not stable.

    If you can check the latest version and let us know if you are facing the same problem in that or not.

    Regards,

  7. #7
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Thumbs up Re: Location Capability - N95 GPS location update on Google Maps

    Installed Python 1.9.7 and forementioned online signed scriptshell.
    Capability Location is now there (among others)

    Thx for the help - testing Whereis.py starts now.

  8. #8
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Location Capability - N95 GPS location update on Google Maps

    Quote Originally Posted by LaptopNomad View Post
    Installed Python 1.9.7 and forementioned online signed scriptshell.
    Capability Location is now there (among others)

    Thx for the help - testing Whereis.py starts now.
    Hello Laptopnomad

    Great that you get you PyS60 testing environment ready.

    Enjoy Pythoning

    Regards,

  9. #9
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Thumbs up Re: Location Capability - N95 GPS location update on Google Maps

    The Drupal CMS module Whereis.py is working with
    Python 1.9.7 Runtime and online signed 1.9.7 scriptshell
    with Symbian/S60 V30.0.018 on a Nokia N95 8 Gb.

    No need to upgrade Symbian/S60 to V32 where location
    capability is implemented less strict.

    Thanks for the help once again,

    Thx
    Arno

Similar Threads

  1. Google Maps on S60 with Location API
    By joy.mca in forum Symbian
    Replies: 11
    Last Post: 2010-05-13, 17:25
  2. Avoiding the Location capability
    By storsjo in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 14
    Last Post: 2009-05-28, 23:19
  3. N95 GPS with Python
    By krtrivdi in forum Symbian
    Replies: 1
    Last Post: 2007-07-30, 19:59
  4. GPS on cell phones, mapping & aGPS capability
    By gepp11 in forum Mobile Java General
    Replies: 6
    Last Post: 2007-04-16, 20:48
  5. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08

Posting Permissions

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