version:1.3.1
fix: update:增加搜索提示,增加iplay50 mini iplay50 13
This commit is contained in:
328
app/src/debug/AndroidManifest.xml
Normal file
328
app/src/debug/AndroidManifest.xml
Normal file
@@ -0,0 +1,328 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.uiui.zyappstore"
|
||||
android:sharedUserId="android.uid.system">
|
||||
|
||||
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
|
||||
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
|
||||
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
||||
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
||||
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
|
||||
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
|
||||
<uses-permission android:name="android.permission.MASTER_CLEAR" />
|
||||
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
|
||||
<!-- 系统权限,有系统签名可以使用 -->
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<uses-permission android:name="com.uiui.zyappstore.permission.JPUSH_MESSAGE" />
|
||||
|
||||
<!-- 【必须】 移动推送 TPNS SDK VIP版本所需权限 -->
|
||||
<permission
|
||||
android:name="com.uiui.zyappstore.permission.XGPUSH_RECEIVE"
|
||||
android:protectionLevel="signature" />
|
||||
<uses-permission android:name="com.uiui.zyappstore.permission.XGPUSH_RECEIVE" />
|
||||
|
||||
<!-- 【必须】 移动推送 TPNS SDK 所需权限 -->
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
||||
|
||||
<!-- 【常用】 移动推送 TPNS SDK所需权限 -->
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.GET_TASKS" />
|
||||
|
||||
<application
|
||||
android:name="com.uiui.zyappstore.base.BaseApplication"
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTask"
|
||||
android:networkSecurityConfig="@xml/network"
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/ImmerseTheme">
|
||||
<activity android:name="com.uiui.zyappstore.activity.ClassAppActivity" />
|
||||
<activity android:name="com.uiui.zyappstore.activity.MoreAppActivity" />
|
||||
<activity android:name="com.uiui.zyappstore.activity.ManagerAppActivity" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.MainActivity"
|
||||
android:configChanges="keyboardHidden|screenSize"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.PrivacyPolicyActivity"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.UserAgreementActivity"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.CopyrightActivity"
|
||||
android:screenOrientation="behind" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.AboutActivity"
|
||||
android:screenOrientation="behind" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.SearcherActivity"
|
||||
android:screenOrientation="behind" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.HintActivity"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="sensor"
|
||||
android:theme="@style/activity_styles" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.KindDetailActivity"
|
||||
android:screenOrientation="behind" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.DetailsActivity"
|
||||
android:screenOrientation="behind" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.LocalManagerActivity"
|
||||
android:screenOrientation="behind" />
|
||||
<activity
|
||||
android:name="com.uiui.zyappstore.activity.DownloadManagerActivity"
|
||||
android:screenOrientation="behind" />
|
||||
|
||||
<service android:name="com.uiui.zyappstore.service.GuardService" />
|
||||
<service android:name="com.uiui.zyappstore.service.StepService" />
|
||||
<service android:name="com.uiui.zyappstore.service.DownloadService" />
|
||||
<service
|
||||
android:name="com.uiui.zyappstore.service.main.MainService"
|
||||
android:enabled="true"
|
||||
android:exported="true" />
|
||||
|
||||
<receiver
|
||||
android:name="com.uiui.zyappstore.receiver.BootReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true">
|
||||
<intent-filter android:priority="1000">
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver
|
||||
android:name="com.uiui.zyappstore.receiver.AppManagerReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:permission="com.example.broadcast.permission">
|
||||
<intent-filter android:priority="1000">
|
||||
<action android:name="android.intent.action.PACKAGE_ADDED" />
|
||||
<action android:name="android.intent.action.PACKAGE_REPLACED" />
|
||||
<action android:name="android.intent.action.PACKAGE_REMOVED" />
|
||||
<action android:name="android.intent.action.USER_PRESENT" />
|
||||
<action android:name="android.intent.action.BATTERY_CHANGED" />
|
||||
|
||||
<data android:scheme="package" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver
|
||||
android:name="com.uiui.zyappstore.receiver.InstallResultReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true" />
|
||||
<receiver
|
||||
android:name="com.uiui.zyappstore.receiver.NewAppReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:permission="com.example.broadcast.permission">
|
||||
<intent-filter android:priority="1000">
|
||||
<action android:name="android.intent.action.PACKAGE_ADDED" />
|
||||
<action android:name="android.intent.action.PACKAGE_REPLACED" />
|
||||
<action android:name="android.intent.action.PACKAGE_REMOVED" />
|
||||
|
||||
<data android:scheme="package" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<provider
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:authorities="com.uiui.zyappstore.fileprovider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
<meta-data
|
||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/file_paths" />
|
||||
</provider>
|
||||
|
||||
<activity
|
||||
android:name="com.tencent.android.tpush.TpnsActivity"
|
||||
android:exported="true"
|
||||
android:launchMode="singleInstance"
|
||||
android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||
<intent-filter>
|
||||
<action android:name="${applicationId}.OPEN_TPNS_ACTIVITY" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<data
|
||||
android:host="${applicationId}"
|
||||
android:scheme="tpns" />
|
||||
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.tencent.android.tpush.InnerTpnsActivity"
|
||||
android:exported="false"
|
||||
android:launchMode="singleInstance"
|
||||
android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||
<intent-filter>
|
||||
<action android:name="${applicationId}.OPEN_TPNS_ACTIVITY_V2" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<data
|
||||
android:host="${applicationId}"
|
||||
android:scheme="stpns" />
|
||||
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 【必须】 信鸽receiver广播接收 -->
|
||||
<receiver
|
||||
android:name="com.tencent.android.tpush.XGPushReceiver"
|
||||
android:exported="false"
|
||||
android:process=":xg_vip_service">
|
||||
<intent-filter android:priority="0x7fffffff">
|
||||
|
||||
<!-- 【必须】 信鸽SDK的内部广播 -->
|
||||
<action android:name="com.tencent.android.xg.vip.action.SDK" />
|
||||
<action android:name="com.tencent.android.xg.vip.action.INTERNAL_PUSH_MESSAGE" />
|
||||
<action android:name="com.tencent.android.xg.vip.action.ACTION_SDK_KEEPALIVE" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- 【必须】移动推送 TPNS service -->
|
||||
<service
|
||||
android:name="com.tencent.android.tpush.service.XGVipPushService"
|
||||
android:persistent="true"
|
||||
android:process=":xg_vip_service" />
|
||||
<!-- 【必须】通知 service ,android:name 部分改为包名.XGVIP_PUSH_ACTION -->
|
||||
<service
|
||||
android:name="com.tencent.android.tpush.rpc.XGRemoteService"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<!-- 【必须】请修改为当前APP名包.XGVIP_PUSH_ACTION -->
|
||||
<action android:name="com.uiui.zyappstore.XGVIP_PUSH_ACTION" />
|
||||
</intent-filter>
|
||||
</service> <!-- 【必须】【注意】authorities 修改为包名.XGVIP_PUSH_AUTH -->
|
||||
<provider
|
||||
android:name="com.tencent.android.tpush.XGPushProvider"
|
||||
android:authorities="com.uiui.zyappstore.XGVIP_PUSH_AUTH" />
|
||||
|
||||
<!-- 【必须】【注意】authorities 修改为包名.TPUSH_PROVIDER -->
|
||||
<provider
|
||||
android:name="com.tencent.android.tpush.SettingsContentProvider"
|
||||
android:authorities="com.uiui.zyappstore.TPUSH_PROVIDER" />
|
||||
|
||||
<!-- 【可选】用于增强保活能力 -->
|
||||
<provider
|
||||
android:name="com.tencent.android.tpush.XGVipPushKAProvider"
|
||||
android:authorities="com.uiui.zyappstore.AUTH_XGPUSH_KEEPALIVE"
|
||||
android:exported="true"
|
||||
tools:replace="android:exported" />
|
||||
|
||||
<!-- 【可选】APP实现的Receiver,用于接收消息透传和操作结果的回调,请根据需要添加 -->
|
||||
<!-- YOUR_PACKAGE_PATH.CustomPushReceiver需要改为自己的Receiver: -->
|
||||
<receiver android:name="com.uiui.zyappstore.push.tpush.MessageReceiver">
|
||||
<intent-filter>
|
||||
<!-- 接收消息透传 -->
|
||||
<action android:name="com.tencent.android.xg.vip.action.PUSH_MESSAGE" />
|
||||
<!-- 监听注册、反注册、设置/删除标签、通知被点击等处理结果 -->
|
||||
<action android:name="com.tencent.android.xg.vip.action.FEEDBACK" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- MQTT START -->
|
||||
<service
|
||||
android:name="com.tencent.tpns.mqttchannel.services.MqttService"
|
||||
android:exported="false"
|
||||
android:process=":xg_vip_service" />
|
||||
|
||||
<provider
|
||||
android:name="com.tencent.tpns.baseapi.base.SettingsContentProvider"
|
||||
android:authorities="com.uiui.zyappstore.XG_SETTINGS_PROVIDER"
|
||||
android:exported="false" />
|
||||
<!-- MQTT END -->
|
||||
|
||||
<!-- 消息接收监听器 (用户可自主扩展) -->
|
||||
<receiver
|
||||
android:name=".push.alipush.AliyunMessageReceiver"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="com.alibaba.push2.action.NOTIFICATION_OPENED" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="com.alibaba.sdk.android.push.RECEIVE" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<service
|
||||
android:name=".push.alipush.AliMessageIntentService"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="com.alibaba.push2.action.NOTIFICATION_OPENED" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="com.alibaba.sdk.android.push.RECEIVE" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<!-- 【必须】 请修改为 APP 的 AccessId,“15”开头的10位数字,中间没空格 -->
|
||||
<meta-data
|
||||
android:name="XG_V2_ACCESS_ID"
|
||||
android:value="1500033122" />
|
||||
<!-- 【必须】 请修改为APP的AccessKey,“A”开头的12位字符串,中间没空格 -->
|
||||
<meta-data
|
||||
android:name="XG_V2_ACCESS_KEY"
|
||||
android:value="A5QBQVQ7KLQD" />
|
||||
|
||||
<!-- 请填写你自己的- appKey -->
|
||||
<meta-data
|
||||
android:name="com.alibaba.app.appkey"
|
||||
android:value="333816246" />
|
||||
<!-- 请填写你自己的appSecret -->
|
||||
<meta-data
|
||||
android:name="com.alibaba.app.appsecret"
|
||||
android:value="b8cdbee64b5a4d1a8e212924ee71b0d3" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -17,6 +17,7 @@ import com.uiui.zyappstore.bean.AppInfo;
|
||||
import com.uiui.zyappstore.bean.BaseResponse;
|
||||
import com.uiui.zyappstore.common.CommonDatas;
|
||||
import com.uiui.zyappstore.network.NetInterfaceManager;
|
||||
import com.uiui.zyappstore.utils.ToastUtil;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -36,6 +37,8 @@ public class ClassAppActivity extends BaseActivity {
|
||||
RecyclerView mRecyclerView;
|
||||
@BindView(R.id.iv_nodata)
|
||||
ImageView iv_nodata;
|
||||
@BindView(R.id.iv_search)
|
||||
ImageView iv_search;
|
||||
|
||||
private AppAdapter mAppAdapter;
|
||||
|
||||
@@ -60,6 +63,12 @@ public class ClassAppActivity extends BaseActivity {
|
||||
if (!TextUtils.isEmpty(className)) {
|
||||
mMoreappTvTitle.setText(className);
|
||||
}
|
||||
iv_search.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
ToastUtil.show("功能暂未开放");
|
||||
}
|
||||
});
|
||||
int classId = intent.getIntExtra(CommonDatas.APP_CLASS_ID, 0);
|
||||
mAppAdapter = new AppAdapter(this);
|
||||
GridLayoutManager gridLayoutManager = new GridLayoutManager(this, 2);
|
||||
|
||||
@@ -18,6 +18,7 @@ import com.uiui.zyappstore.bean.BaseResponse;
|
||||
import com.uiui.zyappstore.common.CommonDatas;
|
||||
import com.uiui.zyappstore.fragment.FeaturedFragment;
|
||||
import com.uiui.zyappstore.network.NetInterfaceManager;
|
||||
import com.uiui.zyappstore.utils.ToastUtil;
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
@@ -37,6 +38,8 @@ public class MoreAppActivity extends BaseActivity {
|
||||
RecyclerView mRecyclerView;
|
||||
@BindView(R.id.iv_nodata)
|
||||
ImageView iv_nodata;
|
||||
@BindView(R.id.iv_search)
|
||||
ImageView iv_search;
|
||||
|
||||
private AppAdapter mAppAdapter;
|
||||
|
||||
@@ -62,6 +65,12 @@ public class MoreAppActivity extends BaseActivity {
|
||||
} else if (FeaturedFragment.POPULAR_APP.equals(extra)) {
|
||||
getAdminApp();
|
||||
}
|
||||
iv_search.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
ToastUtil.show("功能暂未开放");
|
||||
}
|
||||
});
|
||||
mAppAdapter = new AppAdapter(this);
|
||||
GridLayoutManager gridLayoutManager = new GridLayoutManager(this, 2);
|
||||
mRecyclerView.setLayoutManager(gridLayoutManager);
|
||||
|
||||
@@ -210,10 +210,14 @@ public class NetInterfaceManager {
|
||||
set.add(JGYUtils.UZY12Tag);
|
||||
} else if (platform == JGYUtils.Cube8183Platform) {
|
||||
set.add(JGYUtils.Cube8183Tag);
|
||||
}else if (platform == JGYUtils.Teclast8183Platform) {
|
||||
} else if (platform == JGYUtils.Teclast8183Platform) {
|
||||
set.add(JGYUtils.TeclastMTK12Tag);
|
||||
}else if (platform == JGYUtils.ipaly50SEPlatform) {
|
||||
} else if (platform == JGYUtils.ipaly50SEPlatform) {
|
||||
set.add(JGYUtils.ipaly50SETag);
|
||||
} else if (platform == JGYUtils.iPlayMiniPlatform) {
|
||||
set.add(JGYUtils.iPlayMiniTag);
|
||||
} else if (platform == JGYUtils.iPlay5013Platform) {
|
||||
set.add(JGYUtils.iPlay5013Tag);
|
||||
}
|
||||
});
|
||||
setpushTag(set);
|
||||
@@ -237,12 +241,12 @@ public class NetInterfaceManager {
|
||||
pushService.bindTag(CloudPushService.DEVICE_TARGET, tag, null, new CommonCallback() {
|
||||
@Override
|
||||
public void onSuccess(String s) {
|
||||
Log.e("bindTag","bind tag " + Arrays.toString(tag) + " success\n");
|
||||
Log.e("bindTag", "bind tag " + Arrays.toString(tag) + " success\n");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailed(String errorCode, String errorMsg) {
|
||||
Log.e("bindTag","bind tag " + Arrays.toString(tag) + " failed." +
|
||||
Log.e("bindTag", "bind tag " + Arrays.toString(tag) + " failed." +
|
||||
"errorCode: " + errorCode + ", errorMsg:" + errorMsg + "\n");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -59,6 +59,8 @@ public class JGYUtils {
|
||||
public static final int Cube8183Platform = 8;
|
||||
public static final int Teclast8183Platform = 9;
|
||||
public static final int ipaly50SEPlatform = 10;
|
||||
public static final int iPlayMiniPlatform = 13;
|
||||
public static final int iPlay5013Platform = 14;
|
||||
public static final int UnknowPlatform = 0;
|
||||
|
||||
public static final String MTKTag = "MTK";
|
||||
@@ -69,6 +71,8 @@ public class JGYUtils {
|
||||
public static final String Cube8183Tag = "cube8183";
|
||||
public static final String TeclastMTK12Tag = "teclast8183";
|
||||
public static final String ipaly50SETag = "ipaly50SE";
|
||||
public static final String iPlayMiniTag = "T811";
|
||||
public static final String iPlay5013Tag = "iplay5013";
|
||||
|
||||
|
||||
private JGYUtils(Context context) {
|
||||
@@ -333,19 +337,26 @@ public class JGYUtils {
|
||||
} else if (UZY12Tag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "UZY12");
|
||||
return UZY12Platform;
|
||||
}else if (Cube8183Tag.equalsIgnoreCase(platform)) {
|
||||
} else if (Cube8183Tag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "cube8183");
|
||||
return Cube8183Platform;
|
||||
} else if (TeclastMTK12Tag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "teclast8183");
|
||||
return Teclast8183Platform;
|
||||
}else if (ipaly50SETag.equalsIgnoreCase(platform)) {
|
||||
} else if (ipaly50SETag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "ipaly50SE");
|
||||
return ipaly50SEPlatform;
|
||||
} else if (iPlayMiniTag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "ipaly50 mini");
|
||||
return iPlayMiniPlatform;
|
||||
} else if (iPlay5013Tag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "ipaly50 13");
|
||||
return iPlay5013Platform;
|
||||
} else {
|
||||
Log.i(TAG, "checkAppPlatform: " + "没有数据");
|
||||
return UnknowPlatform;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public boolean isSamePlatform(String platform) {
|
||||
@@ -379,6 +390,10 @@ public class JGYUtils {
|
||||
getAppPlatformCallback.AppPlatform(Cube8183Platform);
|
||||
} else if (ipaly50SETag.equalsIgnoreCase(platform)) {
|
||||
getAppPlatformCallback.AppPlatform(ipaly50SEPlatform);
|
||||
} else if (iPlayMiniTag.equalsIgnoreCase(platform)) {
|
||||
getAppPlatformCallback.AppPlatform(iPlayMiniPlatform);
|
||||
} else if (iPlay5013Tag.equalsIgnoreCase(platform)) {
|
||||
getAppPlatformCallback.AppPlatform(iPlay5013Platform);
|
||||
} else {
|
||||
getAppPlatformCallback.AppPlatform(UnknowPlatform);
|
||||
}
|
||||
@@ -412,7 +427,7 @@ public class JGYUtils {
|
||||
mContext.sendBroadcast(bootIntent);
|
||||
}
|
||||
|
||||
public String getIMEI() {
|
||||
public String getIMEI() {
|
||||
String IMEI = "unknow";
|
||||
String IMEI1, IMEI2, IMEI3;
|
||||
//获取手机设备号
|
||||
@@ -494,7 +509,7 @@ public class JGYUtils {
|
||||
Log.e(TAG, "subscribe: " + apkPath);
|
||||
String pkg = ApkUtils.getPackageName(mContext, apkPath);
|
||||
// if (externalPkg.contains(pkg)) {
|
||||
packageListMap.put(pkg, apkPath);
|
||||
packageListMap.put(pkg, apkPath);
|
||||
// } else {
|
||||
// Log.e(TAG, "checkLocalAppInstall: skip: " + pkg + " fileName: " + fileName);
|
||||
// }
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/moreapp_iv_back" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_search"
|
||||
android:layout_width="@dimen/dp_12"
|
||||
android:layout_height="@dimen/dp_12"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/moreapp_iv_back" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_search"
|
||||
android:layout_width="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
|
||||
Reference in New Issue
Block a user