Discussion Board

Results 1 to 10 of 10

Thread: Type problem?

Threaded View

  1. #1
    Registered User
    Join Date
    Mar 2009

    Type problem?


    I am pretty new to developing to S60 in Python, and I have a strange problem with positioning. For latitude I get 55..87698742437 (with two dots), I think is should have been 55.687698742437, longitude is ok. I use pys60 1.9, a Nokia 6210 and my code looks like

    from sensor import *
    import e32, positioning
    def cb(event): 
        print "-------------------------" 
        print event 
        print "-------------------------" 
    if __name__ == '__main__':
        positioning.set_requestors([{"type":"service", "format":"application", "data":"test_app"}])
        print "***starts the position feed***" 
        positioning.position(course=1,satellites=1, callback=cb, interval=500000, partial=0)
    As you can see it look pretty much as the example from the pys60 documentation, so I don't know what the problem is. The Nokia navigator software works like a charm, so the GPS unit should work.

    Do anyone have an idea what the problem could be. I looks something like some type casting thing or ?
    Last edited by innovated; 2009-04-09 at 17:08.

Similar Threads

  1. Data Type problem Very Basic
    By moja_a in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-03-18, 17:11
  2. Problem MMC+USB Connection
    By Fede81 in forum Symbian
    Replies: 1
    Last Post: 2007-06-14, 06:13
  3. SIP content type
    By hlothman in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-05-17, 09:26
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  5. Problem with Nokia D211 Linux Drivers
    By fiveam in forum Multimodecards
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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