Tag Archives: android

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