lundi 13 octobre 2014

start a camera app and receive the captured photo as a result


Vote count:

0




Hi friends i am new to android, i am developing one application in that application i am using navigation drawer with three options ,for three options i am using three fragments ,when i am launching the application first fragment is displayed automatically,after launching the application i am going to second fragment in that fragment i have to take picture by using camera and i have to set it to imageview in second fragment,for that i am using intent to call another camera app by using startactivityforresult() , but here the problem is after taking picture again if i came back to application it is launching first fragment only, but i want to display the captured image in second fragment itself, for that i overrided onactivityresult() also, but no use it is going to first fragment only, please help me to solve this problem,Thanks in advance...



asked 25 secs ago

Nag

1






start a camera app and receive the captured photo as a result

Aucun commentaire:

Enregistrer un commentaire