It is the world of the Internet of Things (IoT) and Google’s answer to that is the Android Things. In this episode, we talk to the amazing Rebecca Franks. She explains how Android things works and talks of some of the adventures and examples she’s embarked on with Android Things. If you’ve had that hobby Raspberry Pi or Arduino board lying around and not sure how to put it to use, this episode’s for you.
Have you ever thought about building VR (Virtual Reality) apps? Where do you start? How difficult is it? How similar is to Android development? Do you still code in Java? In this episode, Etienne Caron AndroidDev extraordinaire and expert VR hobbyist gets us up to speed on what you need to know, to start creating VR apps.
In this episode, Donn sits down with fellow Android GDE, Michael Bailey to cover 10 testing strategies to help you get your application under test and to make sure your testing environment is top notch. They start off with the basics and then progress further down the testing rabbit hole eventually covering topics like cloud-based testing labs, hermetic testing and much much more. This episode will help provide you with a blueprint of how to get your Android app under test and get you to a level where you can develop your app with confidence.
The Ten Tips
- Use Espresso for functional/integration testing
- Mock data and API endpoints to keep tests hermetic
- Utilize JUnit JVM Tests and patterns for a fast dev cycle
- Utilize a git branching strategy and utilize pull requests (PR’s) for code reviews
- Use CI to run the tests and provide constant feedback
- Speed up testing and ease of testing with shell helpers and helper classes for testing
- Cloud Testing Services
- Mutation Testing
- Thoughts on code coverage & value based testing
- Don’t let flaky tests linger
Today on Fragmented, we talk to Eyal Lezmy. Eyal works as an Android developer for Genymotion. While working for Genymotion he had to deal with the Android Debug Bridge a whole bunch, so in this episode we dive into the details of ADB, some super slick commands and in general just get a better understanding of this tool we use every single day.
# input some text from your keyboard
adb shell input text "keyboard text"
# download database file
# see http://stackoverflow.com/questions/18471780/android-adb-retrieve-database-using-run-as
adb exec-out run-as package.name cat databases/file > file
# run-as mentioned in episode
adb shell "run-as package.name chmod 666 /data/data/package.name/databases/file"