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

Hi,

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">
</activity>

and in test1.java 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.

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

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 24 guests