Key-striking problem

by MichelT » Sat, 12 Feb 2011 05:56:27 GMT


Sponsored Links
 Please help me,
My emulator when I start device works fine, but I can do anything
because char "=" is striking without stop into device.
I disable the keyboard in .ini file, but problem is keeping on.

Thank you

-- 



Other Threads

1. Process Crash whilst using JUnit

Nearly at my wits end. Been slowly building my app and now JUnit is
crashing regularly with logcat as below.

There are no other real hints. No relevant code as this can happen at
multiple points of the code. There are no other errors or exceptions
thrown. As far as I can tell there is plenty of memory left and my app
does not appear to have any leaks I can find during a run outside of
JUnit.

Any ideas?


04-29 15:05:23.125 I/DEBUG   (10948): Build fingerprint: 'htc_asia_wwe/
htc_hero/hero/hero:1.5/2.73.707.9/62020:user/release-keys'
04-29 15:05:23.125 I/DEBUG   (10948): pid: 11005, tid: 11006  >>>
com.mydomain.myapp <<<
04-29 15:05:23.125 I/DEBUG   (10948): signal 11 (SIGSEGV), fault addr
00000004
04-29 15:05:23.125 I/DEBUG   (10948):  r0 00000000  r1 4356abd0  r2
4108dd50  r3 00000010
04-29 15:05:23.125 I/DEBUG   (10948):  r4 ad03dc11  r5 00156d78  r6
4356abd0  r7 00000000
04-29 15:05:23.125 I/DEBUG   (10948):  r8 100ffd00  r9 4100af98  10
4100af84  fp 00000001
04-29 15:05:23.125 I/DEBUG   (10948):  ip ad374dd0  sp 100ffcd4  lr
ad33a6f1  pc a9d214b6  cpsr 00000030
04-29 15:05:23.235 D/AK8973  (   41): Compass CLOSE
04-29 15:05:23.305 I/DEBUG   (10948):          #00  pc 000214b6  /
system/lib/libutils.so
04-29 15:05:23.305 I/DEBUG   (10948):          #01  lr ad33a6f1  /
system/lib/libandroid_runtime.so
04-29 15:05:23.345 D/UserCreator(11005): onStop
04-29 15:05:23.345 I/ActivityManager(   63): Stopping service:
com.mydomain.myapp/.database.UserDbAdapter
04-29 15:05:23.355 D/UserCreator(11005): unbind
04-29 15:05:23.375 I/DEBUG   (10948): stack:
04-29 15:05:23.375 I/DEBUG   (10948):     100ffc94  afe39dd0
04-29 15:05:23.375 I/DEBUG   (10948):     100ffc98  0000a000  [heap]
04-29 15:05:23.375 I/DEBUG   (10948):     100ffc9c  afe39dd0
...and so on....
then...
04-29 15:36:42.557: INFO/DEBUG(12024): de{*filter*}d committing suicide to
free the zombie!
04-29 15:36:42.567: INFO/DEBUG(12175): de{*filter*}d: Aug 28 2009 20:35:01
04-29 15:36:42.577: INFO/ActivityManager(63): Process
com.mydomain.myapp (pid 12117) has died.
04-29 15:36:42.577: WARN/ActivityManager(63): Crash of app
com.mydomain.myapp running instrumentation
ComponentInfo{com.ozdroid.scanner.tests/
android.test.InstrumentationTestRunner}

-- 

2. Issue with ListView

Hi,

I'd like to display a list in a layout. As shown below in my code, I
create a class that extends ListActivity and set the content view to
my main layout, but I can't find out how to display the string array.
Anybody can help?

Thanks
Jul


********** Atable.java **********

package org.digitalfarm.atable;

import android.app.ListActivity;
import android.os.Bundle;

public class Atable extends ListActivity {

        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
            String[] COUNTRIES = new String[] { "Afghanistan",
"Albania", "Algeria", "American Samoa", "Andorra"};

            //How do I display the string array in the ListView in my
main.xml?
    }
}

********** main.xml **********

<?xml version="1.0" encoding="utf-8"?>
        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
            android:orientation="vertical"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            >

                <LinearLayout android:orientation="horizontal"
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content">
                        <TextView android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="@string/search" />
                        <EditText android:id="@+id/search"
                          android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_weight="1"/>
                </LinearLayout>

                <LinearLayout android:orientation="vertical"
              android:layout_width="wrap_content"
                android:layout_height="wrap_content">

                    <ListView android:id="@id/android:list"
                          android:layout_width="wrap_content"
                                android:layout_height="wrap_content"/>
                        <TextView android:id="@id/android:empty"
                          android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="@string/noresults"/>
                </LinearLayout>

</LinearLayout>

-- 

3. Need info on fetching icons' bitmaps

4. ada game seru

5. Backward-compatibility with 1.5 and view caching

6. Android Virtual Device

7. Android User Base