Unable to run Hello world app in Eclipse

by Mani » Fri, 20 May 2011 09:30:40 GMT


Sponsored Links
 Hi,

I am using Eclipse 3.6. I have downloaded the android sdk 3.0 and
integrated it with eclipse. I have also configured ADT in eclipse.
When i run the HelloWorld file using AVD manager. The AVD manager gets
started but It is very very slow and the text which i have sysout is
not getting displayed even after 1hr. Please help me in resolving this
issue.

-- 



Other Threads

1. How to open virtual keyboard automatically

Hi all,

My project has a requirement to open the virtual keyboard
automatically after show any activity/screen that has a form.

 So I put this configuration in the AndroidManifest.xml in all
activities that I need:

[android:windowSoftInputMode="stateVisible"]

It worked very well in devices without a physical  keyboard. But it
does not show the virtual keyboard automatically with Motorola DEXT,
Droid, etc.

this is a requirement ... anyone know how to do this?

I also tried to open the keyboard via code, but no sucess.

[
InputMethodManager imm =
(InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE);
        if(imm != null) {
            imm.showSoftInput(text, 0);
        }
]

thank you

-- 

2. ListView questions

Hi, folks

I have a ListView that contains a custom view looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="horizontal"
    >
    <CheckBox
     android:id="@+id/cb_select"
     android:checked="false"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:paddingRight="10px"
     />
    <ImageView
     android:id="@+id/iv_list_file_icon"
     android:adjustViewBounds="true"
     android:scaleType="fitStart"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_gravity="top"
     android:maxWidth="64px"
     android:maxHeight="64px"
     />
</LinearLayout>

My Activity implements OnItemClickListener interface to handle the item
click event.

Now my question is:

If there's no that CheckBox, I can handle the
OnItemClickListener.OnItemClick callback, but if I add CheckBox to my custom
view, there's no OnItemClickListener.OnItemClick event occurred anymore. But
I can touch CheckBox to change its state. That's not what I need, I also
want to handle item click event to allow my users chooses a single item and
perform specific operations. Does anybody know how to handle item click
event in this case?

Thanks a lot!

Alex

-- 

3. Singapura --- Wonder Girls Lagi

4. How to open FB-reader from my application

5. Vuvuzela for android

6. ProgressBar.setProgressDrawable bug

7. OOT: Singapura -- Tak Kunjung Main