Launching an Application from different packages

Put your problem here if it does not fit any of the other categories.

Launching an Application from different packages

Postby padmaja » Mon Jun 16, 2008 1:51 pm


The two different android packages are created namely com.test1 and com.test2. Test1 has image display and a button in it's UI. When the button is selected i'm trying to launch the test2. Test2 displays a simple text message.

In AndroidManifest.xml, i have added
<activity android:name=".test2" android:label="Test 2">

and in on button click
startActivity(new Intent(this, test2.class));

is called. Is there any else that has to be included or imported to startactivity of the test2 application since it is in different package?

Please guide/help me in starting an application in one package to be called by another application of different package.

Once Poster
Once Poster
Posts: 1
Joined: Fri Jun 13, 2008 11:06 am


Return to Other Coding-Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 23 guests