Native JAD/JAR - Android Apps and Games

Hey guys I searched a lot around the net but i couldn't find something only an app that "compiles" a java script if you type itt in the window and displays a result (not good enough) and another one that plays some java games.
I need an app that runs JARs or JADs from the phone. Any clues?

JRE for Android would be awesome!

Have a look at www netmite.com/android/srv/2.0/getapk.php
It takes your J2ME java & jad files and converts them into an apk.
I've used this site for converting a Lotus Sametime java applet into an Android apk:
chall32.blogspot.com/2010/09/lotus-sametime-for-android.html
-Chris

chall32 said:
Have a look at www netmite.com/android/srv/2.0/getapk.php
It takes your J2ME java & jad files and converts them into an apk.
I've used this site for converting a Lotus Sametime java applet into an Android apk:
chall32.blogspot.com/2010/09/lotus-sametime-for-android.html
-Chris
Click to expand...
Click to collapse
well unfortunately i only hav4e the jar file :S

Looks like you can create a jad from a jar file. Have a look at:
wiki.forum.nokia.com/index.php/Generate_JAD_from_JAR_file

chall32 said:
Looks like you can create a jad from a jar file. Have a look at:
wiki.forum.nokia.com/index.php/Generate_JAD_from_JAR_file
Click to expand...
Click to collapse
wow thx! created the jad file and then compiled to apk! excellent! thx!

oh i got an app that CAN run java. i think i've seen this somewhere before. it's called JBLEND
www.aplix.co.jp

Related

High-performance executable packer, UPX

Dear Guys,
I have stummble across this tools on the net, UPX, and would like to hightlight it to the great community of XDA-developers. It's a high-performance executable packer for several different executable formats, exspecially arm/pe (ARM executables and DLLs running on WinCE).
This is a command-line tools but a GUL front-end call GUI4UPX is available here. I'm compressing the files on my Dopod 818 Pro and the result is exciting. I'm suggesting that ROMcookers can use this tools in their future version of customed ROM so that we can have more space for for stuff!
Note: Application running using .Net Framework WILL NOT work. Cheers
voided said:
Dear Guys,
I have stummble across this tools on the net, UPX, and would like to hightlight it to the great community of XDA-developers. It's a high-performance executable packer for several different executable formats, exspecially arm/pe (ARM executables and DLLs running on WinCE).
This is a command-line tools but a GUL front-end call GUI4UPX is available here. I'm compressing the files on my Dopod 818 Pro and the result is exciting. I'm suggesting that ROMcookers can use this tools in their future version of customed ROM so that we can have more space for for stuff!
Note: Application running using .Net Framework WILL NOT work. Cheers
Click to expand...
Click to collapse
After installing all my software (over and over again) I try to UPX as many files as I can. It really makes a difference in space
You could also drag all the .DLL and .EXE files to your PC and have them UPX-ed all at once. But mostly I do this when I have some spare time or need to wait a while. Great App!
do you know upx4ppc?
LordDeath said:
do you know upx4ppc?
Click to expand...
Click to collapse
Yeah! But didn't use it because it requires alot of resources on your PocketPC during Compression and it slower during the compression. We are not sure which version of UPX, upx4ppc is for also. As the lastest should always have the best Algo, it always use the Windows Version.
Cheers
One big difference is also that UPX on the PC allows you to select multiple files

J2me To .apk

Looking for a program to convert .JAR to .APK so I can install programs/games on G1
The progam/app at http://www.netmite.com/android/ automatically converts .JAr to apk, but only does so from the Web, and I've tried to direct its url option to a a .JAR I've web hosted and it doesn't do anything, doesn't download the file or anything.
The sites that it gives you to choice from under its menu option suck, and don't allow files to be uploaded, most of the files don't support touch screen and don't work well with the G1's front soft keys.
J2ME MIDP Explorer just needs an option to install/ convert from the sd card
I've got a bunch of Java midlets on my PC and I want to get them to my G1 or at least play around with them in the emulator.
Any ideas?
Thanks
Maybe this is in the wrong Forum? Mods any thought?
Thanks
Dalamak said:
Maybe this is in the wrong Forum? Mods any thought?
Thanks
Click to expand...
Click to collapse
You can't just convert a jar to an apk. It has to be compiled for android. Android's java library doesn't have all the swing stuff that's in normal java, so the app most likely would have to be re-written to work on android
JesusFreke said:
You can't just convert a jar to an apk. It has to be compiled for android. Android's java library doesn't have all the swing stuff that's in normal java, so the app most likely would have to be re-written to work on android
Click to expand...
Click to collapse
Pretty sure MIDlets (MIDP jars) don't use Swing or awt. They have a separate user interface api under javax.microedition.lcdui
As for converting MIDP programs to runnable APKs, there is certainly a way. Technically it isn't a conversion but the use of a wrapper around the unconverted MIDlet. This is the approach that Opera Mini for Android uses. More info:
http://labs.opera.com/news/2008/04/10/
From the same article:
"The only major task was to replace the AWT/Swing graphics backend of MicroEmulator with Android specific APIs."
Id quite like this to work with bloover, though the blue tooth support needs to be extended in the g1, headset only. I want to send files!!
JesusFreke said:
From the same article:
"The only major task was to replace the AWT/Swing graphics backend of MicroEmulator with Android specific APIs."
Click to expand...
Click to collapse
Right since MicroEmulator is a J2SE program, it uses Swing/awt classes. Since the heavy lifting of porting MicroEmulator to Android has already been completed, you don't have to worry about it. Theoretically, anyway.
Compiling MicroEmu for Android and running a Sudoku game:
http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html
i try to use netmite to conver some jar file frome my web site
there is no garanty to aonverted java file work good in android but all of converted jar file all runing and then maybe it (work/crash/or slow)
Try UpOntek - jar to apk conversion service which includes optimization tips for your app.
veda_sticks said:
Id quite like this to work with bloover, though the blue tooth support needs to be extended in the g1, headset only. I want to send files!!
Click to expand...
Click to collapse
use the program blutooth file transfer

Can the HTC Fuze/Pro play Java files?

Is it possible for the Fuze or Pro to play Java (.jar) files? Someone told me that the touch pro can play java games and Im not sure if it can, I thought it needs .cab files not .jar?
yes, it can open .jar files. you just put it on the phone memory and open like any other file.
The Fuze can play jar files. It comes with Esmertec Jbed- it's not 100% compatible with all J2ME functionality (so some jars won't work), but it's decent at best.
It can play any java file however some midlet managers are better then others. Theres a thread I believe in the general forum called the java bible, give that a look.

Decompiling APKs

Hello Everyone,
I was wondering, in this day and age what tools do I need for decompiling APK Files? I am also assuming that these tools would also serve me well if I just wanted to edit a file in an APK. If not, then what tools do I need for that as well?
I have scoured the net and found pages that gives many different answers. However those pages are from 2012 on back. So it could be old out dated information.
For now I am assuming the minimum Java JDK, Eclipse (or the new program that was highlighted a month back here on XDA but I forget the name of it), Android SDK, and a Java Decompiler (But which one is best??)
Guidance...Anyone...Anyone...Bueller?
After 52 Views no one has any suggestions? If you all think I answered my own question, that's fine but at least if someone has a suggestion on what a good JAVA Decompiler is to use, that would be helpful?
Thanks all.
Neither Eclipse nor the SDK would help you decompile apps.
To get the resources, use Apktool.
To get the Java, use Dex2jar and JDGUI.
Or use a simplified tool like VTS.

.exe to .apk

How can I convert an exe file to apk?
nikste4 said:
How can I convert an exe file to apk?
Click to expand...
Click to collapse
You can't. .exe is a Microsoft DOS / Windows executable. Android is a Linux based OS. The runtime environments aren't compatible so you can't just "convert" it.
Do you need to run a specific program under Android? May be there is a similar program you can use.
It is not possible.
Bad news. Android cannot be used like a windows emulator.
For someone who knows what an apk is, it's rather strange you didn't know this isn't possible. Like the other users have mentioned Android and Windows are completely different. Are you wanting Microsoft Office? Microsoft has released touch versions of Office for Android but it won't be completely full-fledged like what you get on Windows.
no you cant convert exe file to apk
these two files totally run on two different platforms/devices
the encoding is totally different

Categories

Resources