Posts

Showing posts from April, 2013

Check whether network is available on Android phone.

Check the network in android using this function In some Android applications, they can be run properly once the network on device is enable. Or, Android developers want to check the network status before proceed. The simple code snippet I will show today is so simple but sometime it will take you a little bit of time to find/research.  This routine was run and tested as well on  Android 2.2 (API 8)  /** * Checks whether the network is available on Android device. * If the network signal is very low, it will be evaluated as NOT available. * This routine will check both MOBILE and WIFI signal. * If both of them are in disable status, <code>false</code> will be return absolutely. * </p> * Return <code>true</code> if the network is available. Otherwise, return <code>false</code>. * </p> * * @param ctx Context. * * @return <code>True</code> : the network is available.</br> * ...

Android 5.0 (Lollipop)

Image
Android-5.0 (Lollipop) Much of Lollipop's accessibility features are unchanged from KitKat, but there are a few new bits inside The features In one handy list, here's an overview of everything you'll find in the Lollipop accessibility menu. The old and the not so old. Services Talkback:  Google Talkback will give you verbal, audio, and vibration cues by acting as a built-in screen reader. It's perfect for the visually impaired and can be activated with ease from inside the accessibility menu. For more on Google Talkback check out our complete guide  here Switch Access : A new addition for Lollipop, it allows you to configure hard buttons to perform certain tasks to enable better navigation for the visually impaired and makes a pretty powerful tool when paired up with Talkback. System Captions:  Enables the system wide closed caption system for videos. Having been introduced in KitKat it's still pos...