Google Releases UI Testing Framework for Android Developers
Any software developer knows the importance of testing their project both during and after development in order to find and debug errors. While the majority of developers focus on testing internal functionality of the app, testing the user interface is also very important. One way to test your app is to manually use it, but that can get tedious with all of the different possible inputs and outputs. This is where testing frameworks come in handy, by automating the process. Google just made UI testing easier by providing a UI testing framework.
Shared with us in a tweet by Android Engineer Romain Guy, this framework is now available in the latest Android 4.2 SDK and requires Android SDK Tools Revision 21 or higher with Android SDK Platform API 16 or higher. It has two components: the uiautomatorviewer GUI tool for scanning and analyzing the GUI components of your app, and the uiautomator Java library that offers the required APIs for automating customized UI tests and an execution engine for running them. Complete details and instructions can be found at the Android Developers Website.
Want something on the XDA Portal? Send us a tip!
During the Google I/O Keynote, VP of Engineering Dave Burke announced that the Android M Developer Preview will include improved application linking features. Under the current system, Android is limited in its intent system when applications link to other applications, displaying the 'App Chooser' dialog box for the user to select how the link is handled. In the M Developer Preview, developers will be able to add an AutoVerify ability to application links, which is a line of code that verifies the app making...
A few days ago, a leak highlighted Google's foray into the Internet of Things space, and Sundar Pichai has just confirmed it by announcing Project Brillo at Moscone West during Google I/O 2015. Project Brillo is essentially a simple operating system with only the core stack on board, such as the kernel, HAL, connectivity, device administration and BLE. Project Brillo will run on an underlying communications layer called Weave, which will employ standardized scheme to ensure that all connected devices...
Android M has answered the call of battery by adding in a deeper sleep implementation than existing deep sleep. This comes in the form of Doze. The feature make use of the devices sensor to smartly recognize when you have left your device for an extended period. During this period, wakelocks will be minimized. However, you can still continue on receiving higher priority notifications. Needless to say, this does have a tradeoff of not having up to date syncs across...