Where could I find information on creating a question popup? - android

Hey guys beginner in android studio here, basically my book rental is up and I am not sure of the name for something. In the tool bar of my fragment, I have a way to delete that fragment from the recyclerView. Everything works but I was wondering if someone could point me in the right direction of making a menu that pops up asking "are you sure you want to delete this?". I am almost positive I have seen it on here before as an example but I just cant seem to find it, probably because I am not entering the right search terms. Thanks for your time everyone!

I'm thinking you want to add a Dialog.
I would check out the documentation here.
https://developer.android.com/guide/topics/ui/dialogs

Related

Android whats new screen

I am re-pharsing my question to avoid negative points. I am aware of web view, dialogs, popups, notifications. if you have some other ideas please let me know.
I am working on a very big android application, in which I have to add some popup kind of thing, which tells the user what we have updated for this version. Kind of like, what bugs are fixed or whats new things are added.
The window have to be populated once or twice and it have to have user interactions, like click on the link, or contact us, or click on the image to go to some page inside the app. Please let me know any good ideas.
You definitively should give a look to the AlertDialog class
http://developer.android.com/reference/android/app/AlertDialog.html
This is basically the class used to display a message and get the ok/cancel/anything answer from the user. But it's customizable and you can make more or less what you want according to which button is pressed by the user.

Android: How to implement simple "rate it" preferences button?

I've googled and searched for an answer to my question but all I can find is people asking about rating systems that pop up a dialogue after a number of launches.
My application is for a live wallpaper so I expect most people to launch and set it once.
I just want a preference button that takes users as directly as possible to the app rating screen.
Can anyone suggest the best way to accomplish this? Thank you!
Here is code you are looking for
https://github.com/codechimp-org/AppRater
Add this library in your project and you should be set.

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).

what are best practices for showing help information

I would like to put fairly extensive help information within my app - both "how to use" and explanation of what one is seeing.
The app (map oriented) has a row of buttons at the bottom, and I was considering adding a help button.
Context sensitive help is mostly not appropriate, btw.
What are common and best practices for this?
Thanks
I wouldn't suggest using a help button, once the user knows how to use your app it will be useless, and will only takes some space.
What I do (but it's maybe not the best practice) is to show a popup on the first use. Within the popup I put some basic help and a link to my website which fully explains how my app works (with some screenshots to make it user-friendly). I also put a "Help" button in the activity menu which redirects to my website again.
What I can suggest is to explore by yourself how other android apps shows the help information, and reuse or adapt the one you prefer (this is what I've done).
I have put help into a menu item as I expect new users to click the menu button anyway (my app, Zwitscher also has a button bar at the bottom).
Clicking the menu item then starts an Activity that simply shows a table view that explains the various buttons in the system and contains a link to more information online.
See https://github.com/pilhuhn/ZwitscherA/blob/master/src/de/bsd/zwitscher/HelpActivity.java and
https://github.com/pilhuhn/ZwitscherA/blob/master/res/layout/help.xml
Another option I've seen sometimes is including a help option in the preferences/configuration screen.
Usually it starts a new activity with a sequence of steps to make the user understand everything.

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