Now we need to compile everything using the NDK.LOCAL_SRC_FILES := swift.cpp sha1.cpp compat.cpp sendrecv.cpp send_control.cpp hashtree.cpp bin64.cpp bins.cpp channel.cpp datagram.cpp transfer.cpp httpgw.cpp Create android's Makefile, called Android.mk, inside the jni dir.This will also change data structures from/to jni/c++. the new interface can be implemented based on the content of the previous header file.an interface has to be provided to the jni header file.move the new header file in the jni dir.create a jni dir in the base project dir.Create the c header file based on the above scheletron.I used NativeLib.java and implemented the functions start, stop, and progress (to report the current download status).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |