Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009

    Location Issue In Nokia C-03 and S40

    Hi All,
    I am developing LBS in Nokia C-3 using JSR 179, problem is that when i call location method, phone is searching for a bluetooth gps device, which i dont have so i end up not getting any location.
    So i want to know , is there any way i can get the location from jsr 179 on Nokia s40 phone or C3 without invoking the bluetooth GPS? Here is my sample code:

    Criteria crit = new Criteria();
    LocationProvider p = LocationProvider.getInstance(crit);
    if (p.getState() == LocationProvider.AVAILABLE) {
    Location l = p.getLocation(25);
    Coordinates c = l.getQualifiedCoordinates();
    if (c != null) {
    lat = Double.toString(c.getLatitude());
    lon = Double.toString(c.getLongitude());
    lat = setCoordinatelength(lat);
    lon = setCoordinatelength(lon);
    notFoundCount = 0;
    Logger.log("Location found " + lat + ", " + lon);
    return true;
    } else {
    system.out.println("Location Not Found");
    return false;

  2. #2
    Registered User
    Join Date
    Apr 2009

    Re: Location Issue In Nokia C-03 and S40

    Hi, anybody has any solution for the problem written in post below. please explain how to avoid such issues?

  3. #3
    Super Contributor
    Join Date
    Mar 2003

    Re: Location Issue In Nokia C-03 and S40

    If the phone doesn't have a built-in GPS receiver (or it is disabled), and the network operator does not support network based positioning, then you need to use an external Bluetooth GPS receiver to get the location coordinates via JSR-179.

Similar Threads

  1. issue: network connection on Nokia S40
    By biskero in forum [Archived] Flash Lite on Nokia Devices
    Replies: 0
    Last Post: 2010-02-06, 17:33
  2. symbian signed universal test 03 issue
    By himsymbian in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2009-03-18, 17:08
  3. [moved] Http connection issue with S40 Nokia phones
    By sumit.sanchit in forum Mobile Java General
    Replies: 2
    Last Post: 2008-08-21, 11:13
  4. .location.locationListener in S40
    By yodarks in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2007-12-28, 17:12
  5. 5140i v 03.34 issue
    By Tha VyRuZ in forum General Development Questions
    Replies: 0
    Last Post: 2005-09-13, 13:53

Posting Permissions

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