Is it possible to obtain a java version of the android code?

You must Login before you can answer or comment on any questions.

I have found a post on Stackoverflow[1] from about 7 months ago, but I am not sure if anything has changed.

So can I obtain the java version of the code making calls to the android sdk?

Thanks for the help.

1.http://stackoverflow.com/questions/4217551/what-happens-to-javascript-code-after-app-is-compiled-using-titanium-mobile

1 Answer

That code is in the github repository plus some code generated by the build which is in your build directory. In production the JS code is stored compiled by the JS engine (Rhino). In dev mode we send over the source text.

— answered 2 years ago by Don Thorp
answer permalink
3 Comments
  • I see there are theexpected folders (src, assets, bin, etc) in the build/android directory, but there is only one activity which has no code within the class.

    I need to be able to convert an existing Titanium app to a native Android app, but other than the manifest file and the images I can't find anything else.

    — commented 2 years ago by Chris Olsen

  • We don't generate Java code for your Javascript. Are you converting completely to a native app? If so then all you'll be able to use are the assets. You'll need to recode the app in Java.

    — commented 2 years ago by Don Thorp

  • Thanks for clearing that up Don.

    — commented 2 years ago by Chris Olsen

Your Answer

Think you can help? Login to answer this question!