On Tue, Aug 9, 2011 at 10:56 AM, kypriakos <demet...@ece.neu.edu> wrote:
> I am running a servlet on the phone that starts an Intent on an
> Activity class.

Blech.

> The class starts the camera preview and takes a picture. Then I have a
> subsequent
> Intent start on the same Activity class to stop the preview. The
> second Intent
> will fall into the OnNewIntent. It also carries a set of extra
> parameters
> that I want to read and use iwthin the OnNewIntent. How do I access
> those
> Extra params?

Use the Intent supplied to onNewIntent(). The Intent returned by
getIntent() will always be the original Intent used to create the
activity.

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

Android Training in Oslo: http://bit.ly/fjBo24

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

Reply via email to