Database for Android? [closed] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i created an Android application but to use it properly , I need to get the objects informations from a database .There are some SQLITE definitions but as far as i see , SQLITE is related to the device which already uploaded my app. But my intention is to send informations from just a server to the all devices. The app needs to get the objects informations from the database which will be in my computer as a server , Do you know how can i handle this ? For example if I download MySQL and create a row which is like ;
Product A: 20
Product B: 0
can i get these to the app and so the app make calculations thanks to these informations?
Please let me know if i wasn't clear about my problem

I used Couchbase for database needs. It is NOSQL. You use JSON objects instead of rows. It is super quick though.
http://www.couchbase.com/communities/couchbase-lite

Related

How to connect mysql from android without web? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
everyone.
I making an App.
But when i connect to external DB problem occurred.
So I looked for a way to connect to mysql.
But, all post was explain only use a web servies.
How to connect MySql without web servies?
I don't know if connecting directly to MySQL DB is safe. if you want to use a local SQL database, you may consider using SQLite.
Read this. you can add your sqlite database file to the assets folder in your application project and then extend and implement SQLiteOpenHelper to perform CRUD operations in your database.
You may also want to take a look at this as well. retrieving data using PHP sever is more secure.

what kind of server do i need with my android application? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Actually, I want to create an android application which it will store and retrieve data from the server. The data that I will be storing and retrieving are in string and image format. There are different kind of servers, such as application server, database server and web service but I am confused which server will work better with my application.
Servers like that are already built. Just use parse.com. Its practically free and way easy to use.

Which is better between XML and SQLite to store records in Android? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to store about 100 rows records, I need to query , update, add or delete this record.
I don't know how to store the records. SQLite is a litter complex, and it seems it's a difficult to update and delete XML nodes.
BTW, I heard the xml file located in \res\xml\ folder can't be written and only can be read,right?
I would prefer SQLite. It isnt as complex as you think and not so hard to use. I think it does everything you need.
Search on Google for "Android SQLite tutorial", you will find a lot of sites with good help.
Good luck =).

Trying to prepopulate my android phonegap app with an sqlite db [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Been trying to populate my phonegap app with an sqlite database. I have confirmed the database with the SQLite Browser for windows. Have placed this in the assets folder. I have seen several plugins that claim to offer this functionality as standard, and they all haven't worked.
I am using the sqlitePlugin. How do i get this working simply.
Thanks
https://github.com/cugwuh182/New_School
Can you give a try to this. http://gauravstomar.blogspot.in/2011/08/prepopulate-sqlite-in-phonegap.html
If that don't work for you, check step - 4 & 5 over here http://www.raymondcamden.com/index.cfm/2012/7/27/Guest-Blog-Post-Shipping-a-populated-SQLite-DB-with-PhoneGap
Please share your view if it don't work. :)

which is the best way to connect mysql database with android apps? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am new in android.I have an online shopping project and i need to connect my android application with that database how can i connect with that database? Which is the efficient way to get the data from online database to my application?
You don't want to expose your database directly to the internet. Instead, you should create a web-service that handles requests from your Android application, queries the database and returns results.

Categories

Resources