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
-~----------~----~----~----~------~----~------~--~---

Reply via email to