Represent Graphically a Tree

by Jordan » Mon, 04 Apr 2011 22:06:24 GMT


Sponsored Links
 What would be the best way to represent a data tree graphically?

I've thinked to use a multi level TextView, but these levels are
implemented into ListView or I must implement them into my code?

Like a File Manager, wich the filesystem is the tree structure and the
directory and files are the items. I want to navigate inside my tree
pressing the items to go to the next level and back button to go back
to the previous tree level.

Is there something to use out of the box for doing this?

Thanks

-- 



Re: Represent Graphically a Tree

by TreKing » Tue, 05 Apr 2011 00:48:55 GMT


 




ExpandableListView?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Re: Represent Graphically a Tree

by Jordan 5222 » Tue, 05 Apr 2011 00:58:10 GMT


 Expandable ListView can only have 2 levels I think.

Jordan -  http://www.lulz-industries.org/ 
Il giorno 04/apr/2011 18:49, "TreKing" <treking...@gmail.com> ha scritto:

-------------------------------------------------------------------------------------------------

-- 



Re: Represent Graphically a Tree

by Kostya Vasilyev » Tue, 05 Apr 2011 01:03:41 GMT


 Yes. But it's built on top of ListView, which is very well documented. Since
the OP already has a tree data structure, it should be quite easy to build
something similar, but with an arbitrary number of levels (if needed).

-- Kostya

2011/4/4 Jordan 5222 <trolldr...@lulz-industries.org>



-- 



Re: Represent Graphically a Tree

by Jordan 5222 » Tue, 05 Apr 2011 01:15:55 GMT


 I ll give it a look.

Also other ideas?

Thanks

Jordan -  http://www.lulz-industries.org/ 
Il giorno 04/apr/2011 19:04, "Kostya Vasilyev" <kmans...@gmail.com> ha
scritto:
Since

-------------------------------------------------------------------------------------------------

-- 



Re: Represent Graphically a Tree

by TreKing » Tue, 05 Apr 2011 01:20:11 GMT


 On Mon, Apr 4, 2011 at 11:52 AM, Jordan 5222 <trolldr...@lulz-industries.org





Extend it and add your own functionality.

You probably don't want to nest too deeply anyway considering the screen
limitations on mobile devices.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 



Other Threads

1. DDMS Event LogParser error codes

Hi guys,
While monitoring with ddms sometimes I get ADB and ddms to disconect
from the device. The adb proc gets killed and eventually respawned.
The only traces I get are from ddms:
   16:32 E/EventLogParser: Can't parse (disconnect_cause|1|5)
(call_duration|1|3)
   16:32 E/EventLogParser: Can't parse (installoruninstall|1|5)
(package_name|1|3)

Can anyone point to what these traces mean, and how can I find out why
ADB was dropped?

-- 

2. Ajax in Webview

I've seen this questions posted elsewhere but I haven't seen anyone
find some of them same odd issues I have.
The app I'm working on opens a Webview to a page that requires Ajax.
On platforms before 2.0 this worked no problem, now suddenly nothing.
It simply stops at the loading clock. I don't see any reason why it
would work before but not on newer versions.
Even a proper reason why it's failing would be helpful.

-- 

3. Twitter + contacts integration - what apis are used ?

4. which client plays AudioTrack for tone gen?

5. mounting and unmountind USB storage from Java App

6. Developing code remotely

7. IPSec VPN Algorithms