Wednesday, April 18, 2012

[android-developers] Service onStartCommand missing intent extras

Hi,
I had a simple app that has Service and Application.
Application starts Service by Action with extras.

Service receive Intent with onStartCommand and handle some action by
key that
is in extras.

Sometime Service receives empty extras, so if I get
Intent.getExtras(), the Bundle will be empty;

onStartCommand return START_STICKY;

Any workarounds?

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


Real Estate