String language = locale.getLanguage();
if (SystemUtils.isH88()) {
return mH88AppList;
+ }else if (SystemUtils.isS123()){
+ return mS123DefaultAppList;
}else{
if (language.contains("zh")) {
return mL02DefaultAppList;
}
}
}
+ /**
+ * 拨号的顺序不能变 在低电量模式下会查找这个列表,然后查找索引为1的拨号,
+ * 如果要修改 请到 {@link LowPowerModeFragment} 中一并修改
+ **/
+ private static final List<AppInfoEntity> mS123DefaultAppList = new ArrayList<AppInfoEntity>() {
+ {
+
+ //体温
+ if(temperature_sensor_available) {
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_temperature_h88, R.string.app_h88_temperature,
+ "com.ic.launcher", "com.ic.launcher.AnimalHeatActivity"));
+ }
+ //心率
+ if(ppg_ecg_sensor_available) {
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_heartrate_l02, R.string.app_name_heartRate,
+ "com.ic.blood", "com.ic.blood.BloodActivity"));
+ }
+ //运动
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_pedometer_l02, R.string.app_Sport,
+ "com.ic.hardware", "com.ic.hardware.PedometerActivity"));
+ //联系人
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_contacts_l02, R.string.app_ContactName,
+ "com.enqualcomm.imessage", "com.enqualcomm.imessage.ui.PhoneDirectoryActivity"));
+ //拨号
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_dialer_l02, R.string.app_dialer,
+ "com.ic.dial", "com.ic.dial.MainActivity"));
+
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_talk_l02, R.string.app_VideoCall,
+// "com.ic.somo.meeting", "com.ic.somo.meeting.MainActivity"));
+
+
+ //微聊
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_talk_l02, R.string.app_Chat,
+// "com.enqualcomm.imessage", "com.enqualcomm.imessage.ui.MicroChatActivity"));
+// //天气
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_weather_l02, R.string.app_Weather,
+// "com.ic.weather", "com.ic.weather.WeatherActivity"));
+
+
+
+// //支付包
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_alipay_l02, R.string.app_AliPay,
+// "com.eg.android.AlipayGphone", "com.alipay.watch.ui.MainActivity"));
+ //相机
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_camera_l02, R.string.app_Camera,
+ "com.eqc.camera", "com.eqc.camera.TakePictureActivity"));
+ //相册
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_albumn_l02, R.string.app_Album,
+ "com.eqc.gallery", "com.eqc.gallery.ui.LocalAlbumDetail"));
+ //短信
+ 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_language_h88, R.string.app_h88_language,
+ "com.eqc.eqcguide", "com.eqc.eqcguide.MainActivity"));
+ //设置
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_settings_l02, R.string.main_manu_settings,
+ "com.eqc.settings", "com.eqc.settings.MainActivity"));
+ }
+ };
/**
* 拨号的顺序不能变 在低电量模式下会查找这个列表,然后查找索引为1的拨号,
//拨号
add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_dialer_l02, R.string.app_dialer,
"com.ic.dial", "com.ic.dial.MainActivity"));
+
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_talk_l02, R.string.app_VideoCall,
+// "com.ic.somo.meeting", "com.ic.somo.meeting.MainActivity"));
+
//运动
add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_pedometer_l02, R.string.app_Sport,
"com.ic.hardware", "com.ic.hardware.PedometerActivity"));
//微聊
- add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_talk_l02, R.string.app_Chat,
- "com.enqualcomm.imessage", "com.enqualcomm.imessage.ui.MicroChatActivity"));
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_talk_l02, R.string.app_Chat,
+// "com.enqualcomm.imessage", "com.enqualcomm.imessage.ui.MicroChatActivity"));
// //天气
// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_weather_l02, R.string.app_Weather,
// "com.ic.weather", "com.ic.weather.WeatherActivity"));
//心率
if(ppg_ecg_sensor_available) {
- add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_heartrate_l02, R.string.app_name_heart,
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_heartrate_l02, R.string.app_name_heartRate,
"com.ic.blood", "com.ic.blood.BloodActivity"));
}
if(temperature_sensor_available) {
"com.ic.launcher", "com.ic.launcher.AnimalHeatActivity"));
}
- //支付包
- add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_alipay_l02, R.string.app_AliPay,
- "com.eg.android.AlipayGphone", "com.alipay.watch.ui.MainActivity"));
+// //支付包
+// add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_alipay_l02, R.string.app_AliPay,
+// "com.eg.android.AlipayGphone", "com.alipay.watch.ui.MainActivity"));
//相机
add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_camera_l02, R.string.app_Camera,
"com.eqc.camera", "com.eqc.camera.TakePictureActivity"));
"com.ic.hardware", "com.ic.hardware.PedometerActivity"));
//心率
if(ppg_ecg_sensor_available) {
- add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_heartrate_l02, R.string.app_name_heart,
+ add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_heartrate_l02, R.string.app_name_heartRate,
"com.ic.blood", "com.ic.blood.BloodActivity"));
}