Hi we have an Android app that currently stores its data in xml files and are looking to move it to SQL Lite based database.
The app is a consumer of data and data is added through a windows application after the phone is connected to the PC (Currently both are done through xml files on the SD card)
If the data is stored on a SQLite database, is it possible to locate and connect to the database from a .NET application which can both enter and delete records from it.
Please advise. Thanks,
Yes. You will be able to connect and then manipulate a SQLite database from a .NET application. Use a data provider like System.Data.SQLite. The downloads are here.
Related
i have created a database in sq-lite in-memory for my android app ,i want to push the in-memory database to file system. please help me out .
Tried looking for multiple places but could not find any solution.
I am just a beginner in android app development and that's why I have many doubts. I am building one application where the user enters some data in editText. Now I want to save that data in my database. My database is running on my laptop. How would my app connect to the database? Do I need a web server in between? If yes then which web server is used for Android apps? Basically, i want to know the flow of data from app to the database.
Study more from Udacity.com, its free.
You may use a jdbc Connector to connect to database.
Connect your jdbc connector over local network ip\servername and database connection string
You can use REST Service when it comes to web Service on Android like this. You can either pass the values as parameters or an Object depending on your requirement. All the best
Wamp server is best option to play with server related utilities.You can use it even if you are offline. and it provides various option for data storage. It Mainly uses MySql and PHP scripts for fast performance.
For More details Click Here
I am trying to figure out how I would send a local SQLite database file that is created on runtime of my android app and send that database file to a cloud service so it can have that database in the cloud and I can fetch data from it.
I have already gotten my app to store SQLite database information on the device it self, but now I want to use Amazon Web Services for backing up my database onto those server.
Any tips,help, comments or suggestion are appreciated. Thank you!
I have been developing android application using SQLite database.
Unfortunately all content of my database got deleted by me.
but I have a database backup.
is there any possible ways to use my database?
two ways is there
1) Access the phone internal storage to push in SQLite database file
2)sqlite-database-on-your-android-emulator
How can I connect my local database in my application? I have a database which contains a book. I have to display it in my application in J2ME
Basically, in JME, an app can create a database which is a file stored in the RMS. Actually, there are several APIs that can help you in creating a Java ME database: Is there any option for local database like Sqlite for j2me - CLDC devices?
Anyway, I think the data in a sqlite database is not easily accessible to a JME app. It is not impossible but it, maybe, is complicated. Honestly, I don't know anyway to do it.
You have to create a server application where you access to database. Also your J2ME has to communicate with your server application for getting Data you want to display (Use HttpConnection Class).
In Mobile Application, you can not directly make connection with local or remote database. To Make Connection with Database , you need a middle tier called a web service. You can create web service in any platform like Java-Servlet, .net or in PHP. See this is a very simple example to work with MySql Database.