开发者

how to see what menu item was clicked from Android.Gallery if I have two menu items

开发者 https://www.devze.com 2023-04-08 17:00 出处:网络
When you want to send an image to facebook from your device, you open the Android.Gallery and select image and press share.

When you want to send an image to facebook from your device,

you open the Android.Gallery and select image and press share.

I see Facebook have two Menu items in the Share-List:

- facebook

- facebook fo开发者_开发问答r HTC Sence (in my phone HTC Desire)

If i want to have the same setup how is this done?

Registering for the android.intent.action.SEND in my activity

of course give me one Menu item. But i need two and handle them differently .


you can have two activity's and each on having it's own SEND

0

精彩评论

暂无评论...
验证码 换一张
取 消