Am creating an android app in html based connection . i have a login form .. i want to create a database connection and wanna store the values . How can i do it .. if any1 has an example please show me .Am a newbie. Really appreciate it .
4 Answers
not getting 100% what you try to achieve, but Titanium support sqlite on Android and iOS. You can use sqlite to store information on the device the app runs on.
There are some examples in the documentation http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.Database-method-open and you can check the wiki as well: https://wiki.appcelerator.org/display/guides/Working+with+a+SQLite+Database
You cant directly Access a remote DB. You need a backend Service which you can invoke through HTTPClient.
hello,
you can get this thing done via web service. please reffer link for more details
http://developer.appcelerator.com/question/123422/how-to-get-data-from-remote-database-through-http
The thing is am building my application in html based application .. i have a simple login form ... i dont know how to create a db and then select values and redirect to new page after successful login . Everywhere i can only get js files . need help
Your Answer
Think you can help? Login to answer this question!