如何往Android中整合开发程序 doubango框架

第一步   将Android项目放到packages/app目录下

并添加Android.mk

Android.mk的写法

引用了第三方Jar包的情况,可参照Calculator写

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_JAVA_LIBRARIES := libding      #包名与下边对应                     
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_SDK_VERSION := current
LOCAL_PACKAGE_NAME := imsphone
include $(BUILD_PACKAGE)
##################################################
include $(CLEAR_VARS)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libding:simple-xml-2.3.4.jar
include $(BUILD_MULTI_PREBUILT)
# Use the folloing include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))


第二步 修改 device/samsung/smdkv210/device.mk

# Apps
PRODUCT_PACKAGES  后边添加你的程序



你可能感兴趣的:(java,android,Module,Build,Path,include)