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. About EditText's default text

Hi,guys.

I want set the default text in EditText,and when the user focus on the
EditText,the default text would disappear. Who knows how to set it?

And i also want to have the same effect in Spinner.That means i want
to add the tip into Spinner.Is it technically feasible?

Thank you all.


--~--~---------~--~----~------------~-------~--~----~

2. Android Dalvik Vs Native Benchmarking - II

Hi All,

Sorry to repost, I keep getting rejected from gmail and I can't find
my thread here.

In any case;


Sorry for the slow response, currently witting my dissertation which
covers such topics, please remember to bug me directly and I will post
my full report.

Blindfold is correct, the second graph is for the G1.

Specs are now in a png on the project homepage (http://code.google.com/
p/android-benchmarks/) with another set of test results for a median
filter.

Thank you for your insight David, I'll get on making the recommended
adjustments as soon as possible. I am running tests on the ADP1 and
not the emulator which I agree gives very different results.

Really appreciate the interest, can't wait for the NDK! I really like
the android platform but I just couldn't get the speed I needed
without resorting to native code.

I built a module that downloads the appropriate native lib if one is
found for the hardware else my app defaults to my Java (Dalvik
bytecode implementation).

Just as an interesting aside, would you say that we program in Java?
(As android developers) Would you consider Dalvik compiled
applications a flavour of Java? Or is it a programming language in its
own right that just shares a syntax.

I get confused with how a programming language is defined, by the
syntax, core libraries or compiler maybe?

Gavin
--~--~---------~--~----~------------~-------~--~----~

3. Scroller on LinearLayout

4. multiple WebViews in activity

5. Howto add driver to Android source kernel tree?

6. AbsoluteLayout deprecated & Drag and Drop

7. Strategies for alerting users about new versions of your app in the appstore?