Android: new activity is created after returning from camera instead of returning to previous activity -


i have activity can press button , choose between selecting picture gallery , taking new picture. when selecting picture gallery fine , image shown in activity a. if want take new picture, camera app opened, can take picture , save it. , strange thing happens: instead of returning previous activity choose take picture, new instance of activity (a') created , launched. don't know why doesn't return activity a... possible activity got timeout , that's why new instance created? or other ideas why new instance created?

set

android:nohistory = "true"

in mainactivity in

androidmanifest.xml


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -