I had like this:
App starts the service:
data: Bundle[{requestId=24, requestUrl=http://www.we.we}]
Service receives: data: Bundle[{}]
On 18 Кві, 13:41, viktor <[email protected]> wrote:
> 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 [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