Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm developing an android application which is an objective type,In my app there are 4 subjects like C,C++,Java,Android,Users should select the subject of their own choice for example If users selected Android it will load Android Chapters from chapters topics should be loaded and now they should take a quiz on that particular topic till here I have done and its working fine, Now I need to store the questions and answers in mysql database and I should retrieve them according to the topic wise. How to load the questions and answers from database and a topic may contain more than 10 questions How to validate them and show the score to the user?
You can use web service to connect to your mysql DB using ajax and json/xml data format. query the data from DB and output the data using JSON/XML. parse the JSON/XML data and display in your content.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new to Android programming and I want to make an online marketing app, but I have no website as web service for send and receive data in database between server and client. What can I use instead of a website?
Can I use any free API for it? I searched API and checkout below links:
https://moz.com/blog/apis-for-datadriven-marketers
https://www.programmableweb.com/category/marketing/api
https://firebase.google.com/docs/storage/android/start
Maybe you can use Firebase for data store and retrive in realtime: and it's free
https://console.firebase.google.com/u/0/?pli=1
You can create your own database and retrive and store date there.
https://github.com/firebase/quickstart-android
for referance its github example
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Integrating Hacker News API in Android app, total data is in the form of items, actually trying to display topstories in a ListView using this API https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty but data is in this format (Result of above API) [ 11547212, 11546098, 11544988, 11546490, 11543083, 11544016, 11545112, 11545975, 11543258, 11541675, 11544510, 11543188, 11544254, 11544374, 11541702, 11545351, 11542995, 11542005, 11543646, 11540747, 11541834, 11541242, 11544686, 11544523, 11546077] these are id's of each story as per documentation. So for displaying a list of Top-Stories what is the procedure.
You will have to load each item by id, for eaxmple use this
https://hacker-news.firebaseio.com/v0/item/11547212.json
where 11547212 is the item-id of the story you want to load. You will get basic meta information for this story, includeing author, URL and title.
You may also use firebase itself to access the data. There is a Firebase SDK for Android available.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am a beginner and I want to develop a chat application. The first page have log in and sign up options. Every user have username(using in chat). So which database should I use? I want to hold e-mails, usernames and passwords. I really confused with databases. Appreciate all helps.
If you have a little information to save like UserName and Password then SharedPreferences is good for you.
If you want to store a little huge amount of data for only your app then SQLite database and data you want to share in other applications also then ContentProvider. Both are here.
If you want to maintain your data both in server side and client side then you can use some Global Databases like Oracle, SQL Server etc which are maintained by your server site with some Web Services or Web Apis.
NOTE: You can use SharedPreferences and SQLite when you don't want to share data out of your application.
As for the Chat App I think you should use a Database which can be maintained by your Server Site through a Web Service/Api.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm working on android app, where I want the data entered in the app to be stored in cloud platform, can please some one help me how to establish the connection to the cloud and store the data in cloud?
You need to create webservice for that. Take help of this link
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
It will store all your data on server. You can access it with urls.
Create response in Json format. you need to parse those Json objects from server
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm creating a website with an according app for iOS/Android and I'm doing some research for how I should do everything. I need to be able to post data from the different platforms and I want to access the same data from every platform, kind of like a wall where ypu can write stuff. I'm thinking that the data needs to be stored in a database but how do I access i.e. an SQL database from iOS/Android?
A simple research would've brought you a great tutorial on how to link a MySQL database through PHP to an Android app.
You'll be required the basics of PHP though so you may want to study a bit about that prior to starting.
Take a look at parse.com. This likely provides what you need without having to set up server with a database, etc. You can access your data on parse.com from iOS, Android, your web site, and a number of other platforms should you need to.