Tag Archives: android

Android Volley Sending data twice

When you use Android Volley Library to make a http post request, the default situation is that the data will be send twice. In order to avoid this, you would need to add the line 2 of the below code … Continue reading

Posted in Android, Java | Tagged , , , , | Leave a comment

Detecting OS and Redirect to a specify site

There will be some instance where we need to redirect user to different site based on their platform. As such the following javascript will do the job to which OS the user is on. In this case, Android, iOS, and … Continue reading

Posted in Web Development | Tagged , , , , , , , | Leave a comment

Android NetworkOnMainThreadException

If you encountered NetworkOnMainThreadException while performing a web client call, there is a lazy way to handle the exception. However this method is not highly recommended as it will result in the UI thread being block for other operations. This … Continue reading

Posted in Android | Tagged , , | Leave a comment