站点图标 姿势小王子

fusion app安装腾讯X5内核

自己用fusion app将自己的几个网站都转成了app,用fa小半天基本上就可以搞定一个简单的app。安装x5内核,app更加稳定,不容易闪退。

1.下载需要的工具,蓝奏云

2.以姿势app为例,mt管理器,查看姿势app,删除全部classes文件,复制下载的classes.dex文件和lib文件夹到姿势app中。

3.反编译AndroidMainfest.xml。在下图位置添加一下代码。

<meta-data android:name="android.support.VERSION" android:value="25.3.1" />
<meta-data android:name="android.support.VERSION" android:value="25.3.1" />		
<meta-data android:name="QBSDKAppKey" android:value="vmV2y4T7vvkwtQBS1nKXWMPj" />
<activity android:label="浏览器" android:name="com.androlua.LuaWebView" android:process=":h5" android:screenOrientation="portrait" android:configChanges="0x4a0" />
<activity android:label="浏览器" android:name="com.androlua.MyWebView" android:process=":h5" android:screenOrientation="portrait" android:configChanges="0x4a0" />
<activity android:name="com.tencent.smtt.sdk.VideoActivity" android:exported="false" android:launchMode="singleTask" android:configChanges="0x4a0" android:alwaysRetainTaskState="true">							<intent-filter>										<action android:name="com.tencent.smtt.tbs.video.PLAY" />													<category android:name="android.intent.category.DEFAULT" />															</intent-filter>																</activity>

在如图所示,添加以下代码。

<!-- 防止手机休眠 -->    <uses-permission android:name="android.permission.WAKE_LOCK" />    
<!-- 展开/收拢状态栏 -->    <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />    
<!-- 拍摄照片和视频 -->    <uses-permission android:name="android.permission.CAMERA" />    
<!-- 录音 -->    <uses-permission android:name="android.permission.RECORD_AUDIO" />    
<!-- 访问大致位置信息(以网络为依据) -->    
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />    
<!-- 访问确切位置信息(以 GPS 和网络为依据) -->    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />    
<!-- 设置闹钟 -->    <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />   
 <!-- 连接WLAN网络和断开连接 -->    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />   
 <!-- 更改网络连接性 -->    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />   
 <!-- 检索正在运行的应用 -->    <uses-permission android:name="android.permission.GET_TASKS" />    
<!-- 开机启动 -->    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />   
 <!-- 控制振动 -->    <uses-permission android:name="android.permission.VIBRATE" />    <uses-permission android:name="android.permission.FLASHLIGHT" />    
<!-- 此应用可显示在其他应用上方 -->    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />   
 <!-- 设置壁纸 -->    <uses-permission android:name="android.permission.SET_WALLPAPER" />   
 <!-- 更改您的音频设置 -->    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />    
<!-- 卸载快捷方式 -->    <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />    <!-- 安装快捷方式 -->    
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />    <!-- 修改系统设置 -->    
<uses-permission android:name="android.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.google.android.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.google.android.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.htc.launcher.permission.READ_SETTINGS" />    
<uses-permission android:name="com.htc.launcher.permission.WRITE_SETTINGS" />   
 <uses-permission android:name="com.nd.android.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.nd.android.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.lge.launcher.permission.READ_SETTINGS" />    
<uses-permission android:name="com.lge.launcher.permission.WRITE_SETTINGS" />    
<uses-permission android:name="com.fede.launcher.permission.READ_SETTINGS" />    
<uses-permission android:name="com.fede.launcher.permission.WRITE_SETTINGS" />    
<uses-permission android:name="org.adw.launcher.permission.READ_SETTINGS" />    
<uses-permission android:name="org.adw.launcher.permission.WRITE_SETTINGS" />    
<uses-permission android:name="org.adwfreak.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="org.adwfreak.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="org.adw.launcher_donut.permission.READ_SETTINGS" />    <uses-permission android:name="org.adw.launcher_donut.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.tencent.qqlauncher.permission.READ_SETTINGS" />    <uses-permission android:name="com.tencent.qqlauncher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.android.mylauncher.permission.READ_SETTINGS" />    <uses-permission android:name="com.android.mylauncher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.huawei.launcher2.permission.READ_SETTINGS" />    <uses-permission android:name="com.huawei.launcher2.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.huawei.launcher3.permission.READ_SETTINGS" />    <uses-permission android:name="com.huawei.launcher3.permission.WRITE_SETTINGS" />    <uses-permission android:name="net.qihoo.launcher.permission.READ_SETTINGS" />   
 <uses-permission android:name="net.qihoo.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.dianxinos.dxhome.permission.READ_SETTINGS" />    <uses-permission android:name="com.dianxinos.dxhome.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.huawei.android.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.huawei.android.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.qihoo360.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.qihoo360.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.oppo.launcher.permission.READ_SETTINGS" />    
<uses-permission android:name="com.oppo.launcher.permission.WRITE_SETTINGS" />   
 <uses-permission android:name="com.bbk.launcher2.permission.READ_SETTINGS" />   
 <uses-permission android:name="com.bbk.launcher2.permission.WRITE_SETTINGS" />   
 <uses-permission android:name="com.ztemt.launcher.permission.READ_SETTINGS" />   
 <uses-permission android:name="com.ztemt.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />    <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.moxiu.launcher.permission.READ_SETTINGS" />   
 <uses-permission android:name="com.moxiu.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.iLoong.permission.READ_SETTINGS" />    <uses-permission android:name="com.iLoong.permission.WRITE_SETTINGS" />    <uses-permission android:name="telecom.mdesk.permission.READ_SETTINGS" />   
 <uses-permission android:name="telecom.mdesk.permission.WRITE_SETTINGS" />   
 <uses-permission android:name="com.lenovo.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.lenovo.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.meizu.flyme.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.meizu.flyme.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.google.android.apps.nexuslauncher.permission.READ_SETTINGS" />    <uses-permission android:name="com.google.android.apps.nexuslauncher.permission.WRITE_SETTINGS" />    <uses-permission android:name="com.teslacoilsw.launcher.permission.READ_SETTINGS" />    <uses-permission android:name="com.teslacoilsw.launcher.permission.WRITE_SETTINGS" />    <uses-permission android:name="android.permission.READ_LOGS" />    <uses-permission android:name="com.tencent.tmsecurelite.permission.ACCESS_SERVICE" />    <uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE" />    <uses-permission android:name="com.sec.android.provider.badge.permission.READ" />    <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE" />    <uses-permission android:name="com.android.ContactWidget.permission.READ_SETTINGS" />    <uses-permission android:name="com.android.ContactWidget.permission.WRITE_SETTINGS" />    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />    <uses-permission android:name="com.lenovo.launcher.permission.BADGE_READ" />    <uses-permission android:name="com.lenovo.launcher.permission.BADGE_WRITE" />    <uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE" />    <!-- 读取同步统计信息 -->   
 <uses-permission android:name="android.permission.READ_SYNC_STATS" />    <!-- 启用和停用同步 -->  
 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />  
  <!-- 读取同步设置 -->    
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />    
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />  
  <uses-permission android:name="com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE" />    <uses-feature android:name="android.hardware.camera" />    
<uses-feature android:glEsVersion="0x00020000" />

4.签名,打包安装。

5.安装x5内核。app随便添加一个点击事件,加载网页,http://debugtbs.qq.com

姿势app及源码下载,蓝奏云

退出移动版