Are you writing this for a rooted device or for a custom build of Android? On Tue, Apr 28, 2015, 7:10 AM Rashmi <[email protected]> wrote:
> Hi, > I have added MyService in android/framework/base/services/ space and > registered that service in AndroidManifest.xml > of android/frameworks/base/core/res/. Calling startService() of MyService, > from test application is working fine with implicit intent. But explicit is > not working with warning message "Unable to start service". > > I have used > package name - "com.android.server" > class name - "com.android.server.MyService" > flag - android:exported="true" > > Please let me know how do we use explicit intent with framework service. > > Thank you > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

