马上注册,享用更多功能,让你轻松玩转DOSPY论坛-诺亚方舟号
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 Spz2022 于 2022-7-14 20:59 编辑
众所周知 J2ME Runner 的作者是一家公司的成员,后来这个公司关闭了,所以那个服务器也关了,导致我们转换不了jar
你肯定想说 2022了谁还用 J2ME Runner,用 J2ME Loader,不就可以了吗?
首先 Android 2.3 不支持 J2ME Loader
此时又来一个题外话 用ppspp模拟器,然后用java模拟器,可是我的手机是armv5,总而言之,复活 J2ME Runner是必然的
复活进度 10%
我发现了 midp2apk 一个有趣的项目
项目地址 https://github.com/GFOXSH/midp2apk/
对此我重度观察,但是里面的教程我看不懂..
教程地址
https://github.com/GFOXSH/midp2apk/wiki/Instruction
所以能不能帮忙,通过上面的步骤编译出一个apk来
帮助条件
有一个jar软件
(可选)英语技术很高
英语教程
# How to convert jar to apk for using whith Java J2ME Runner?
1. Clone this repository to your device.
2. Copy jar files to "libs" directory.
3. Open this jar file as zip-archive.
4. Open META-INF/MANIFEST.MF file.
5. Find MIDlet-1 string. It must contains 3 parameters: app name, app icon and app main MIDlet.
6. Edit AndroidManifest.xml and MainMIDlet.java. Enter application name instead "AppName", path to icon png instead /icon.png and main MIDlet name instead MainMIDlet.
7. Rename MainMIDlet.java as named main main MIDlet in jad. Correct new java-file and AndroidManifest.xml.
8. Change package name. Rename "application" folder and change it in AndroidManifest.xml and new java-file.
9. Open external.jar as zip-archive.
10. List all *.class files in classnames.txt file, finishing all strings by "=" symbol.
11. Copy all information from original jad-flie or (if there is no) from MANIFEST.MF to file "jad" in "external.jar".
12. Rename app icon file to "icon.png" and copy to /res/drawable/ directory.
Well done, your ready to build!
没完待续.... |
|