On Mon, Sep 13, 2010 at 2:08 PM, Shahar Rubin <[email protected]> wrote:
> 1. After I'm taking the picture, the preview still there. There's no
> function like close() to return to the previous activity. How can I
> return to the previous activity?

Call finish().

> 2. I'm trying to run the above described activity from the run()
> function (from the timer class that execute the run() function every
> 10 seconds). When I do that, a runtime exception is raised.
> But when I start the above described activity from a button clicked
> (not from the timer) it works fine.

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your
RuntimeException.

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

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