Re: [android-developers] Access intent filter action directly from AndroidManifest
On Thu, May 24, 2012 at 7:27 PM, Ubuntu guy <sam_cit@yahoo.co.in> wrote:
I'm trying to start a service from an activity using the intent action specified in the Android Manifest.
That's not what that's for. The intent information in the manifest is for the system to find components that match a given intent.
Instead of hard-coding your action, just use a standard, pre-defined one. Or create a constant for yours if it is a custom action.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
--
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