Re: [android-developers] Re: Broadcast receiver receive empty extras

2012-04-19 Thread TreKing
On Thu, Apr 19, 2012 at 3:04 AM, viktor victor.scherb...@gmail.com wrote:

 Didn't fix my problem, after a long time I still receive an empty Extras,
 it is on 2.1.


You need to explain your problem better. Like what is a long time. What
is different between these times?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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: Broadcast receiver receive empty extras

2012-04-18 Thread Justin Anderson
I don't really see anything wrong there...  Have you tried this method?
http://developer.android.com/reference/android/content/Intent.html#putExtra%28java.lang.String,%20android.os.Bundle%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 18, 2012 at 10:49 AM, viktor victor.scherb...@gmail.com wrote:

 startId

-- 
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: Broadcast receiver receive empty extras

2012-04-18 Thread TreKing
On Wed, Apr 18, 2012 at 1:24 PM, viktor victor.scherb...@gmail.com wrote:

 Seems works with i.putExtra(LocalApiService.INTENT_EXTRA, data),
 thanks.

 What is the problem was?


Originally, you were putting the int in the bundle, then the bundle in the
intent. On receipt, you were trying to get the data from the intent.

It would probably also work if you did i.getExtras().getInt(...).

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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: Broadcast receiver receive empty extras

2012-04-18 Thread Justin Anderson

 Originally, you were putting the int in the bundle, then the bundle in the
 intent. On receipt, you were trying to get the data from the intent.

Wow... can't believe I missed that.  Woops!

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 18, 2012 at 12:36 PM, TreKing treking...@gmail.com wrote:

 Originally, you were putting the int in the bundle, then the bundle in the
 intent. On receipt, you were trying to get the data from the intent.


-- 
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: Broadcast receiver receive empty extras

2012-04-18 Thread TreKing
On Wed, Apr 18, 2012 at 1:51 PM, viktor victor.scherb...@gmail.com wrote:

 Yes, I agree with but sometimes an Extras comes with Bundle[{}];


I don't know what that means.


 You also can take a look to this thread:
 http://groups.google.com/group/android-developers/browse_thread/threa...


Your link is bad.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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