Show about dialog

org.openintents.action.SHOW_ABOUT_DIALOG

Show an about dialog to display information about your application.

By default the information is retrieved from the Manifest of your application (both from the manifest tag as from metadata tags). Metadata keys are specified in (as constants) in org.openintents.metadata.AboutMetaData. Optionally send along extras with information to display (overriding the metadata). Intent extra keys are specified (as constants) in org.openintents.intents.AboutIntents.

From your “about” menu option you start an activity with this specific intent action:

Intent intent = new Intent("org.openintents.action.SHOW_ABOUT_DIALOG");
startActivityForResult(intent, 0);

The activity needs to be launched “forResult” with requestCode>=0 so that the package name is passed properly. Optionally, one can set the intent extra org.openintents.extra.PACKAGE_NAME.

Original use is with OI About: See OI About for usage information for this intent. An OI TestAboutApp demonstrating this is also available.

Use

public void startShowAboutDialog() {
    Intent intent = new Intent("org.openintents.action.SHOW_ABOUT_DIALOG"); 
    if (intent.resolveActivity(getPackageManager()) != null) { 
      startActivityForResult(intent, REQUEST_CODE);
    }
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { 
      // handle result
    }
}

Example intent filter

<activity ...>
    <intent-filter>
        <action android:name="org.openintents.action.SHOW_ABOUT_DIALOG" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>
            

Apps Providing an Implementation

Search on Github

Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)

For Specification Writers

Edit on Github