Hi All,
Can we connect any database to mobile widgets? I mean to say can we use any database connection in widgets?
Hi All,
Can we connect any database to mobile widgets? I mean to say can we use any database connection in widgets?
I don't believe it's possible to create a direct connection to a database as you might with MySQL or SQLite using Java, PHP, etc - but you can create a 'web service' (using PHP, Java, etc - it could even be a simple script on your server) that would enable your widget to GET and POST (via HTTP) to your on-line database. You could return the results as XHTML, JSON or even XML to your widget and then manipulate and display them using JavaScript.
Depending on what you're trying to do you might also be intersted in the JavaScript Service APIs which allows you to read, add, delete records from the devices' Calendar, Contacts, Landmarks and Messaging databases.
Bryan Rieger, Design Director
Yiibu - http:// yiibu.com/
Personal Site - http://bryanrieger.com/
Mobile Design UK - http://mobiledesign.org.uk/
We are a startup company and have a new relational database product which supports SQL and JDBC interface. It has a footprint of 115 KB. It also a advanced feature like triggers. It runs on any phone with J2ME support (CLDC 1.0 and CLDC 1.1). If you need an evaluation copy then please email sanjiv.guha@zoduna.com