Speed up Android WebView App by localising static resources

Recently I was developing an android app which was using a WebView to display some graphs on dashboard. Rest of application was build on native android code and only this dashboard portion was using webview to load a specific URL where dashboard graphs were displayed.

I used webview to load graphs because creating graphs is too complicated in android as compared to web. Also most of the android graph tools I found were not created to draw attractive graphs. Keep on reading

JSONObjectRequest example using volley in Android

When I started android development first thing I was stuck on was calling webservice with volley. The solutions I found was based on string requests (using StringRequest class) but I wanted to use JSONObject as parameter so I searched a lot but didn’t find any helpful information for using JSONObject. Finally I found one thing that there is another class in volley named JSONObjectRequest and using this we can send JSONObject to webservice.

So here I am sharing sample code of calling JSON webservice using JSONObjectRequest in volley Keep on reading