×

Discussion Board

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

    location API does not work

    Hi List,
    I have problem in using location API.when i try to use bellow code
    (mcc, mnc, lac, cellId) = location.gsm_location()
    I get following result
    cellId = 118041508 lac = 18007 mnc = 76 mcc = 404

    It does not seem to be a vallid cell ID because cell id should be 5 digit for me.Can some one figure out if i messed up some thing.

    I m using Nokia 5800
    Python 1.9.7 svn 3733 in my mobile.

    Br
    Tulip

  2. #2
    Registered User
    Join Date
    Dec 2009
    Posts
    10

    Re: location API does not work

    On my 5800 location.gsm_location() returns None. By the way: why are you so sure about what your cellid should look like?

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

    Re: location API does not work

    Quote Originally Posted by kwin View Post
    On my 5800 location.gsm_location() returns None. By the way: why are you so sure about what your cellid should look like?
    hello kwin

    if your 5800 retuens none for cellid and other location information then make sure that you have a script shell will required capabilities.

  4. #4
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    285

    Re: location API does not work

    Quote Originally Posted by kwin View Post
    On my 5800 location.gsm_location() returns None. By the way: why are you so sure about what your cellid should look like?
    As gaba88 said, you don't seem to have the correct capabilities set.

    Download "PythonScriptShell_1_4_5_3rdEd_unsigned_testrange.SIS" or "Python_Script_Shell_high_capac" and get it signed at Symbian Signed.

    The location.gsm_location() call should now give you the correct details (output).

  5. #5
    Registered User
    Join Date
    Apr 2005
    Location
    Robin Hood County
    Posts
    22

    Re: location API does not work

    Quote Originally Posted by tulipneo View Post
    cellId = 118041508 lac = 18007 mnc = 76 mcc = 404

    It does not seem to be a vallid cell ID because cell id should be 5 digit for me.
    Hi Tulip,

    I don't think you have a problem. I remember 5 digit cellids from 2.5G network times, but got longer cellids when using a 3G network sim card for testing. To me it looks like you are on a 3G network in India. Is that plausible?

    Cheers

Similar Threads

  1. Location API keeps Accessing 3G network
    By weiru85 in forum Mobile Java General
    Replies: 6
    Last Post: 2008-10-14, 08:38
  2. S60 API Partnering Program
    By Nokia Ron in forum News and Announcements
    Replies: 9
    Last Post: 2008-04-16, 18:28
  3. Location API security limitations?
    By jkirma in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-05-29, 06:10
  4. Location API panics
    By Kimple in forum Symbian
    Replies: 1
    Last Post: 2005-12-21, 14:21
  5. How to get Nokia UI API to work?
    By eyvind1 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2004-09-22, 13:51

Posting Permissions

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