Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Sunday, May 7, 2017

Minify static resources in an android application

Standard
Sometimes an android application includes lots of static resources like html, css, jss or json files, this leads to a significant increase in the apk size. We all want our android application apk on diet. In this post, I will share a way to reduce the size of static resources thus reducing the size of apk.

Wednesday, January 4, 2017

Tuesday, February 2, 2016

RetroClient- Library for making HTTP calls using Retrofit and OkHttp

Standard
Hello All:

Interaction with back-end using REST based API is very common in application development.
There are multiple libraries to make network calls on Android. Following two are most used.
  1. Volley
  2. Retrofit
In this tutorial I will share a library which can be helpful in making network calls on Android.

Thursday, October 1, 2015

Sunday, September 20, 2015

Convert PNG, JPEG, TIFF to WebP

Standard
Hello All:

Everybody wants to reduce the size of his/her android application. Images contribute a lot in increasing the application size. Google has released a new image type Webp. In this post I will share a simple utility which can do bulk conversion of images to webp.

Sunday, August 30, 2015

Thursday, August 20, 2015

Tuesday, July 21, 2015

EventBus with Volley in Android Application

Standard
Hello:

Developing De-coupled applications always helps in maintainability of the project. In android application development we use listener pattern using interfaces to handle callback. Though it gets the work done but with bigger projects this may result into maintainability issues.

Sunday, July 12, 2015

Seven must have libraries in any android application

Standard
Hello All:

Developing a stable and professional application requires discipline and better coding practices. Sometimes it turns out that re-inventing the wheel also leads to some issues which can be avoided by using external libraries.

Monday, June 29, 2015

Wednesday, June 17, 2015

Exception handling in Android Application

Standard
Hello All:

During application development for any platform there are chances of missing some corner cases which in turn leads to exceptions which can lead to crashes. In terms of android applications development this leads to crash of the application with a pop-up saying
"XYZ has stopped working"

Sunday, May 17, 2015

Handling adapter error while using RecyclerView in Android

Standard
Hello All:

RecyclerView is introduced with Android L and is also available with AppCompat library. RecyclerView provides better layout option and performance as compared to ListView. However, in this post I will share one of the possible solutions to a problem which occurs with RecyclerView.

Friday, May 8, 2015

Monday, April 27, 2015

Friday, April 17, 2015

Change authorise email for Google Play services integration

Standard




Hello All:


In order to make games viral, one of the key component is integration of social platforms like Google+ or Facebook. Google play services is a good platform to get in touch with friends who play same game.

Monday, April 6, 2015

Sunday, March 29, 2015

Tuesday, March 24, 2015

Saturday, February 28, 2015

Professional screenshots for Android Applications and Games

Standard
Hello All:

While submitting our games and applications to Play Store we all want to upload screenshots which look professional (No WiFi, 3G, USB debugging symbols. In this post I will some PSD assets which I think can help in making professional screenshots.

Thursday, February 19, 2015

Export as JAR for Unity3d using Android Studio

Standard
Hello All:

In development of games, we often need to call native code. In case of Android games we need to make call to AndroidJNI. In this post I will share the script which can be used to create JAR files using Android Studio.