KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > microedition > location > LocationProvider

javax.microedition.location
Class LocationProvider

java.lang.Object
  extended byjavax.microedition.location.LocationProvider

public static void addProximityListener(ProximityListener listener,
                                        Coordinates coordinates,
                                        float proximityRadius)
                                 throws LocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int AVAILABLE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static LocationProvider getInstance(Criteria criteria)
                                    throws LocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1368]How to convert Longitude and latitude to Co-ordinate??
By mailxrush { at } yahoo { dot } com on 2005/03/31 14:48:46  Rate
Hi 
  
  
 I am Currently working on Car navigation Project So i want to convert Longitude and latitude to Co-ordinates So will u help me on this topic how to use this method and where i find this class libary so i will include it in my applixcation 
  
  
  
       Thanking you  
  
  
  
         Ashvin Guna


public static Location getLastKnownLocation()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[2001]
By Anonymous on 2009/09/28 00:32:05  Rate
import javax.microedition.location.Coordinates; 
 import javax.microedition.location.Location; 
 import javax.microedition.location.LocationException; 
 import javax.microedition.location.LocationProvider; 
  
  
 


public abstract Location getLocation(int timeout)
                              throws LocationException,
                                     java.lang.InterruptedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract int getState()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected LocationProvider()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int OUT_OF_SERVICE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void removeProximityListener(ProximityListener listener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void reset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void setLocationListener(LocationListener listener,
                                         int interval,
                                         int timeout,
                                         int maxAge)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TEMPORARILY_UNAVAILABLE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags