You can access the Intent in onStart() of your service.

On Mon, Aug 2, 2010 at 5:56 AM, 汪健飞 <[email protected]> wrote:
> In the Activity I write
>
> Intent i=new Intent("IntentServiceTest");
> Bundle bundle = new Bundle();
> bundle.putString("abc", "def");
> i.putExtra("wer", bundle);
> IntentTest.this.startService(i);
> Start Service into Service OnCreate method,but I don't know how to do get
> this Intent in this method.Thanks!
>
>
> --
> Cary
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.9 Available!

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