android/lib/AndroidPlatform.js
function AndroidPlatform(PlatformBase, baseData) {

    // Create base instance.
    var instance = new PlatformBase(baseData);
    var o = instance.output;

    // Override manually, because Object.extend() is not yet available on node.
    var names = Object.getOwnPropertyNames(AndroidPlatform.prototype);
    for (var i = 0; i < names.length; i++) {
        var key = names[i];
        if (key != "constructor") {
            instance[key] = AndroidPlatform.prototype[key];
        }
    }

    instance._sdk = new AndroidSDK(instance.application);
    instance._channel = "stable";
    instance._lite = false;
    instance._shared = false;
    instance._apiTarget = null;

    return instance;
}
function AndroidPlatform(PlatformBase, baseData) {

    // Create base instance.
    var instance = new PlatformBase(baseData);
    var o = instance.output;

    // Override manually, because Object.extend() is not yet available on node.
    var names = Object.getOwnPropertyNames(AndroidPlatform.prototype);
    for (var i = 0; i < names.length; i++) {
        var key = names[i];
        if (key != "constructor") {
            instance[key] = AndroidPlatform.prototype[key];
        }
    }

    instance._sdk = new AndroidSDK(instance.application);
    instance._channel = "stable";
    instance._lite = false;
    instance._shared = false;
    instance._apiTarget = null;

    return instance;
}
function AndroidPlatform ( PlatformBase , baseData ) { // Create base instance. var instance = new PlatformBase ( baseData ) ; var o = instance . output ; // Override manually, because Object.extend() is not yet available on node. var names = Object . getOwnPropertyNames ( AndroidPlatform . prototype ) ; for ( var i = 0 ; i < names . length ; i ++ ) { var key = names [ i ] ; if ( key != "constructor" ) { instance [ key ] = AndroidPlatform . prototype [ key ] ; } } instance . _sdk = new AndroidSDK ( instance . application ) ; instance . _channel = "stable" ; instance . _lite = false ; instance . _shared = false ; instance . _apiTarget = null ; return instance ; }
Android project class.
@extends PlatformBase
@constructor
@param {Function} PlatformBase Base class constructor {@link PlatformBase}
@param {PlatformData} baseData Init data passed to the platform
@throws {@link AndroidSDK~SDKNotFoundError} If the Android SDK was not found in the environment.
Android project class .