-
Notifications
You must be signed in to change notification settings - Fork 67
Home
peyo-hd edited this page Dec 25, 2015
·
35 revisions
Screen resolution : 1280x720 : Any monitor/TV which support this resolution could be connected.
Keymap with generic PC keyboard
- F1 : Home
- F2 : Back
- F3 : Menu
- F11 : Volume Down
- F12 : Volume Up
ADB connection
- Boot the android image with ethernet connected.
- Check IP address of the board at Settings->About->Status
- At host do 'adb connect '
Apply following patch under frameworks/base, to avoid logcat flood by mouse event.
core/java/android/view/GestureDetector.java
@@ line 490 @@ public class GestureDetector {
public boolean onTouchEvent(MotionEvent ev) {
+ switch(ev.getAction() & MotionEvent.ACTION_MASK) {
+ case MotionEvent.ACTION_HOVER_MOVE:
+ case MotionEvent.ACTION_HOVER_ENTER:
+ case MotionEvent.ACTION_HOVER_EXIT:
+ case MotionEvent.ACTION_BUTTON_PRESS:
+ case MotionEvent.ACTION_BUTTON_RELEASE:
+ case MotionEvent.ACTION_SCROLL:
+ return false;
+ }
if (mInputEventConsistencyVerifier != null) {
On eng build, Strict mode behavior - flash screen when apps do long operations on main thread - is enabled by default. We can avoid it by applying following patch. This option could be turned on via Settings -> Developer options -> Strict mode enabled.
core/java/android/os/StrictMode.java
@@ line 1068 @@ public final class StrictMode {
if (IS_ENG_BUILD) {
- doFlashes = true;
}