Changes between Version 60 and Version 61 of AndroidPort
- Timestamp:
- Jan 5, 2012, 4:26:16 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v60 v61 107 107 The [http://en.wikipedia.org/wiki/Dalvik_(software) Android VM] allows applications to call methods implemented in native code through [http://docs.oracle.com/javase/7/docs/technotes/guides/jni/index.html JNI]. This means we have to produce a native shared library which implements the core game functions as a set of methods that can be called from a "shell" application. The library and application can then be packaged and distributed together. 108 108 109 In the native library, we will include all the functionality that will be shared between the original game and the Android port, such as the Pyrogenis engine and the gameplay logics. In the shell application, we will include all the functionality that will be specific to the Android port, such as the redesigned touch interface and handlers for Android system events. 110 109 111 == Setting up your workstation == 110 112 For everything short of actually running the application, we will use a PC workstation. This section will assume your workstation runs Ubuntu Linux, but the steps should be relatively easy to adapt to other platforms. Begin by setting up a working directory for the project: