Reputation: 21
I'm trying to make a simple quiz app. I need to make the question to pop out in random order. Now, I have no problem with working the layout and button, the concept of this little quiz is also familiar to me because I have done it in VB with MySQL, I'm just too unfamiliar with working with sqlite. Now, my question is : 1. Can I create an Android app with MySql? 2. If I can't, how can I make/code a sqlite database with fields like this:
ID | Question | OptionA | OptionB | RightQuestion
I will match the string in RightQuestion to the radio button id to validate each answer the user clicked.
I have read this, this and this, but none of them is what I'm looking for. I need for some help
Upvotes: 1
Views: 2400
Reputation: 1042
From my point of view, you can use mysql via a web server, which you can send request to the sever and the server will interactive with mysql.
On the other hand, just refer to here for sqlite programming in Android Using the Android SQLite Database
Upvotes: 1