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 [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

Reply via email to