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++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -