Step 1: Put the android project in the packages/APP directory
And add Android. mk
Android. mk format
References third-party jar packages, which can be written by referring to Calculator
Local_path: = $ (call my-DIR)
Include $ (clear_vars)
Local_module_tags: = optional
Local_static_java_libraries: = libding # The package name corresponds to the following
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 ))
Step 2 modify device/Samsung/smdkv210/device. mk
In
# Apps
Add your program after product_packages