Android Java Applications Archive

Compiling Android applicaton as part of AOSP source code

$ cd Android_AOSP $ mkdir packages/apps/HelloWorld Copy your java application source code to packages/apps/ e.g. HelloWorld $ cd packages/apps/HelloWorld Write an Android.mk as below, $vim Android.mk ——————————————————– LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME ...Read More