0

I want my android application to connect to a device like FlashAir over wifi connection and explore its directories and download the selected files to the android device.

I have gone through this post and got some idea how to scan and detect devices over wifi. Now how can i access its file directories and download the files?

Samuel Audet
  • 4,964
  • 1
  • 26
  • 33
Raneez Ahmed
  • 3,808
  • 3
  • 35
  • 58

2 Answers2

1

Any brower can connect with with the card. So you can do too using a http client. Just look in a conventionel browser how the urls are set up.

greenapps
  • 11
  • 2
  • i dont want to use a browser or webview. I want to list the directories and files in android device and download the selected one. – Raneez Ahmed Jan 12 '13 at 08:00
  • 1
    I understood that right away. So use a http component to download the list. You only need the browser first to understand how you have to compose the urls for the http component. – greenapps Jan 12 '13 at 11:34
1

If you don't want to use a browser or webview, you could follow this tutorial to create your own app that will list all files and directories in the FlashAir and will allow you to download image files:

https://flashair-developers.com/en/documents/tutorials/android/3/

anothercoder
  • 1,449
  • 12
  • 16