List item when its clicked downloads a file from the internet? [closed]
Hey guys I'm trying to make a simple ROM list app and i was wondering how to downloaded a file when I list item is clicked?
You should check the ListView
-tutorial on how to react on a ListItem
-click (and tell which one was clicked).
On how to download files from the Internet have a look at those classes:
- URL
- URLConnection
- InputStream
- And depending on what your response is, the right Reader-Class.
精彩评论