Android: auto-incrementing version number

For various reasons (for example publishing an update to an app on Google Play Store will require it to have a newer versions), you should increment the version/build number for your project.

This can be easily done in your build.gradle file.

Continue reading “Android: auto-incrementing version number”

Android: How to get the location

I am continuing with this series of articles with asking for location permissions and getting the actual location from your phone.

The first step for doing this, is to tell the system that you will be requiring location permissions. You do this by adding the following two lines to your manifest file:

Continue reading “Android: How to get the location”

Android: Adding items to TextView and scrolling them into view

I’m starting this series of articles describing some of the issues I encountered along the way for which I could not find too much documentation online, or the documentation I could find was vague.

Continue reading “Android: Adding items to TextView and scrolling them into view”