I have been trawling the internet for days now but nothing I can find seems to be a viable solution to my problem.
I am trying to create an Android Application using PhoneGap for Android (HTML5, CSS3 & JavaScript). I need the application to connect to a database. So far, all I have found is posts on how to connect to the embedded WebSQL database which is now deprecated. I already have a MySQL database set up that I want to connect with.
Can any of you lovely people point me in the direction of any posts that will help me out, or can any of you help me out directly with the issue i'm facing? I'm new to PhoneGap and Android Development.
Related
Iam abit new to android studio and im trying to make a local web server on android that can be accessed by anyone in the same hotspot, is there any sort documentation anyone could lead me to so i can understand, i couldn't find what i needed from searching
I'm developing mobile Ionic app. The app's purpose is this, for logging rides to work, who drived and who's passengers. It's simple until you want to synchronize if between many users. The app is almost finished, but I'm struggling with this. I don't know how to figure out conflicts between records.
I'm using Ionic mobile framework so the app is in angularjs and as database I'm using PouchDB and I want to synchronize it to remote CouchDB.
Can you give my some advice. Thanks
We just added a guide to conflict resolution to the PouchDB web site: http://pouchdb.com/guides/conflicts.html
currently I am working on developing an Android application which will pull data from an Azure SQL Database. I am just curious on what would be suggested as the best way for Android to interact with the database. Currently, I am thinking of using a WCF RESTful Service.
The reason I am asking is I just would like to be sure this would be one of the best approaches to solve this problem and that there is not another way I potentially could have looked over.
Thanks!
The question is quite old but it may help others who might be thinking to connect Android apps to SQL Azure database. Microsoft has a official Android SDK and support for Mobile Services. You can check this Get started with Mobile Services.
It has got loads of examples and tutorials which would definitely help anyone who is starting with Android and SQL Azure.
I’ve qt-opensource-windows-x86-android-5.2.1 installed and I’m using windows 8 64bit.
I've Known that only sqlLite driver is available for android, but I want to use MySQL. So is there a tutorial more detailed than this one
explains how to build the MySQL driver for Android on windows.
Note: The Application I've built runs successfully on windows but it doesn't even open in android.
I handled same project request the Android Apps work with MYSQL.
But our solution is using RSS and external XML to read/write the database.
Sorry about that cannot really help with your problem.
If RSS and PHP page is acceptable. I think you can try with it.
I know my question eventually won't match the title I opted for the question, but I honestly didn't know how to put it as I'm new to the Android and PhoneGap environments. If this is not a programming related question please accept my apologies.
We have got a .NET application that sends TASKS to our mobile employees' netbooks via webservice. The mobile users have got a local database that gets updated with new TASKS once they login. When the TASKS are completed, the local database gets updated. If there is a stable internet connection the update is then sent to the remote database.
Now we are planning to do both Android and iPhone version of the application. I understand this is possible using PhoneGap and HTML-CSS-JavaScript, but don't know how to go about it.
If anyone has experience of implementing these sort of applications, please guide me to some links/articles. I did some search on Google but didn't get a precise answer.
Thank You.
The getting started guides are all here. Each platform requires some amount of setup because of platform-specific SDK's and so forth you must download, so I would suggest starting with iOS if you have an iPhone or Android if you have an Android phone and then once you're up and running making the switch to developing for both simultaneously.
As for the question about a SQLite database, PhoneGap should be able to do what you describe. The documents for local storage, once you get to that point, are here.