Changes between Version 64 and Version 65 of AndroidPort


Ignore:
Timestamp:
Jan 5, 2012, 11:21:46 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v64 v65  
    107107The [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.
    108108
    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 
    111109== Setting up your workstation ==
    112110For 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: