Launching an Activity Belonging to Another Application

Initially, your application might be starting only Activities defined within its own package. However, with the appropriate permissions, applications might also launch external Activities within other applications. For example, a Customer Relationship Management (CRM) application might launch the Contacts application to browse the Contact database, choose a specific contact, and return that Contact's unique identifier to the CRM application for use.

Here is an example of how to create a simple Intent with a predefined Action (action_dial) to launch the Phone Dialer with a specific phone number to dial in the form of a simple Uri object:

Uri number = Uri.parse(tel:5555551212);

Intent dial = new Intent(Intent.ACTION_DIAL, number);


You can find a list of commonly used Google application Intents at Also available is the developer managed Registry of Intents protocols at OpenIntents, found at intentstable, which has a growing list of Intents available from third-party applications and those within the Android SDK.

Was this article helpful?

0 0
Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook

Post a comment