×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    18

    how to run thread of location

    i want my application to run location thread which update location data in database on regular interval behind my application, continuously till application is on.
    means my app may do some work else on front but still the updation of location data to be continuous.
    Is there any way to do so ?????
    tell me ...
    thank u...

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: how to run thread of location

    you should indeed first make a decision on which technology you will use, and then ask under the selected technology area section in this discussion board. The actual implementation differs greatly with different implementation technologies.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Posts
    18

    Re: how to run thread of location

    Quote Originally Posted by symbianyucca View Post
    you should indeed first make a decision on which technology you will use, and then ask under the selected technology area section in this discussion board. The actual implementation differs greatly with different implementation technologies.
    i want to use j2me for this app development...
    sorry for providing less info.

  4. #4
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: how to run thread of location

    Hi there,

    I fully agree with symbianyucca on this. Please let us know what technology you would like to use for your application, as you already had given a good description of what you would like the application to actually do.

    You can just reply to this thread if you like, it is fully ok.

    When we know that, then we can point you from here to the appropriate direction for examples and tools.

    Best Regards,
    Marko
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  5. #5
    Registered User
    Join Date
    Sep 2011
    Posts
    18

    Re: how to run thread of location

    Quote Originally Posted by Maveric View Post
    Hi there,

    I fully agree with symbianyucca on this. Please let us know what technology you would like to use for your application, as you already had given a good description of what you would like the application to actually do.

    You can just reply to this thread if you like, it is fully ok.

    When we know that, then we can point you from here to the appropriate direction for examples and tools.

    Best Regards,
    Marko
    i m using j2me for programming and jsr179 for location tracking
    help me as early as possible i m in great need thank you

  6. #6
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: how to run thread of location

    Hi siddhesh304,

    There are two ways in Java ME to listen for location updates. One is by using the LocationListener (GPS based only) and the other is by making repeated calls to the getLocation method (both GPS and Cell-ID/Network based). This article describes in detail each method and includes complete examples (both code and executables) for each method.

    You can find more about Location Services in Java from the Developer's Library as follows:

    Java Developer's Library 3.13 > Developer's guides > Location services

    Also make sure that you check the Java Documentation for the Location API (JSR-179),

    for GPS-enabled devices:
    Java Developer's Library 3.13 > Javadocs > (JSR-179) Location API 1.0.1

    for Cell-ID-location-enabled devices:
    Java Developer's Library 3.13 > Javadocs > (JSR-179) Location API Appendix

Similar Threads

  1. Thread attemp get location FAIL ?
    By cuijartija in forum Symbian
    Replies: 2
    Last Post: 2011-11-28, 03:25
  2. LocationListener Interface OR loop with Thread.sleep for updating device location?
    By roryoflynn1@gmail.com in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2010-07-28, 12:43
  3. Post-install package (javax.microedition.location.Location)
    By null99 in forum Mobile Java General
    Replies: 8
    Last Post: 2010-06-22, 04:54
  4. [HELP] Problem with snapshot & location service thread
    By sleep1ng_b0yz in forum Mobile Web Server
    Replies: 0
    Last Post: 2010-03-26, 03:48
  5. need assistance - error starting Location Thread
    By d-safety in forum Mobile Java General
    Replies: 4
    Last Post: 2009-06-14, 11:34

Posting Permissions

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