How to deal with ExpandableList when all the data are coming from datebase?

by stonestrange » Sat, 06 Jun 2009 23:46:15 GMT


Sponsored Links
 I want to the effective like ExpandableList1 Activity in apidemo.But
my data is from the database.And th groups's data from the database
and the children's data from the database too.All both are comg from
different tables.
First,i want to konw how to get data from the cursor to String[];
Second,i want to konw how to confirm the data of children[][].

Thank you.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. select inbox message rows with buttons

Hi, I know the title it doesn't explain my problem exactily. It's
better explain it with an example.
I want put up-down arrows over inbox activity. I can select each row
in the inbox message list pressing up or down arrow.

I'd tried it showing two activities at time starting a new thread, but
I can't get it. However, if I could put my arrows another problem
appears: how can I tell inbox activity focus his rows?

Then, I thought maybe I resolve my problem installing NDK, but I have
a lot of problems installing it.

Finally, you could think, another solution could be manage myself
inbox message list; but this is not an scalable solution for me.

I expect somebody can help me. Thanks.

-- 

2. Not sure where to find out how to do this - the "Busy" spinning icon

I have been doing searches for this on Google but I am obviously using
the wrong words to look for it. How does one go about showing the icon
that spins in the upper right hand corner of the screen while
something else is going on?

I was trying to call it a "Spinner" but that is not exactly what it's
called in Android... and then I tried "Busy Icon" and nothing useful
pops up... I tried a few other things but for some reason I am drawing
a blank as to what the real term for it is...

-- 

3. some questions about using gdbserver and JNI libraries

4. ScrollView Layout/Gravity Problem

5. Clear Activity stack?

6. SDK installation problems on Vista

7. ScrollView scrolling.