de.monarchy.guideme.main
Class RoutingActivity
java.lang.Object
Activity
de.monarchy.guideme.main.RoutingActivity
- All Implemented Interfaces:
- GeoCodingListener
public class RoutingActivity
- extends Activity
- implements GeoCodingListener
RoutingActivity is responsible for giving the user an opportunity to define a
new target for routing. This can either be done by clicking on a map or by
searching for a location.
- Author:
- dstuerze
Method Summary |
void |
onCreate(Bundle savedInstanceState)
|
void |
onError(int code)
This method is called if an error occured while finding geocoded places. |
void |
onPause()
|
void |
onPlacesFound(java.lang.String search,
PointOfInterest... places)
Delivers an array of places which fit a certain criteria around a specified
position. |
void |
onResume()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoutingActivity
public RoutingActivity()
onCreate
public void onCreate(Bundle savedInstanceState)
onResume
public void onResume()
onPause
public void onPause()
onPlacesFound
public void onPlacesFound(java.lang.String search,
PointOfInterest... places)
- Description copied from interface:
GeoCodingListener
- Delivers an array of places which fit a certain criteria around a specified
position.
- Specified by:
onPlacesFound
in interface GeoCodingListener
- Parameters:
search
- the search stringplaces
- array of possible matches for the search
onError
public void onError(int code)
- Description copied from interface:
GeoCodingListener
- This method is called if an error occured while finding geocoded places.
- Specified by:
onError
in interface GeoCodingListener
- Parameters:
code
- a constant value from GeoCodingComponent indicating the type of
error