Two Laptop Bag
The moose likes Android and the fly likes Adding item to listview dynamically........ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Adding item to listview dynamically........" Watch "Adding item to listview dynamically........" New topic

Adding item to listview dynamically........

Kopparthi Ayyanababu

Joined: Jul 03, 2009
Posts: 2
i am new to Android can any one help me regarding how to create listview in one window and add a edittext in another window by clicking Add button in another window should add the text which was typed in another window should be dynamically added to list view in previous window.can any one help regarding this.
1)For this i need to create a list view in one window
2)And edit text and button in another window
3)by clicking button in 2nd window it should add the text to first window list view.

can any one help me regarding this .........
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

hi,Kopparthi Ayyanababu
You first have a look at all Available Android Views in API . From URL Download API Demos and Look at List view Exaple ,

This Exaples will surely help you.
You check this Exaple of List View that suites to Your Problem .
Best Luck
I agree. Here's the link:
subject: Adding item to listview dynamically........
It's not a secret anymore!