Activities and ListActivities with button and lists

by ~ TreKing » Fri, 23 Apr 2010 10:37:21 GMT

Sponsored Links

Cool, me too! Well, mostly buses, but same diff.

Sure you can.

No, you don't HAVE to, but extending ListActivity does simplify things if
your activity is predominantly list-oriented.

Crashes HOW? We can't read your mind (or code).

 By the way, if I put
"public class NextTrain extends Activity {"

Did you actually add a ListView to the Activity?

I can try.
If you extend ListActivity you can add a header view to your ListView
containing your two buttons.
Alternatively if you extend Activity, you can create a layout with your two
buttons and a ListView.

You're welcome in advance.

TreKing - Chicago transit tracking app for Android-powered devices 


Other Threads

1. Multiple audio channels

Hi all !

 I have to write an application wihich can play multiple audio
chennels. My boss asked me to make some market research how many
device able to play multiple audio channels on the same time.
 Where can I check the android phones hardware capacity, which one can
do this and which don't. What do you think where should I start the
research ? Please , if anybody know about it help to me.

 Thank you: Karoly


2. problem with AVD manager (last version) on XML verification failed.

I'm trying to install the Android SDK using AVD Manager.
When it try to verificate the XML of the repository appears the
following error:
XML verification failed for
Error: cvc-elt.1: Cannot find the declaration of element 'HTML'.

I have the last ADV version (r7) and the last ADT plugin for Eclipse
(0.99), downloaded today.

Thank you,


3. cara tau HH sudah unlock apa belu

4. Root milestone

5. Use HTTP persistent connection

6. How to get notified when list view is displayed

7. add a linear layout on click of button