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;

 

Back to List »

Visit our store

Top rated! I needed a solid database application development tool for mobile devices. I chose DroidDB for Android OS because it provided a way to get a strong product to market quickly. DroidDB is relational, gives me control over form layout, handles macros, and supports events. It works on all Android versions I have tried and is a great companion product to SYWARE’s VisualCE.

Mark Read, President
SyntegraTech, Inc.

signup for our newsletter