only every other key press results in icon or selection highlighting

by reedhuang » Tue, 16 Dec 2008 02:34:13 GMT


Sponsored Links
 Since I am using pxa27x_keypad.c, I guess you might be using omap-
keypad.c. Did you compare these two files and find any difference?



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



only every other key press results in icon or selection highlighting

by fadden » Wed, 17 Dec 2008 02:02:35 GMT


 


I had an issue like this once; it turned out I was displaying the
wrong half of the frame buffer.  So when I did something I didn't see
it until the screen flipped twice, and since nothing was animating I
had to hit keys twice.  You may want to check that.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. How to create a Toast from a background operation?

Hey Mark,
  well, if just sending a toast from any thread I get this:

java.lang.RuntimeException: Can't create handler inside thread that has not
called Looper.prepare()
at android.os.Handler.<init>(Handler.java:121)
at android.widget.Toast.<init>(Toast.java:397)
at android.widget.Toast.makeText(Toast.java:230)

  When asking the original initiator of the background operation to pass in
a handler, it might happen, that the activity that created the handler is no
longer active when the operation finished. I also believe to remember that
this will bring out an exception too.

  All that looks very ugly, which often means that I don't get what the
proper way of doing things around here is.

  But if the above mentioned way (passing in a handler from the original
activity) is the best way, then I will just do that.

Cheers,
Mariano







--~--~---------~--~----~------------~-------~--~----~

2. Android 1.5 Early look problems

I downloaded the android 1.5 SDK.
And I found that we can simply add a widget into the Android
Homescreen with the java class android.appwidget.AppWidgetProvider.

use this layout i can add my own widget successfuly
<?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"
    >
<TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="Hello"
    />
</LinearLayout>

but when i change the TextView to EditText like this.
The Android Home can not load my widget.

04-16 09:27:07.111: WARN/AppWidgetHostView(633): Caused by:
android.view.InflateException: Binary XML file line #13: Class not
allowed to be inflated android.widget.EditText

<?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"
    >
<EditText
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="Hello"
    />
</LinearLayout>


any one can help me?

--~--~---------~--~----~------------~-------~--~----~

3. URGENT - Retrieve User Data

4. How to change background on a Spinner?

5. Relationships among apps, tasks, and activities

6. Devs: Give your thumbs up on these missing Market features

7. Porting 1.5 to Nokia N810