[Android] representing an easy-to-nav directory layout

Monte Goulding monte at sweattechnologies.com
Wed Sep 25 22:07:21 EDT 2013


On 26/09/2013, at 11:57 AM, Nicolas Cueto wrote:

> I'm hoping this is built into LC or that Monte has an Android external for
> it.
> 
> For example, the Android app "ES File Explorer" represents folders and
> files of a user-selected directory with both icons and text, and, if the
> list is longer than the screen, it's all scrollable at the flick of a
> finger.
> 
> How is that elegance of display magic performed?
> 
> By the way. I know how to list and get directory contents. It's just that I
> can only package it visually on my Android app as ugly text within an ugly
> scrolling field object.

I don't have an external for this. I'd use something like a data grid to display an icon and text in a list. You use the folder global property with the folders and files functions to get directory contents. Usually you would want to filter out anything starting with "." from the results of both functions.

Cheers

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!




More information about the use-livecode mailing list