×

Discussion Board

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

    Problems to Stop the GPS, using the J2ME location API

    Hi,
    I´m using location api with a N73 phone using a Bluetoot GPS.

    I have already tried to get the location using a LocationListener and the getLocation method without problems.

    When I get the position, I want to STOP the GPS for save the phone battery, and my problems start here.

    I have used this lines of code, and I have read all the javadoc documentation already.

    locationProv.setLocationListener(null,-1,-1,-1);
    locationProv.reset();

    In the forum I have found this thread talking about this problem:

    http://discussion.forum.nokia.com/fo...d.php?t=124336

    And we have this on the wiki:

    http://wiki.forum.nokia.com/index.ph...d_battery_life


    It´s really imposible Stop the GPS? Someone have found something new?

    Thanks in advance

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Problems to Stop the GPS, using the J2ME location API

    Hi juanma@elrincondeajax.com! Welcome to Nokia Developer Discussion Boards!!

    As you mentioned there exists a Known issue in this regard, and I have not heard of any updates in this so far.

    I have never tried with N73, but did you try to use proper criteria while selecting the provider.

    Set the power consumption to low(POWER_USAGE_LOW) while defining the criteria and use this criteria while getting the provider instance. This will reduce the power consumption.

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    4

    Re: Problems to Stop the GPS, using the J2ME location API

    Thanks balagopalks, this will help a little.

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    4

    Re: Problems to Stop the GPS, using the J2ME location API

    The POWER_USAGE_LOW in my N73 phone don´t work well, the phone can´t connect to the GPS, resulting in a blockade .

Similar Threads

  1. write an own j2me api?
    By Rozik in forum Mobile Java General
    Replies: 7
    Last Post: 2007-12-07, 14:11
  2. Location API JSR 179
    By scarasimon in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2007-11-15, 18:13
  3. ICE Technology released iPush J2ME Package for MIDP 2.0 API
    By rockw99 in forum News, Announcements and Job Listings
    Replies: 0
    Last Post: 2006-06-22, 10:21
  4. Location API panics
    By Kimple in forum Symbian C++
    Replies: 1
    Last Post: 2005-12-21, 14:21
  5. did Nokia series was supports the Location API
    By lakshmanraob in forum Mobile Java General
    Replies: 5
    Last Post: 2005-11-16, 04:37

Posting Permissions

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