android - How to pass and return Intent (Camera) -


i need little different usual.

i have 20 buttons can take image. use same handler. depending on button clicked - pass "buttonindex" inside intent camera. value in onactivityresult know process.

is possible? tried read returned intent value get's lost.

yep. can use startactivityforresult (intent intent, int requestcode) requestcode returned when activity exits.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -