Although the documentation has lots about using an app to launch an app via
an intent, what seems to be left out is that the launched app must have a
type of permission to be
launched " <category android:name="android.intent.category.DEFAULT" />"
There are probably other ways to do this as well. The code that worked
for me is below.
<application
.......
<activity
android:name=".launchedAPPname"
android:label="@string/app_name" >
<intent-filter>
<action
android:name="com.thenewboston.travis.LAUNCHEDAPPNAME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
As usual the use of capitals and not using capitals is completely arbitrary
but the code contains what worked for me
Best, Tom B
On Monday, May 28, 2012 1:50:16 AM UTC-4, sourabh wrote:
>
> Dear All,
>
> How to launch an app programmatically. For example I want to launch an
> skype app on a click of button through my app.
>
> Thanks in advance.
>
> Sourabh
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en