×

Discussion Board

Results 1 to 3 of 3

Thread: Gps

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    33

    Gps

    I have tried to implement platform services gps and can not get it to return anything on either the n97 or n8.

    The nokia wrt viewer in aptana returns test data fine, is there something else needed to get GPS to work on a device?

    I have tried the platformservices 1 and 2 methods,

    using
    var so = device.getServiceObject("Service.Location", "ILocation");
    so.ILocation.GetLocation(criteria, callbackLocation);
    &
    var so = = nokia.device.load("geolocation");
    soP2.getCurrentPosition(callbackSO2,errorCallback,PositionOptions);

    both work in apatan nokia wrt view, both return nothing on both devices(n8 and n97).

    Any ideas what could be holding me back?

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    33

    Re: Gps

    I've had some progress...
    Testing the code on the n8 the first time I ran it I got no response from either v1 or v2 method (platformservices 1 & platformservices 2)
    I tried it a second time and v1 method returned my location but not v2
    I tried it a third time and v2 method returned but not v1

    SO it seems a bit hit and miss, but at least it is working sometimes, I will report back with more.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    33

    Re: Gps

    Ok they seem to be working alright now, When I first install the app they dont seem to run properly but after they they are firing ok. When I run both at the same time only one returns. but individually they both work.

Similar Threads

  1. Replies: 3
    Last Post: 2009-09-24, 10:34
  2. JSR 179: External Bluetooth GPS disable, internal GPS enable
    By insrla00 in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2009-09-08, 09:38
  3. Replies: 0
    Last Post: 2007-11-28, 19:29

Posting Permissions

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