public class RouteCreationDialog
extends android.content.BroadcastReceiver
implements android.view.View.OnClickListener
Constructor and Description |
---|
RouteCreationDialog(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
static android.app.AlertDialog.Builder |
getDetailsDialog(Route route,
android.content.Context context,
boolean creation)
Returns a dialog builder that contains a dialog to modify the route's basic details
(driving/walking, infil/exfil, primary/secondary)
|
void |
onClick(android.view.View v) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
show() |
void |
show(boolean manual)
Prompts the user to create a new route, then goes into edit mode
|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public RouteCreationDialog(MapView mapView)
public void show(boolean manual)
manual
- True for manual creation mode
False to prompt user for address routingpublic void show()
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public static android.app.AlertDialog.Builder getDetailsDialog(Route route, android.content.Context context, boolean creation)
route
- The route to editcontext
- MapView contextcreation
- boolean indicating if the route is being created or not