Thanks Mark.
Can you give an example for launching the Youtube app from within my
app? I have tried startActivity() to open up Gallery this way:
Intent intent2 = new Intent();
intent2.setClassName("com.android.camera",
"com.android.camera.GalleryPicker");
intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent2)
Couldn't understand how to do it with other apps.
Thanks,
Abhi
On Sep 18, 8:09 am, Mark Murphy <[email protected]> wrote:
> Abhi wrote:
> > I am making an app which when running may need to open another app
> > thats installed on my phone. The other app(s) are the ones not
> > developed by me and I would only like to launch these apps if/when
> > needed.
>
> > Any help around making this work will be appreciated.
>
> Call startActivity() to open up whatever activity you want from the
> other app(s).
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android 1.5 Programming Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---