×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    9

    read Cell ID use python run on MWS

    Hi

    Actually for a project i need to read the GSM Cell ID and add it to a HTML page. The problem is that location.gsm_location() returns NONE when the python script runs on the server. I wrote same script and ran it via signed Python Script Shell and worked well (shell is signed my my IMEI).

    Can anybody guide me how I can give permission to MWV to have location capabilities? I could not find any unsigned MWV .

    Thnx in advance
    Ali

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

    Re: read Cell ID use python run on MWS

    Quote Originally Posted by alireza.sahami View Post
    Hi

    Actually for a project i need to read the GSM Cell ID and add it to a HTML page. The problem is that location.gsm_location() returns NONE when the python script runs on the server. I wrote same script and ran it via signed Python Script Shell and worked well (shell is signed my my IMEI).

    Can anybody guide me how I can give permission to MWV to have location capabilities? I could not find any unsigned MWV .

    Thnx in advance
    Ali
    Hi Ali
    welcome to the forum nokia discussion boards.
    i dont know much abt Mobile web Server but have a look at this link it may help you a bit.

    Regards
    Gaba88

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    457

    Re: read Cell ID use python run on MWS

    Quote Originally Posted by alireza.sahami View Post
    I wrote same script and ran it via signed Python Script Shell and worked well (shell is signed my my IMEI).
    Yes, the GSM location requires the ReadDeviceData capability, which the Apache of MWS lacks.

    Can anybody guide me how I can give permission to MWV to have location capabilities? I could not find any unsigned MWV .
    If you have access to the S60 development environment and the RVCT compiler, you can take the Apache source from SourceForge, build it with the capabilities of your choise and replace the Apache of MWS with the one you have built yourself.

    Please let me know if this is an option for you and I can provide more detailed instructions.

    Johan

  4. #4
    Registered User
    Join Date
    Jul 2008
    Posts
    9

    Re: read Cell ID use python run on MWS

    Quote Originally Posted by jhnwkmn View Post
    Yes, the GSM location requires the ReadDeviceData capability, which the Apache of MWS lacks.


    If you have access to the S60 development environment and the RVCT compiler, you can take the Apache source from SourceForge, build it with the capabilities of your choise and replace the Apache of MWS with the one you have built yourself.

    Please let me know if this is an option for you and I can provide more detailed instructions.

    Johan
    would be great if you can guide me how i can do that

    Ali

Similar Threads

  1. Python for S60.Read it once
    By jalpesh_patel17 in forum Symbian
    Replies: 0
    Last Post: 2008-09-08, 05:45
  2. Replies: 3
    Last Post: 2008-02-09, 13:05
  3. Replies: 0
    Last Post: 2008-01-12, 07:46
  4. Run Python script
    By djoumbou in forum Symbian
    Replies: 3
    Last Post: 2005-04-01, 14:32
  5. Does the python run on 6610i phone ?
    By christov2 in forum Symbian
    Replies: 1
    Last Post: 2005-02-07, 13:06

Posting Permissions

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