I have integrated a precomiled static library xyz.m
like this
My android.mk file is like this
LOCAL_PATH := $(call my-dir)
# prepare xyz.a
include $(CLEAR_VARS)
LOCAL_MODULE := xyz
LOCAL_SRC_FILES := xyz.a
LOCAL_STATIC_LIBRARIES := xyz
include $(BUILD_SHARED_LIBRARY)
which leads to generation of libxyz.so file in libs folder
I dont want to write .c or .c++ again as all the methods that i want are in xyz.m file
I want to access methods from this xyz.a file inside my app activity(.java)
How can I do that, any suggestion?
0 comments:
Post a Comment