Changes between Version 62 and Version 63 of AndroidPort


Ignore:
Timestamp:
Jan 5, 2012, 5:07:43 AM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v62 v63  
    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
    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.
     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 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.
    110110
    111111== Setting up your workstation ==
     
    129129
    130130You also must install a Java Development Kit (JDK) if you haven't already, e.g. [https://apps.ubuntu.com/cat/applications/oneiric/default-jdk/ the standard JDK from Ubuntu Software Center].
    131 
    132 If you intend to do any development, you may want to install [https://apps.ubuntu.com/cat/applications/oneiric/eclipse-platform/ Eclipse] and the [http://developer.android.com/sdk/eclipse-adt.html#installing Android Development Tools (ADT) plugin for Eclipse]. If you only intend to build the game, the tools provided by the SDK should be sufficient.