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
 http://sites.google.com/site/rezmobileapps/treking 

--



Other Threads

1. CALL Activity to show application screen on call end

We are using CALL intent to place a call. However on call end, the
view is returning to Call Log Tab. Is there a way to tell the CALL
intent to finish the on call end.

Regards,
Raja Nagendra  Kumar,
C.T.O
www.tejasoft.com


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

2. Clone hidden row and display the cloned one with visibility seetings to true

Hi,

As part of my dynamic adding of table rows..I am using inflate view as
per the forum inputs at

3. How to use AudioRecord and AudioTrack

4. How to create Multiple tabs, one after another?

5. Bitmaps got diappeared

6. how to get the network camped event

7. Bug in contacts