If that application has an action asociated with it's intent, you
should use that:
Example:
Intent i = new Intent ("com.abc.INTENT_ACTION");
startActivity (i);
If it doesn't have an action, you could try to call it with the
package name and class, although I don't know if it will let you call
it directly when it isn't your code:
Intent i = new Intent ();
i.addComponent ("com.abc.packagename",
"com.abc.packagname.ClassName");
startActivity (i);
You should try to use the fisrt example if it isn't you code because
the user might have a different activity they would prefer to use, eg.
They may have a custom calendar or alarm installed they setup to use
over the one which comes with the phone.
Sincerely,
-Kitzy
On Mar 26, 3:42 am, rocky84 rocky84 <[email protected]> wrote:
> Hello all,
>
> as using the adb shell command "adb shell am start -a
> android.settings.APN_SETTINGS"
> i can call the APN settigns intent.
> if i installed a new app (say abc.apk) could anybody please let me know how
> can i call the intent
> of that particular application??
>
> my installed applicationa are stored in location /data/app-private
> thanks in advance
>
> rocky
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
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
To unsubscribe from this group, send email to
android-beginners+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.