Changes between Version 64 and Version 65 of AndroidPort
- Timestamp:
- Jan 5, 2012, 11:21:46 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v64 v65 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 running in the standard Android VM. 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 Pyrogenesis 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 111 109 == Setting up your workstation == 112 110 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: