App Inventor Java Code

App Inventor Java CodeI have been asked numerous times to show the App Inventor Java Code. So here is a zipped archive for all the class files. You can take those classes and easily open them with a program called JD GUI. There are versions of it for every OS.

I got the code pretty easily with 2 programs being the apktool and Dex2Jar. They can convert APK files into the class files most of the time. After you install them you issue the following commands in your terminal or command prompt:

  • apktool d yourAPKFile.apk
  • jar xvf yourAPKFile.apk classes.dex
  • Windows : d2j-dex2jar.bat classes.dex
  • OSX or Linux : d2j-dex2jar.sh classes.dex (May have to type sh d2j-dex2jar.sh classes.dex)
  • jar xvf classes-dex2jar.jar

That generates all the class files for your apk file. I hope that helps 🙂

If you know anyone that is interested in doing this feel free to share on Google Plus here

14 Responses to “App Inventor Java Code”

  1. nishant says:

    hello bro i want to store 1000 of strings in an array each string may have around 160 chars
    see i have a textview and a button, wenevr a button is pressed diffrent strings shud be generated in textview

  2. nishant says:

    yeahh.but SQLITE is a serverless database so i hav to make use of mysql/php n store over der
    make tutorial on this concept for generating string stored in db on webserver or without webserver ASAP.
    by the time any Algortihm will also do so that i can make a try.

  3. Nicola Salvaro says:

    Hello Derek,
    I’ve got a bit of a problem and, for all I’ve read so far, you really seem the best person on the planet to whom I could ask…
    I’ve spent the last three years of my ife creating an app with AppInventor and finally got it just right and published it. Many people have started to use it and like it a lot but… I also receive plenty of requests to make a version compatible with iOS.
    I’d really love to do that but I’m no professional programmer and have only used AppInventor so far…
    Do you think it may somehow be possible to get my Android App “transalted” to work on iPhones and iPads?

Leave a Reply

Your email address will not be published.

Google+