Reputation: 1
Ok, so I'm learning Java and I can't figure out how to list and display the contents of an FTP server in a list view, and I want to be able to download the files too.
Please show me code snippets if you can, Thanks.
Upvotes: 0
Views: 589
Reputation: 10977
these are basically two different questions. 1. how to get data from FTP and 2. how to use a ListView.
the answer to nr. 1 can be found here on stackoverflow: Android FTP Library
for nr. 2, please refere to the android documentation here, check the sample projects in the SDK or simply google for something like "android listview example".
Upvotes: 1