Technology

Implementing facebook login with childbrowser in a phonegap app

Recently in one of my phonegap apps, I had to implement login with facebook functionality. Because the app was targeted towards multiple platforms (ios and android), so for this we needed a javascript based solution that can work on multiple platform. We used the childbrowser plugin to handle this situation in following manner – 1....

by Prakash Balodi
Tag: Phonegap
20-Aug-2013

Android

Setting count bubble in jQuery mobile Accordian Head

Sometimes we want to show count bubble in Accordion head that is different from the what jQuery mobile provides by default. To add count bubble to Accordian head, we use following piece of code: [html]</pre> <h2>Heading<span...

by Rajan Shergill
Tag: Phonegap
18-Oct-2012

Technology

Creating database in Phonegap

Currently I am building a mobile app using Phonegap. In my project I need to store the data into the database and refresh it with server time to time. Phonegap have the Storage API to do this. Storage API is based on the W3C HTML5 webdatabase. So we just need to create the database and corresponding table according to the webdatabase...

by Uday Pratap Singh
Tag: Phonegap
24-Sep-2012

Grails

Accessing remote data through cross-domain ajax call in jquery

While developing a mobile app using phonegap ( or otherwise also :) ), we can access remotely hosted mysql database using jquery ajax calls. But this interaction between jquery and mysql database cannot happen directly. We will need to specify a server side script (in PHP terminology) or a controller action (in Grails Terminology) that...

by raj
Tag: Phonegap
24-Sep-2012

Android, Mobility

Download and Store External Files to Mobile in PhoneGap

In my current PhoneGap project, I was required to give the offline support of the application. I had to store all the external files on the device and refer the file from local device path. This required a thorough knowledge of storing external files on a device using PhoneGap. PhoneGap comes with very handy FileTransfer API which...

by Uday Pratap Singh
Tag: Phonegap
23-Sep-2012

Technology

Get the full application storage path in Phonegap

Phonegap gives me the freedom of creating mobile app with my existing knowledge of HTML, CSS, Javascript. It has a very nice javascript API to access the device features like camera, contacts, file etc.   There are times when you need know where your files are stored. Specially when you are providing the offline support of the app...

by Uday Pratap Singh
Tag: Phonegap
23-Sep-2012

Technology

Pre populating database in phonegap app

Currently I am working on developing mobile app using Phonegap. Phonegap comes up with very nice javascript methods to access phone specific api and the developer like me who have fair knowledge of javascript HTML and CSS can learn it very quickly. My app required bundling the database into the app but there is no straight forward way...

by Uday Pratap Singh
Tag: Phonegap
03-Sep-2012