Re: [android-developers] Re: starting local service class not found
Is your service a *static* inner class? -- Kostya 03.12.2010 9:38, Hendrik Greving пишет: By the way, I am getting an InstantiationException and shortly before, a NewInstance failed: no init(). When I google for it, I find a little bit about IntentService constructors and alike, I am not using IntentService though, just regular Service. - Original Message - From: Hendrik Greving fourhend...@gmail.com To: android-developers@googlegroups.com Sent: Thursday, December 02, 2010 10:18 PM Subject: Re: [android-developers] Re: starting local service class not found I do. Like this service android:name=.MyWidgetProvider$MyService /service - Original Message - From: Mark Murphy mmur...@commonsware.com To: android-developers@googlegroups.com Sent: Wednesday, December 01, 2010 4:30 PM Subject: Re: [android-developers] Re: starting local service class not found On Wed, Dec 1, 2010 at 7:09 PM, Hendrik Greving fourhend...@gmail.com wrote: Still having this problem :/ Anyone? Perhaps you do not have the service listed in the AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.0.1 Available! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: starting local service class not found
I do. Like this service android:name=.MyWidgetProvider$MyService /service - Original Message - From: Mark Murphy mmur...@commonsware.com To: android-developers@googlegroups.com Sent: Wednesday, December 01, 2010 4:30 PM Subject: Re: [android-developers] Re: starting local service class not found On Wed, Dec 1, 2010 at 7:09 PM, Hendrik Greving fourhend...@gmail.com wrote: Still having this problem :/ Anyone? Perhaps you do not have the service listed in the AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.0.1 Available! -- 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+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: starting local service class not found
By the way, I am getting an InstantiationException and shortly before, a NewInstance failed: no init(). When I google for it, I find a little bit about IntentService constructors and alike, I am not using IntentService though, just regular Service. - Original Message - From: Hendrik Greving fourhend...@gmail.com To: android-developers@googlegroups.com Sent: Thursday, December 02, 2010 10:18 PM Subject: Re: [android-developers] Re: starting local service class not found I do. Like this service android:name=.MyWidgetProvider$MyService /service - Original Message - From: Mark Murphy mmur...@commonsware.com To: android-developers@googlegroups.com Sent: Wednesday, December 01, 2010 4:30 PM Subject: Re: [android-developers] Re: starting local service class not found On Wed, Dec 1, 2010 at 7:09 PM, Hendrik Greving fourhend...@gmail.com wrote: Still having this problem :/ Anyone? Perhaps you do not have the service listed in the AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.0.1 Available! -- 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+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: starting local service class not found
Still having this problem :/ Anyone? - Original Message - From: Hendrik Greving To: Android Developers Sent: Tuesday, November 30, 2010 11:13 PM Subject: starting local service class not found I have package com.myapps.myapp; public class MyWidgetProvider extends AppWidgetProvider { [..] public MyService extends Service { [..] @Override public int onStartCommand(Intent intent, int flags, int startId) { [..] Intent updateIntent = new Intent(this, com.myapps.myapp.MyWidgetProvider.MyService.class); PendingIntent pendingIntent = PendingIntent.getService(this, 0, updateIntent, PendingIntent.FLAG_CANCEL_CURRENT); [..] } } gives unable to start service intent and not found. I guess this is more a java than an android question, is it? How do I fix this? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: starting local service class not found
On Wed, Dec 1, 2010 at 7:09 PM, Hendrik Greving fourhend...@gmail.com wrote: Still having this problem :/ Anyone? Perhaps you do not have the service listed in the AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.0.1 Available! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en