Hi,
I want to make my android application as executable file that can install in any other android emulator like JAR in java programming.If anyone know please help me.
Hi,
I want to make my android application as executable file that can install in any other android emulator like JAR in java programming.If anyone know please help me.
Helloworld.java:
view plaincopy to clipboardprint?
class Helloworld { public static void main(String[] args) { System.out.println("Hello World!"); } }
Makefile:
view plaincopy to clipboardprint?
android_dir_dx = $(ANDROID_SRC_DIR)/out/host/linux-x86/bin/dx all: javac Helloworld.java $(android_dir_dx) --dex --output=Helloworld.jar Helloworld.class clean: @rm *.jar *.class
run:
dalvikvm -cp /Helloworld.jar Helloworld