0

I would like to merge our Java (Android) development with the Delphi XE7 mobile (FMX) project, and seems like the best way is to have a JAR which contains a whole Java based mobile application.

  • Is it possible to compile Android project with it's intents and resources as JAR, and if it is - how to?
mjn
  • 36,362
  • 28
  • 176
  • 378
Yordan Y
  • 225
  • 2
  • 7

1 Answers1

0

Based on this answer:

Android uses the Dalvik VM, whereas you need the Java VM to run a jar-file. So you can't run a jar-file on Android.

Community
  • 1
  • 1
mjn
  • 36,362
  • 28
  • 176
  • 378
  • Emh.. I don't wanna run it, I would like to use it as a library which contains intents, just like Windows DLL's can contains windowses and resources. – Yordan Y Jul 13 '15 at 18:27
  • 1
    @YordanY please clarify the term `compile` you used in your question, and how the Android device should use the JAR – mjn Jul 13 '15 at 19:29