+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
  • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Android
Converting Java (J2ME) Applications to Android .apk Format

Converting Java (J2ME) Applications to Android .apk Format

Wale Adekile
February 8, 2012

If you just got a new android phone, running java applicatons in .jar format can be a real challenge but there are lots of ways out. I previously wrote a post on how to run java applicatons on Android smartphones using an emulator but what I’m posting here is totlally different. Yes, you can convert .jar files to Android’s .apk format. Sounds impossible? Well, it can be done easily with the service of a couple of websites but I need to make a few things clear about Android applications.


how to convert .jar / .jad / java / J2ME / MIDP 2.0 applications to Android .apk format

Android .apk Files – Can they Really be Decompiled?

You’re probably not an Android developer but just an ordinary guy like me, so I’m going to keep this simple and straight.  At first, the extension Google uses for Android applications (.apk) may look complicated but it actually isn’t. Basically, an apk file is nothing but a zip archive disguised in a different extension. You think I’m joking? Just rename the .apk extension to .zip and extract the content to see exactly what I’m trying to say. Inside this zipped archive is a file named classes.dex which is the most important file in there containing all the java files. This file is encrypted but it can still be disassembled. The java classes are compiled differently so there’s need to go through some special steps to decompile them. You’re going to need these two files:

  1. Dex2Jar from http://code.google.com/p/dex2jar/
  2. A regular Java decompiler, such as JD from http://java.decompiler.free.fr

-Unzip dex2jar.

-In dex2jar directory, paste your classes.dex file.

-Open CMD, go to dex2jar durectory using cd, and type dex2jar YourApp.apk


-You will automatically get a .jar. Use jd gui to decompile it.

How to Convert .jar/.jad (J2ME/MIDP 2.0) Applications to Android .apk Format

Everything I’ve been ranting about is not the real thing you’re looking, huh? Anyways, I found two sites where you can easily convert .jar applications to .apk format and run it smoothly on your Android smartphone.

1. Netmite

This offers this service free of charge and I can tell you that their service is quite cool. You can check them out and, of course, it’s very easy to use. Just upload your java application and the jad format to get the android version! You can use JADMaker to get the .jad version of your java application.

2. Upontek

These guys too offer the same service but hey, it’s not for free. If you’re a developer, you may want to check out their service and some extras they’ve got for you.

That’s all I’ve got on converting .jar applications to Android .apk format. There may be other websites offering the same service though.


Previous Post
How to Hide Facebook Timeline Completely
Next Post
Facebook Chat Gets Better Privacy Options
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
android malware
AndroidInternet Security

Xbot: This Android Malware Will Steal Your Banking Information

10 years ago
Innjoo Halo
AndroidReview

Innjoo Halo Full Review: Sub-15k Phones Got a New Boss?

10 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy