×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    21

    cell id not getting in sis using python

    Hi experts,

    i have written a code to retrieve cell id for nokia n82.

    my code is as follows

    Code:
    import location
    import appuifw
    a = location.gsm_location()
    word = appuifw.note(u"cellid is :" + str(a))
    saved this as cellid.py

    i copy this file to device (E:/Python), and i used python to open this file(which is signed from opensymbian), i am getting the cell id. its correct. (cellid is: (404,86,50004,17281))

    Then i made this py a sis file, using ensymble.

    After installing in the device, The result showing is "cellid is:None". I signed my application from opensigned with all capabilities, still the result is same.

    Did i go wrong somewhere?

    Please help,
    Thanks in advance,
    Rabeeh

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

    Re: cell id not getting in sis using python

    Did you specify the capabilities when making the SIS with Ensymble?

    --caps=Location+...

    They have to be specified when making the SIS and when signing it in order to work.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    21

    Re: cell id not getting in sis using python

    Quote Originally Posted by bogdan.galiceanu View Post
    Did you specify the capabilities when making the SIS with Ensymble?

    --caps=Location+...

    They have to be specified when making the SIS and when signing it in order to work.
    Thanks bogdan.galiceanu,

    As usual you solved my problem again.

    Regards,
    Rabeeh

Similar Threads

  1. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39
  2. New to Python for S60 (PyS60)? Read this first!
    By croozeus in forum Nokia N9
    Replies: 2
    Last Post: 2008-10-17, 19:23
  3. how to compile python scrips to sis ??
    By anhtrue in forum Symbian
    Replies: 1
    Last Post: 2007-12-16, 10:04
  4. Inter link Python File package into SIS
    By cashgoh in forum Symbian
    Replies: 13
    Last Post: 2007-01-16, 08:53
  5. Package Python into SIS
    By cashgoh in forum Symbian
    Replies: 3
    Last Post: 2006-12-21, 18:52

Posting Permissions

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