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

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.

Related

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.

Database for 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 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

How to connect Android App to SQL Server database [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 am working on a project in which I am trying to have an Android app access a SQL server database. The web-portion uses an ASP.NET back end. I have seen several posts about the same or similar topics, but all of them I have found are over a year old. Has anything changed in terms of libraries, or do I still need to work on creating a web service? That seemed to be the most popular answer in all of the responses. Any and all help is greatly appreciated!
I'd suggest a web service, yes. We have an application that does this - we have a RESTful web service that delivers XML to the application and vice versa. The SQL server database layer communicates with the application through this HTTPS web service for logins and exchanging data results back and forth.
Something similar to this: Query SQL Server via REST to get XML

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.

Read Android database.db file from asp.net [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 want to read Android database file from asp.net.
First i want to directly browse it locally
then want to just read data from it and display it in Grid view.
So how can i do that ???
Those *.db are just dtandard SQLite datases, which is a simple open source Database, there are libraries avilable for use with C# in .Net, see this question for examples: How to create asp.net web application using sqlite
Android uses SQLite and its *.db files are regular SQLite database files. I am not familiar with asp.net but if you can use SQLite with it, then you can look for a way to use it with own db file. Mind, however, that you will not be able to get the SQLite database file from regular android device (unless it is rooted or you deal with emulator)

Categories

Resources