MOVERIO
BT-300 Documentation

4. UI Control

4.1. UI control summary

4.1.1. Hardware button types and functions

The BT-300 comes with the hardware buttons shown in the following figure. The key event for each key is shown in Table 4-1 Key Code List.

Table 4-1 Key Code List
Name Key code Device type
Power button (KEYCODE_POWER) Physical switch
HOME key (KEYCODE_HOME) Touch Sensor
BACK key KEYCODE_BACK Touch Sensor
History key
(Recent key)
(KEYCODE_RECENT) Touch Sensor
Switch key (KEYCODE_MULTIFUNCTION) Physical switch
Volume Up KEYCODE_VOLUME_UP Physical switch
Volume Down KEYCODE_VOLUME_DOWN Physical switch
Up KEYCODE_DPAD_UP Touch Sensor
Down KEYCODE_DPAD_DOWN Touch Sensor
Left KEYCODE_DPAD_LEFT Touch Sensor
Right KEYCODE_DPAD_RIGHT Touch Sensor
Enter key KEYCODE_DPAD_CENTER Physical switch

* When there are parenthesis, events are not notified in the app.

4.1.2. Events that can be acquired by the app during track pad operations

The following table indicates whether or not an event occurs for each method when the track pad is operated for relative coordinates mode and absolute coordinates mode.

Class Method Operation Event
View onTouchEvent  
dispatchTouchEvent  
GestureDetector.OnDoubleTapListener onDown  
onFing  
onLongPress  
onScroll  
onShowPress  
onSingleTapUp  
MotionEvent getAction ACTION_UP
ACTION_DOWN
ACTION_MOVE
ACTION_CANCEL
ACTION_HOVER_ENTER
ACTION_HOVER_EXIT
ACTION_HOVER_MOVE
getToolType TOOL_TYPE_FINGER  
TOOL_TYPE_MOUSE
TOOL_TYPE_STYLUS  
TOOL_TYPE_UNKNOWN  
getX  
getY  
getDownTime  
getPointerCount  
getPointerld  
getSize    
getToolMajor    
getToolMinor    
getTouchMajor    
getTouchMinor    
getEventTime  
getPressure    
Go to Top