Comments (4)
A combination of an emulator skin with:
- Custom graphics
- Custom key mapping
- Custom buttons in skin layout
http://stackoverflow.com/questions/5567475/adding-a-button-to-the-android-emulator-skin
http://heikobehrens.net/2011/03/15/android-skins/
from openxc-android.
Key mapping is actually not supported in the capacity we need - you can only specify keys for predefined emulator events:
BUTTON_HOME BUTTON_VOLUME_DOWN BUTTON_DPAD_CENTER
BUTTON_MENU BUTTON_CAMERA BUTTON_DPAD_LEFT
BUTTON_STAR CHANGE_LAYOUT_PREV BUTTON_DPAD_RIGHT
BUTTON_BACK CHANGE_LAYOUT_NEXT BUTTON_DPAD_UP
BUTTON_CALL TOGGLE_NETWORK BUTTON_DPAD_DOWN
BUTTON_HANGUP TOGGLE_TRACING ONION_ALPHA_UP
BUTTON_POWER TOGGLE_FULLSCREEN ONION_ALPHA_DOWN
BUTTON_SEARCH TOGGLE_TRACKBALL
BUTTON_VOLUME_UP SHOW_TRACKBALL
from openxc-android.
Short of changing the source of the emulator, I think the best thing we can recommend is to implement button event handlers in your application to accept either VehicleButtonEvent from OpenXC or the plain key events from Android.
from openxc-android.
I've documented the recommended method in openxc-android - we can revisit a custom emulator in the future.
from openxc-android.
Related Issues (20)
- java.lang.NullPointerException in StatusFragment.java:114
- java.lang.RuntimeException in Handler.java:197
- v6.1.4 and later doesn't make a good connection to USB or BT VI HOT 14
- java.lang.NullPointerException in GEL HOT 2
- java.lang.RuntimeException in ContextImpl.java:1808
- Support reading from embedded can HOT 1
- About Odometer Reading HOT 1
- Add new tab to allow sending control commands on-demand HOT 1
- Messages with multiple statuses (e.g. Door Status) are not showing in dashboard on enabler HOT 1
- Change timestamp for recorded trace from current time to recorded timestamp HOT 3
- Adding documentation to use a local copy of the OpenXC library HOT 2
- mKey being added to messages when recording a trace from enabler HOT 2
- New Updates to Bugsnag gradle plugin break the Gradle build process. HOT 1
- Large diagnostic response payloads cause JSON parsing error HOT 2
- Inner classes references leaks HOT 7
- Name of messages to be changed to match openxc-message-format HOT 4
- Value of the messages to be rounded off to 2 decimals HOT 2
- How to setResult large size in Android HOT 1
- VI connection Listener HOT 3
- Do you plan to migrate from jcenter? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openxc-android.