0

I need to create a post request mechanism that can send a file (a screenshot) from the android device to somewhere else. I am struggling to find a simple example that isn't outdated that can get me started to complete this task.

jShil
  • 1
  • 1
  • 1
    Possible duplicate of [Uploading Images to Server android](https://stackoverflow.com/questions/20322528/uploading-images-to-server-android) – Tim Jul 19 '17 at 10:59
  • @TimCastelijns HttpPost and HttpClient do not work with android API 23. I think i need to use URLConnection but am still stuck. – jShil Jul 19 '17 at 12:52
  • use something else then. The internet is full of examples – Tim Jul 19 '17 at 12:53
  • I am looking my friend. I wouldn't be asking if I didn't spend a long time searching the web for help. – jShil Jul 19 '17 at 13:08
  • google "android network libraries" pick one you like then google " upload image to server" – Tim Jul 19 '17 at 13:10
  • Thank you @TimCastelijns. I will do that. This is all just very overwhelming and frustrating since I am very new to Android Studio and API's in general. – jShil Jul 19 '17 at 13:30
  • Best advice I can give is to take it slow. Don't try to do too many new things at a time, practice small bits and later on combine them – Tim Jul 19 '17 at 13:34

0 Answers0