If we code inside an Activity and we need the application context we can use getApplicationContext().
Inside an Activity we can use getApplicationContext() if we need the application context. But what if we are not inside an Activity and we need that? I will explain how you can get the context of the application outside an Activity with simple coding.
MyBOLT! (Non Official) is an android application that helps users BOLT! to check the rest of quota and expiration date of quota. With MyBOLT!, users can easily monitor their quota and expiration date with widget. This application have simple design and material guidelines, and reminder alarm (notification) will alert users when before the quota expired.
Once time, I make android application and requires pull data from web servers (Json). And then i do HttpGET to load the data from web server (big enough), after that i must insert the data into database. It takes 12-15 minutes WTF.., how can i used the application if it takes so long?
Then i found Jackson Library And Use Bulk Insert after that it takes only 10 – 15 seconds. Very Amazing