Thanks Ytai - that was my problem, this is what I did to fix....
public int onStartCommand(Intent intent, int flags, int startId)
{
super.onStartCommand(intent, flags, startId);
Log.d(DEBUG_TAG, "onStart invoked");
NotificationManager nm = (NotificationManager)
getSystemService(NOTIFICATION_SERVICE);
}
return START_STICKY;
} //end onStart()
On Monday, March 23, 2015 at 5:03:43 AM UTC, Ytai wrote:
>
> onStart is deprecated on API >= 5. Override onStartCommand() instead.
>
> On Sat, Mar 21, 2015 at 5:33 PM, Andrew Robinson <[email protected]
> <javascript:>> wrote:
>
>> Hey...me and a friend are going through the code on the ioioService
>> example and our onStart is not invoked...The same as our custom app which
>> it's based on. Any ideas why our main loop is running but the onstart code
>> does not run?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "ioio-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/ioio-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.