Android Volley Tutorial – Making HTTP GET, POST, PUT

Google released Android Volley Library around May/June 2013, which has been internally used by Google for some time. It is supposed to provide Fast Networking Operations and also takes care of Threads nicely. If you are unfamiliar with Volley, please see Google I/O 2013 Video Unfortunately, there is almost no documentation on Volley. So, I […]

Continue reading →

Android activity hide action bar

If the Action bar of an Android’s activity needs to be hidden through the manifest xml file (non Java Programming), then the easy way is to add the following attribute in Activity tag: android:theme=”@style/Theme.NoActionBar” However, if a custom Theme is created then it is convenient to create another style extending the custom theme and then […]

Continue reading →

Using OAuth 2.0 with Google API in Phonegap / ChildBrowser

This article explains how to implement OAuth 2 with Google API (gapi) on Phonegap using Childbrowser Plugin. We will authorize Google Tasks API from Phonegap and then retrieve a list of Tasks (of default list) from Google Server. Because the App is built using Phonegap, it can be deployed in iOS, Android, Blackberry, Windows Phone […]

Continue reading →

Check Database exist fails android sqlite3openv2

I developed an android application where I shipped an sqlite database with the application. The Sqlite is initially stored at assets folder, and then copied to the proper directory (/data/data/[package]/databases/[db-name]) upon launch. I had the following piece of code for checking the existence of a database. public boolean databaseExist() { SQLiteDatabase checkDB = null; try […]

Continue reading →