Android MTK 8.1プレハブアプリケーション(訊飛入力法)

1281 ワード

訊飛を例にとると:
 1. \vendor\mediatek\proprietary\packages\3rd-party            iflyIME

 2. iflyIME     apk      iflyIME(      apk      )
 
 3.  Android.mk     
     Android.mk:
         LOCAL_PATH := $(call my-dir)

         include $(CLEAR_VARS)
         #Module name should match apk name to be installed
         LOCAL_MODULE := iflyIME
         LOCAL_MODULE_TAGS := optional
         LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
         LOCAL_MODULE_CLASS := APPS
         LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
         LOCAL_CERTIFICATE := PRESIGNED
         #LOCAL_MODULE_PATH := $(TARGET_OUT)/vendor/operator/app
         LOCAL_MULTILIB :=32
        
         
         include $(BUILD_PREBUILT)


   : @lib/armeabi/libcom_iflytek_inputmethod_ocr.so \   360    apk           +\         

 4.	  build/make/target/product/core.mk device/mediatek/common/device.mk      device\mediateksample\xxxx\device.mk    PRODUCT_PACKAGES += facebook
      :device\mediateksample\xxxx\device.mk (xxxx-   ,           ,android 8.1  devices sample   )
     
            PRODUCT_PACKAGES += iflyIME
            #PRODUCT_PACKAGES += ServiceController
            #PRODUCT_PACKAGES += TestApp
            # PRODUCT_PACKAGES += TF-OTA

             ,