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
Related
I need to add help menu in my android application to help users know about the app for first time when they start Should show pop up screen like this
well, I can do this by adding such images but Is there any library or sample project available that I can use to achieve this!
here is developers link down there is a semi transparent image
What needs to happen is getting the locations of the relevant views and pass them, in an intent, to a help activity with a transparent background. Luckily, there is an open source library for this. Check out ShowcaseView . It is what you are looking for.
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/
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
I am making an Android app. I have a list of items displaying. I am looking to create a popup menu just like the one that pops up when you tap the avatar of a contact in the contact list. I have tried looking through the Android reference but can not find it.
Has anyone created one of these popup menus? A link to the reference or a code sample is fine.
Screenshot of menu:
http://www.youchoob.org/pics/popup.jpg
What you are describing is called a 'Quick Action'. This is actually a user interface pattern - there isn't an existing widget or anything in the API for this. They discussed it at Google IO (See in this video here, at the 15:40 mark), and also there has been some discussion on how to implement it on stack overflow, specifically this question. If you start digging around (now that you know the name of what you are looking for) you might find more.
you can find "QuickAction" widget in
https://github.com/cyrilmottier/GreenDroid
below is a demo activity
https://github.com/cyrilmottier/GreenDroid/blob/master/GDCatalog/src/com/cyrilmottier/android/gdcatalog/QuickActionActivity.java
Please find the code OR framework from here :
http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
The source code for the contacts is open source. You should look around here and see if you can find it.
https://android.googlesource.com/platform/packages/apps/Contacts
I'm looking now if I find it I will edit.
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