Category: Android

Difference between getString() and optString() in Json 0

Difference between getString() and optString() in Json

While fetching the data from JSON , we might have null data for a particular Key value, at that time instead of implementing Null conditions, better make use of this optimized method optString(“<keyname>”) optString(“<KeyName>”) returns the empty string (“”) if...

0

Secure your codes by enabling Proguard in Android App

Nowadays it is quite easy to reverse engineer and android application. An .apk file can be decompiled easily back to its original code by using some tools for example dex2jar, javadecompilers. A beginner level android developer...