[android-developers] Access intent filter action directly from AndroidManifest
Hi,
I'm trying to start a service from an activity using the intent
action specified in the Android Manifest.
As of now, i have to hard code the intent action while creating the
intent,
Intent serviceIntent = new Intent();
serviceIntent.setAction("com.android.blah");
This works fine but the problem is that the intent is hard coded,
is there any way to read the intent from the manifest (which is in the
same project)?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home