Mission Autocomplete, 13/100 Days of Code
Autocomplete doesn’t just save time. It can be a magical bridge between a wandering coder and the answers they seek.
Autocomplete saved me while I was setting user permissions in the Android Manifest. I rewrote the entire manifest, copying the one from my previous Vibration Tile project. The Vibration Tile used a permission called VIBRATE to access the motor used to make the phone shake. As I typed out the permission for this project, the autocomplete feature showed me the holy grail
A list of all permissions for Android apps for me to choose from. I couldn’t have asked for a better present from Android Studio. In the list, the android.permission.ACCESS_NETWORK_STATE caught my eye.
This has to be the permission I need for this app to toggle the network state of the phone! I found this without even seraching the Android API to locate this info. Now I have a fresh lead. I’ll make this Tile yet!