自己app的setupdata的jar生成过程
1:首先:android.mk的编写,放在packages/app/下
# Copyright 2007-2008 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_DEX_PREOPT := false
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := com.example.setupdata
LOCAL_JAVA_LIBRARIES := framework ext services telephony-common
# SPRD: remove
#LOCAL_SDK_VERSION := current
#LOCAL_PROGUARD_FLAG_FILES := proguard.flags
include $(BUILD_PACKAGE)
# Use the folloing include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))
2:当前目录下,mm
可以参见http://www.360doc.com/content/14/0331/14/7044580_365190262.shtml