$manifestType = isset($collection->settings['offline']) ? 'Offline' : 'Online';
$phonegap->setManifest(WS_COMPILE_ASSETS . '/_html5app/_android/AndroidManifest' . $manifestType . '.xml');
$phonegap->setMain(WS_COMPILE_ASSETS . '/_html5app/_android/Main' . $manifestType . '.java');
+ $phonegap->addLibrary(WS_COMPILE_ASSETS . '/_html5app/_android/lib');
$phonegap->setDistantCompiler('paris.cubedesigners.com', 'Vincent', 's77vpo*wu', 'h:/Phonegap/Projects/' . $d, '/mnt/vincent/cygdrive/h/Phonegap/Projects/' . $d, 22322, SSH_KEY);
$phonegap->setSourceVariables(array('background' => '0xff' . $collection->settings['couleurD'],
'orientation' => $collection->settings['orientation'])