Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Android and the fly likes listview creation programmatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "listview creation programmatically" Watch "listview creation programmatically" New topic

listview creation programmatically

ghouse mohammed

Joined: Nov 23, 2011
Posts: 15
i am creating a listview programmatically and i am getting error may i know what am i doing wrong in this code

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3476

What is the error you got?
ghouse mohammed

Joined: Nov 23, 2011
Posts: 15
first i will like thank Hussein Baghdadi after a long time i got replay in this forum and i am getting error like this java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView
I agree. Here's the link:
subject: listview creation programmatically
Similar Threads
Screen changing
How to create a toast via button click
force closes
gps not getting user location
Why error in this code