DroidDB Tip of the Month
DroidDB® Tip for April 2014
Launching Your Android App from DroidDB
If you are a professional programmer, you may want your DroidDB application to launch an Android application you wrote using Eclipse and the Android SDK. It's actually very easy to do this.
In your DroidDB application create a macro with a RUN EXTERNAL step (or button). Use the name of the package as the "Command" (the name of the package is specified in the manifest of your Android app, for example: com.yourDomain.yourApp). Put the parameter value in a variable and specify that variable as the "Arg".
In your Android app:Bundle bundle;
String parameter;
bundle = getIntent().getExtras();
if (bundle != null)
parameter = bundle.getString("parameter");
else
parameter = null;