Look up startActivityForResult
Sincerely, Brad Gies ----------------------------------------------------------------- Brad Gies 27415 Greenfield Rd, # 2, Southfield, MI, USA 48076 www.bgies.com www.truckerphone.com www.EDI-Easy.com www.EDI-Simple.com ----------------------------------------------------------------- Moderation in everything, including abstinence -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of fabbx Sent: Sunday, June 14, 2009 1:08 PM To: Android Developers Subject: [android-developers] How to get intent results? i'm trying to allow user to select an picture to upload to my website but i don't understand how i can get the choice of the user i'm here : public void uploadPhoto() { setContentView(R.layout.index); Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); startActivity(Intent.createChooser(intent, "Select picture")); } I suppose that i have to override a method but i don't find anything if documentation.. thx in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

