开发者

share feature of menu in android application

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 gallery in android phone, when we press menu than it comes with lots of option like share...etc.My question is can i implement same menu feature in my applicatio开发者_开发知识库n? It is possible or not? Thanks


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.


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜