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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -