share feature of menu in android application

后端 未结 2 1383
生来不讨喜
生来不讨喜 2021-01-17 01:59

i asked so many question regarding my title but i could not get my proper answer till yet.I need to implement androd\'s menu feature in my application ie when we goes to gal

相关标签:
2条回答
  • 2021-01-17 02:03

    To implement a "Share" feature, all you need to do is use createChooser() and an ACTION_SEND Intent.

    Here is a blog post covering the technique.

    0 讨论(0)
  • 2021-01-17 02:22

    If I am understanding your question you want to know if you can duplicate the feature of tapping on the menu button on the phone and having it pull up an options menu that you can then share via, gmail or some other posting medium?

    If this is correct then I would have to say I would assume that you could duplicate this feature.

    In short YES!

    If you are wondering how you are to do this then I would start at here http://developer.android.com/guide/topics/ui/menus.html

    Droidnova .com (I posted it like this because as a new user I can only post one link) also has a good little how to on menu's.

    I would also like to add that this is my first time posting on stackoverflow so please let me know if this was a good post or what I should do next time.

    Thanks,

    Bactos

    0 讨论(0)
提交回复
热议问题