Android Share Menu in Gallery app - android

I want to menu like android default gallery app share option.how do this menu in android sdk any one help with any code or tutorial with greatly appreciated!
I want output Like below Screen Shot:
Thanks!

It is nothing but the Quick Action bar Demo you are looking for.
Here are few examples which will get you started with,
first link is from StackOverflow which has discussed about it,
Android Quick Actions UI Pattern
http://www.edumobile.org/android/android-apps/quick-action-demo/
http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/

Related

How To make Custom Share Menu in Android

i want share image with custom menu in android like quickpic app from android market.i am already share image with share intent but,i want custom menu with share option to share image like below screen shot:
i am search lot of times but,not found make custom share menu like from screen shot (outlined red box)
Help me and thanks for reading my post!
Have you seen this blog article? http://android-developers.blogspot.de/2012/02/share-with-intents.html That is the current recommended way to share content on Android. Any installed app that handles the intent for sharing should appear in the list automatically.
You have to use Action Bar Sherlock .
Check ShareActionProviders.java file in the above downloaded demo
Try reading this blog article: "Create your own sharing app"
http://blog.sephiroth.it/2010/09/18/android-create-your-own-sharing-app/
Included is a code snippet and explanation. I have not tested it, let us know if you find success!
Enjoy

Android - Making a Menu Bar appear after clicking in a list

So, im developing a mobile app and I ve this doubt that I hope someone can solve. I have a List with projects. What I want is, when I click in one of the projects, I dont want to go to another page, I just want to see like a toolbar right under the project I just clicked. My idea is to follow basically the same concept like the app Any.Do .
Here it is what I would like to do.
I would appreciate if someone could help me on this.
Have a look at the QuickActionBar from GreenDroid project.
Cyril has created a GDCatalog sample app (available from the market), which also features this (src).

How to build Quick Action Bar like in Contacts application for Android?

I am interested in doing my application similar to the contact apps where on click on the image pops up a small quick action menu(Not sure of the name). In that you get option to call them, email them or do similar activity. I too have a list view with a image in it. On click of the image I want to show a similar small action bar that will give quick links to users to navigate to my next activity. Please let me know how to do this. A quick sample will be good. Thank you for your time and help.
IMO GreenDroid is a full-featured UI framework, but if you just want the QuickAction in your apps, you can use this http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
Just feel this way is simpler :D
The GreenDroid QuickAction is what you are looking for I think https://github.com/cyrilmottier/GreenDroid

QuickActions like the Twitter app

I want to add Pattern 6: QuickActions from android's blog to my app.
Any code snippet?
Anyone try to do it already?
Should this work on android 1.5?
I just found this question right after I posted my own question/answer. Here's the code I developed for this. http://code.google.com/p/simple-quickactions/
I also have been searching for this and found someone through the wave of the Google IO session who has implemented such thing.
He posted the code on GitHub. I just tested it, and it works just great!
You'll also need some ressources from the project (drawables, styles..).
Look at line 1310 of ContactsListActivity.java from the Contacts application. It's the code that creates the intent for the contact shortcuts on the home screen that launch the quick actions intent for a contact.
This won't work before eclair.
Until the official Twitter app is open sourced by Google, you may want to take a look at this implementation:
It's really easy to use and works great.
That app is going to be open sourced at some point so you may want to wait until then. But it could be done with a Dialog with a custom background drawable, and using Window.LayoutParams to position the dialog.

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 application? 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

Categories

Resources