How to use .a library in cocos2dx android project


#1

I want to integrate Poco library with my cocos2dx android project
refer to:http://www.appinf.com/docs/poco/99300-AndroidPlatformNotes.html
I already compile Android/armeabi-v7a/libPocoFoundation.a by toolchain
But I don’t know how to use libPocoFoundation.a in android NDK project
Anybody know how to do this? Thanks.Regards.

This is my cocos2dx android project Android.mk file content below.

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := game_shared
LOCAL_MODULE_FILENAME := libgame
LOCAL_SRC_FILES := hellocpp/main.cpp …/…/Classes/Common/FileUtil.cpp …/…/Classes/Common/TimeUtil.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/…/…/Classes $(LOCAL_PATH)/…/…/Classes/Common $(LOCAL_PATH)/…/…/Classes/Json ….
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static cocos_extension_static

include $(BUILD_SHARED_LIBRARY)

$(call import-module,CocosDenshion/android) $(call import-module,cocos2dx) $(call import-module,extensions)