How to lighten LED in key driver, when user press any KEY.

by Dianne Hackborn » Fri, 13 Mar 2009 03:01:56 GMT


Sponsored Links
 The driver doesn't do this, it is done by the high-level PowerManager Java
service.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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



Other Threads

1. Null reference to ImageView from custom view

Hi,
I have the following xml layout:

<android.pacman.com.PacManMainView
      android:id="@+id/pacman_main_view"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent">


       <ImageView android:id="@+id/pacAnim"
                        android:src="@drawable/pac02"
                        android:layout_width="20px"
                        android:layout_height="20px"/>
</android.pacman.com.PacManMainView>

PacManMainView extends SurfaceView. I can draw to this, it works OK.
However, when I attempt to get a reference to the ImageView like this:

@Override
public void surfaceCreated(SurfaceHolder holder) {
/* test reference to imageview
                ImageView pacImageV = (ImageView) findViewById(R.id.pacAnim);

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

2. Market countries - how are they determined ?

In the android market the countries where your app should be published
can be selected.

How is the country determined ?

Where the device was bought ?
Which country SIM is inserted ?
Which GSM network it is currently connected to ?
Which country was specified in the google account ?

Simon
--~--~---------~--~----~------------~-------~--~----~

3. ( problem for experts ) update/refresh list problem

4. trouble with using keyboard-input to move things on screen, using requestFocus, OnKeyListener etc unsuccessfully.

5. trouble with using keyboard-input to move things on screen, using requestFocus, OnKeyListener etc unsuccessfully.

6. Frame-by-frame animation issue

7. Help: View Not Shown After TableLayout