April 2015
Beginner to intermediate
494 pages
10h 26m
English
First, let's port Box2D on the Android NDK following these steps:
Box2D 2.3.1 archive is provided with this book in directory Libraries/box2d.
${ANDROID_NDK}/sources/ (beware directory must be named box2d).Create and open an Android.mk file in the root of the box2d directory.
First, save the current directory inside the LOCAL_PATH variable. This step is always necessary because an NDK build system may switch to another directory at any time during compilation.
${ANDROID_NDK}/sources/box2d/Box2D/Box2D. Use the ...