I am trying to implement a quiz app in android. for this, i am trying to implement a tick mark near the corresponding image in gridview when answer is correct which is retained even after the app is closed and reopened. how do i implement this?
thanks
You are asking a lot of general stuff here. So you must do a little more research and ask more specific questions.
To get you started you should probably implement a custom View/Layout to show in your GridView, one that will have an ImageView which displays a 'Check' image when the question is correct.
For persisting this information you probably want to look into Sqlite for Android. This link should get you started.
Related
I am new in android. My app is basically is to scan the QR code to obtain product information such as the image, name, description and price and choose to add to cart and continue to do so(scan the qrcode) till user choose to end shopping and click to proceed to cart and will be shown the total prices of the items selected. User then can click either to edit the cart or proceed to the checkout. I have been searching tutorial but cannot find a complete one. Can anyone guide me through proper code how could i do this?
I do not think you will ever find a complete tutorial for the your task. However, a quick googling led me to zxing which can be used for processing barcode. I didnt go through the examples provided there, but I believe they are easy to understand.
Edit:
This is an exact duplicate of another question in SO. see
Now if that answer seems not enough for you, I think you are new to Android. Just google Android and you will find plenty of tutorials available. Start with Layouts, Activities, Intents, Bundles, Event Handling. To build what you want you would need a blend of many such small small things. Good luck
You will most probably wont find one single complete A to Z tutorial satisfying ALL of your app requirements .
But you can search for code/tutorial implementing parts of your app , like reading QR code , proceeding to next item etc . You will have to figure yourself out how it all comes together.
QR reader app on Google Play store
I'm developing a Android app that functions like the popular Logo Quiz in the Google Play Store, however, I have not come across any tutorials on how to make the check mechanics.
I know it involves a database to determine whether the answer is correct or not but I do not know how to put it to use, any tutorials are welcome :)
Also I have everything else in the app set up apart from this but (The main bit -.-)
To make an app like Logo Quiz you need to have some kind of relationship between logos name and it's picture. The first and the basic thing that I can think of it is just use sqlite database to store your logo name and image name. After that you can just check if it's correct after the user input.
At least that's the easiest way that I know.
However, it's just an idea so maybe there is better way to do this.
Hi friends i am planned to work on user interface part, i wanted to make my own user interface for my gallery application. for example gallery view should be in semi circular view. can any one suggest me on this
Thanks in advance
Do you want something like this!!
you can find it in this link
sorry but the link is in french language but you can find sources in the bottom of the page Mirror links
You should start by learning more about the Gallery in general. This link would make a good start.
Understand that code, go through the tutorials and begin experimenting on making incremental changes and seeing if they work.
Using this knowledge and prototype code start thinking about how you might go about creating your custom semi-circle gallery. Experiment and try some different things.
When/if you run into any issues or specific problems, post your question on a new thread and I'm sure you will find people willing to help you out.
I am having difficulties to find a way to drill down my tableview created for Android. I have 2 or 3 levels of data and I see its not working the same way as for iOS so my question is how the hell to implement drill down for Android?
I heard it should be done with views or something similar. Maybe someone could show an example of passing from one row to another list of data changing window or content of current window?^
thank you.
I'm looking to make a new type app that when the user open it for the first time it will open up a pop-up menu that contains multiple check boxes that the user can select from and will then save their selections for later use. After the user selects their choices I would like to have a monthly based calender on this same screen that the user can select a date from and based on their selection this will then take them to a separate screen showing the news for that day.
I am fairly new to android app development and this will be my first go at it. I have read several books and websites but cannot seem to find the help I need to produce the code for the above desired functions. Any and all help with this will be much appreciated.
Read these tutorials and you'll be able to create just what you need
Tutorials
Your question is very vague in fact, so I will only suggest a few points to start reading from, that I believe are important.
I think that you will answer any other questions you may have by reading through the developer documents for Android and studying the supplied examples. But don't hesitate to ask another, more specific question if you run into trouble.
tl;dr
Activities (must read!)
Dialogs (you will need these)
Data Storage (also important for the app you describe)
If you're still lost, just get some sample code from the repository and toy with it.
Good luck!