1.配置JDK环境(网上有很多教程)
2.APK反编译及编译工具
http://dl.dbank.com/c0asv6alqxweibo.com/linjingqi
修改过程
1.下载 APK反编译及编译工具v143.exe 放到任意目录下。
2.将要修改的软件apk包重命名成 123.apk 放到和1步骤同一目录下。
3.双击 APK反编译及编译工具v143.exe --> 1 -->Enter 获得一个同目录下的APK文件夹
4.打开 AndroidManifest.xml
【横屏方法】替换所有 portrait 为 landscape
示例:
android:screenOrientation="portrait" 换为android:screenOrientation="landscape"
【以下为全屏】
查看 <application >标签下的属性(如下红色标记):无theme属性(绿色标记部分)则继续步骤5;有theme属性则转到步骤6。
示例:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="13" android:versionName="3.9" package="cn.com.tc.assistant"
xmlns:android="...">
<application
android:theme="
@android:style/Theme.NoTitleBar.Fullscreen" android:label="
@string/app_name" android:icon="@drawable/zft_icon" android:name="Zft_Application" android:debuggable="true">
<activity ...
5.在<application >标签内添加
android:theme="
@android:style/Theme.NoTitleBar.Fullscreen" (4步骤中的例子为添加后的格式)--> 保存 -->退出
6.记录theme的名字(红色标记部分) -->退出
示例:
<application android:theme="
@style/
theme_customerTitle " android:label="
@string/app_name" android:icon="@drawable/icon" android:name="com.tencent.sc.app.QZoneApplication" android:debuggable="false">
-->打开 \res\values\styles.xml 查看对应theme ,添加两个元素(绿色部分)
示例:
....<style name=" theme_customerTitle " parent="android:Theme">
<item name="android:windowFullscreen">true</item>
<item name="android:windowNoTitle">true</item>
</style>.... --> 保存 -->退出
7.回到目录,打开 APK反编译及编译工具v143.exe --> 3 --> Enter
8.编译和签名结束后, \APK\build\已编译(已签名).apk 即为修改完成的apk安装包,安装后即可实现全屏。