how to get the string from a listview item

by Kent Yip » Tue, 28 Apr 2009 14:11:14 GMT

Sponsored Links
 Thx Glen the textview works great, but the SQLiteCursor doesn't work.

On Mon, Apr 27, 2009 at 10:47 PM, Glen Humphrey <


how to get the string from a listview item

by Kent Yip » Wed, 29 Apr 2009 15:50:11 GMT

 sing the Cursor worked! thx Glen.

On Mon, Apr 27, 2009 at 11:37 PM, Glen Humphrey <


Sponsored Links

Other Threads

1. How to show a 'Progress View' during a ListView is loading


In the android market app, the ListView shows a 'ProgressView' during the
loading of the content of the ListView, and then when the loading is done,
it shows the content of the ListView.

Can you please tell me how to achieve that?

Thank you.


2. Button is not clicking. OnClick Listener not being triggered.


I'm currently baffled about something. It seems like a genuine bug in
the SDK.

I have an activity that was the main activity for my program. It
consisted of 3 buttons. I added a third using the wysiwyg editor in

<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/buttonauthor"
android:text="Also by Author"></Button>

then I made a variable to refer to it in my activities onCreate() for
the activity which implements


then I made the OnClick Listener toast

        public void onClick(View view) {
                if (view == whatthehell) {
                        Toast.makeText(this, "clicked button02", 2000).show();

When I ran it, it didn't click. When I debug it, it didn't even go
into the onClick method.

I tried to give it its own anonymous OnClick listener and it did the
same behaviour

                whatthehell.setOnClickListener(new View.OnClickListener() {
                        public void onClick(View v) {
                                // TODO Auto-generated method stub
                        Log.v("Clicked the author button", "Pressed the author
button");                       }

I thought something may have been wrong with the emulator image, but I
tried it on a separate installation of Eclipse and had to make a new
emulator image for it. and it still did the same thing.

Am I missing anything?


3. onDraw() being called multiple unintended times

4. Calculating text lenght

5. Did you know you can do this?

6. How to start up the native gallery app?

7. tentang pengaturan folder..