Hi everybody. I tried to handle a picture from Gallery as SDK said: " When the user chooses "Share" from the menus, the system compares the "Share" request (an Intent object) to available activities (by looking at their intent filters) and displays choices to share. In this case, it matches Email, Gmail, Messaging and Picassa. If your activity can send a picture or upload it to a website, all it needs to do is make itself available for sharing (by setting its intent filter). " With the setting in AndroidMenifest.xml <intent-filter> <action android:name="android.intent.action.CHOOSER" /> <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> <action android:name="android.intent.action.SEND" /> <data android:mimeType="image/*" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.ALTERNATIVE" /> <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> </intent-filter> My application is called but the intent i got a null at getIntent ().getData(). Why?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---