S
S
SHAKIRA2014-04-10 21:01:42
Android
SHAKIRA, 2014-04-10 21:01:42

How to display a list of files and folders in device memory in viewlist on Android OS?

Please tell me how can I display a list of folders and files in the viewlist from the device's memory? android OS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Dovnar, 2014-04-10
@SolidlSnake

Some very vague question - if you need a complete guide, then there are a huge number of articles on working with ListView plus documentation .
In short:
Get a list of files and folders, store them as an array (or something suitable for an ArrayAdapter ), instantiate the ArrayAdapter and set it as an adapter for the ListActivity\ListFragment via the setListAdapter method.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question