# Basic configuration
# 1. Developer machine & data cable
# 1.1 Purchasing the imoo Watch Phone
There is no difference in the development of the imoo Z5 and XTC Z6. Please purchase the required watch models in e-commerce and offline channels according to App characteristics and testing requirements.
# 1.2 Obtaining a development data cable
Charging cables purchased on the market have no debugging permission. Please contact imoo to obtain the correct cable.
# 2. Version compatibility configuration
- The system version supports
Android 4.4
andAndroid 7.1
. In order to take into account compatibility issues for future models, theminSdkVersion
is19
,targetSdkVersion
is25
and JDK version must be1.7
.
- Manifest configuration
<uses-feature android:name="android.hardware.type.watch" />
# 3. Exit mode for interface
# Android 7.1 system
- The default theme supports right-slide-exit.
- To disable right-slide-exit, add the following code under theme configuration:
<item name="android:windowSwipeToDismiss">false</item>
# Android 4.4 system
- The default theme supports right-slide-exit.
- To disable right-slide-exit, use the following themes:
Theme.Black 、 Theme.Black.NoTitleBar or Theme.Black.NoTitleBar.Fullscreen
# 4. Installation method for watch App
# 4.1 Grant permission
To install the App, you need to contact imoo to enable ADB permission.
# 4.2 Permission status confirmation
After obtaining ADB permission, restart the watch and keep the network unobstructed. Slide to the "More" list of the watch to trigger a specific networking request, thereby obtaining the status of the current watch ADB permission (restart to slide to the "More" list to trigger the request).
# 4.3 Precautions
After the watch is upgraded, the ADB switch will be turned off. Please restart the watch and keep the network unobstructed and slide to the "More" list of the watch and the ADB permission switch will be turned on again.