-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":169,"versionName":"202011022110","enabled":true,"outputFile":"ICL02Launcher_V169_202011022110_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Launcher_V169_202011022110_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":171,"versionName":"202011051108","enabled":true,"outputFile":"ICL02Launcher_V171_202011051108_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Launcher_V171_202011051108_release.apk","properties":{}}]
\ No newline at end of file
String language = locale.getLanguage();
if (SystemUtils.isH88()) {
return mH88AppList;
+ }else if (SystemUtils.h88tinyMode()) {
+ return mH88TinyAppList;
}else if (SystemUtils.isS123()) {
return mS123DefaultAppList;
}else if (SystemUtils.isYT()){
private static final List<AppInfoEntity> mH88AppList = new ArrayList<AppInfoEntity>() {
{
+
add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_qr_code_h88, R.string.app_h88_qrcode,
"com.ic.launcher", "com.ic.launcher.QrCodeActivity"));
}
};
+
+ private static final List<AppInfoEntity> mH88TinyAppList = new ArrayList<AppInfoEntity>() {
+ {
+
+ //短信
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_sms_l02, R.string.app_Sms,
+ "com.zmapp.sms", "com.zmapp.sms.MainActivity"));
+ //设置
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_settings_l02, R.string.main_manu_settings,
+ "com.eqc.settings", "com.eqc.settings.MainActivity"));
+
+ }
+ };
}
Log.i(TAG,"isS123");
mainBinding.setShowStep(View.GONE);
mainBinding.setShowTemp(View.VISIBLE);
+ mainBinding.setShowHR(View.VISIBLE);
+ }else if(SystemUtils.h88tinyMode()) {
+ Log.i(TAG,"h88tiny");
+ mainBinding.setShowTemp(View.GONE);
+ mainBinding.setShowStep(View.GONE);
+ mainBinding.setShowHR(View.GONE);
+
}else{
Log.i(TAG,"not S123");
mainBinding.setShowTemp(View.GONE);
mainBinding.setShowStep(View.VISIBLE);
-
-
+ mainBinding.setShowHR(View.VISIBLE);
}
//监听事件
initOnTouchListener(mainBinding.getRoot());
}
return false;
}
+
+ public static boolean h88tinyMode(){
+ String launcher=getLauncherName();
+ if (launcher.equals("h88tiny")){
+ return true;
+ }
+ return false;
+ }
public static boolean isH88()
{
String launcher=getLauncherName();
<variable
name="gpsStatus"
type="boolean" />
+
+ <variable
+ name="showHR"
+ type="int" />
<variable
name="showTemp"
type="int" />
style="@style/watchDateIconStyle"
android:layout_alignParentStart="true"
android:layout_marginStart="10dp"
+ android:visibility="@{showHR}"
android:src="@mipmap/clockl02_heartrate_icon" />
<TextView
android:id="@+id/l02_heart_value"
style="@style/watchDateIconTextStyle"
android:layout_marginStart="5dp"
+ android:visibility="@{showHR}"
android:layout_toEndOf="@id/l02_heart_img"
android:text="@{heartValue}" />
<ImageView
style="@style/watchDateIconStyle"
android:layout_width="44dp"
android:layout_height="47dp"
+ android:visibility="@{showHR}"
android:layout_toEndOf="@id/l02_heart_value"
android:src="@mipmap/spo2" />
android:id="@+id/l02_spo2_value"
style="@style/watchDateIconTextStyle"
android:layout_marginStart="2dp"
+ android:visibility="@{showHR}"
android:layout_toEndOf="@id/s123_spo2_img"
android:text="@{spo2value}" />
<ImageView
android:id="@+id/l02_pedometer_img"
style="@style/watchDateIconStyle"
android:layout_toEndOf="@id/l02_spo2_value"
+ android:visibility="@{showStep}"
android:src="@mipmap/clockl02_pedometer" />
<TextView
android:id="@+id/l02_pedometer_value"
style="@style/watchDateIconTextStyle"
android:layout_marginStart="2dp"
+ android:visibility="@{showStep}"
android:layout_toEndOf="@id/l02_pedometer_img"
android:text="@{stepValue}" />
<variable
name="showStep"
type="int" />
-
+ <variable
+ name="showHR"
+ type="int" />
<variable
name="heartValue"
type="String" />
-#Mon Nov 02 21:10:10 CST 2020\r
-VERSION_CODE=169\r
+#Thu Nov 05 11:08:58 CST 2020\r
+VERSION_CODE=171\r