Skip to content
Coding Fanatic
  • Android Development
  • News and Reviews
  • Road2Pro
  • Tutorials
  • Services
  • About

Mission Autocomplete, 13/100 Days of Code

  • January 19, 2019January 19, 2019
  • by Richard Clarke

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!

Related

Tile Troubles Pt.2, 12/100 Days of Code
Cutting up Strings, 14/100 Days of Code
Richard Clarke
Richard is currently a developer using Java and Android Studio to build custom applications for Android. Richard tutored in mathematics at Montgomery College, and worked in Information Technology before entering the Software Development industry as a Quality Engineer.
Android Java permission

Related articles

Your New Favorite Stopwatch App!…
Two for Two BABY! 7…
…But the App is for…
Play Store Blues – 5…
Top 4 Tips for Android…
No Dice – 3 of…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • GitHub
  • YouTube
  • X
  • Instagram
  • LinkedIn
My Tweets

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • X
  • GitHub
  • LinkedIn
  • YouTube

Archives

Theme by Colorlib Powered by WordPress