** This post is a work in progress **
It took me a while (much longer than it should have) to be able to start playing around with getting and posting data to a url. I think part of the problem was that many of the tutorials out there try to add unecessary complication — they’ll add an interface where a user has to put in data, etc… and I’m just purely interested in the specific and lone action, without the extra fluff.
So here is my little tutorial on this. For reference, my project is named: ‘com.ctitch.birch’. Where relevant in the code below, you’ll need to replace that.
1. Create a new project in android studio
2. Add “<uses-permission android:name=”android.permission.INTERNET”/>” to your AndroidManifext.xml file. That code should look like:
3. Add “compile ‘com.android.volley:volley:1.0.0′” to the dependencies section of your build.gradle (Module:app) file. It should look like: