Changes between Version 60 and Version 61 of AndroidPort


Ignore:
Timestamp:
Jan 5, 2012, 4:26:16 AM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v60 v61  
    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. The library and application can then be packaged and distributed together.
    108108
     109In 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
    109111== Setting up your workstation ==
    110112For 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: