close
Drempd Web Design
home portfolio blog resume
home portfolio

An Easy Android App GET and POST Content From URL Example

** 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:

AndroidManifext.xml:

 

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:

build.gradle (Module:app):

 

More coming....

December 18, 2016 Filed in: Android App Dev

  • Adventure

    • adventure
    • backpacking
    • biking
    • gravelgrinding
    • hiking
    • running
    • trips
  • Web Dev

    • android app dev
    • css
    • entrepreneurship
    • git
    • handlebars
    • html
    • inkscape
    • js & jquery
    • marketing
    • photoshop
    • php
    • projects
    • quickbits
    • sass
    • ux
    • web design
    • web development
  • The Built Environment

    • architecture
    • urbanity
  • Society

    • atheism
    • politics
    • society
  • Projects

    • ctitch
    • strymr
    • web projects
    • zindrop
    • vimsio
  • Other

    • elements
    • favorites
  • Lifestyle

    • freelancelife
    • freelancing
    • ideallife
    • productivity

drempd | san diego, ca


home portfolio blog resume


Contact

Submitting...

Thank you for contacting me, we'll be in touch!

Thanks,
Forrest


Close this window

There was an error submitting your request. I aplogize for the inconvenience.


Close this window
Cancel