posted 8 years ago
Hi Prajakti,
Can you please make it more clearer? I have several questions base on it.
1. Are you storing Audio/Video only or storing images also inside SDcard??
2. Do you want to display them in their default icons?? (As FileSystemView works in Java).
3. Do you want to display them like Windows file system displays in Thumbnail preview?
We can have more idea if we can come to know how android itself display those Audio/Video files on SD card.
Thanks & Regards
Pratik Goswami.
Prajkti Khadse wrote: I want to retrieve all the Video and Audio files present on the sdcard and display them in GridView along with their Name and Icon.
Can you please make it more clearer? I have several questions base on it.
1. Are you storing Audio/Video only or storing images also inside SDcard??
2. Do you want to display them in their default icons?? (As FileSystemView works in Java).
3. Do you want to display them like Windows file system displays in Thumbnail preview?
We can have more idea if we can come to know how android itself display those Audio/Video files on SD card.
Thanks & Regards
Pratik Goswami.
Prajkti Khadse
Ranch Hand
Posts: 52
posted 8 years ago
Hi,
If I am not making any misunderstanding, you want to display their default icons like FileSystemView in Java (My 2nd question).
AFAIK there is no way to display file system view/icon in android. You can display user defined icons with particular file type.
Please have a look at this URL
In this URL all files are filtered according to type, if you want to display it inside a list then you have to change your logic.
Thanks & Regards
Pratik
If I am not making any misunderstanding, you want to display their default icons like FileSystemView in Java (My 2nd question).
AFAIK there is no way to display file system view/icon in android. You can display user defined icons with particular file type.
Please have a look at this URL
In this URL all files are filtered according to type, if you want to display it inside a list then you have to change your logic.

Thanks & Regards
Pratik
Prajkti Khadse
Ranch Hand
Posts: 52
posted 8 years ago
Thanks Pratik,
I already referred the tutorial Android FileBrowser v.2.0 (Iconified-List-Based).
But i thought of displaying the actual icons....which obviously i can't..
Anyways...
Thanks again...
I already referred the tutorial Android FileBrowser v.2.0 (Iconified-List-Based).
But i thought of displaying the actual icons....which obviously i can't..

Anyways...
Thanks again...
