]> rtime.felk.cvut.cz Git - orte/eurobot.git/commitdiff
ANDROID: add support for Android
authorMartin Vajnar <martin.vajnar@gmail.com>
Sun, 7 Jul 2013 17:24:59 +0000 (19:24 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 23 Sep 2013 09:06:25 +0000 (11:06 +0200)
Add preliminary Android library.

Note: Current Android NDK doesn't allow libraries to have assets folder,
but we place the ortemanager in there. At current point it is necessary
for applications using this library to either manually copy the compiled
ortemanager over to their own assets folder or to create a symlink.

56 files changed:
orte/libaorte/.classpath [new file with mode: 0644]
orte/libaorte/.cproject [new file with mode: 0644]
orte/libaorte/.project [new file with mode: 0644]
orte/libaorte/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
orte/libaorte/AndroidManifest.xml [new file with mode: 0644]
orte/libaorte/gen/org/ocera/orte/BuildConfig.java [new file with mode: 0644]
orte/libaorte/gen/org/ocera/orte/R.java [new file with mode: 0644]
orte/libaorte/jni/Android.mk [new file with mode: 0644]
orte/libaorte/jni/Application.mk [new file with mode: 0644]
orte/libaorte/jni/include [new symlink]
orte/libaorte/jni/libjorte [new symlink]
orte/libaorte/jni/liborte [new symlink]
orte/libaorte/jni/manager [new symlink]
orte/libaorte/proguard-project.txt [new file with mode: 0644]
orte/libaorte/project.properties [new file with mode: 0644]
orte/libaorte/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
orte/libaorte/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
orte/libaorte/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
orte/libaorte/res/values-v11/styles.xml [new file with mode: 0644]
orte/libaorte/res/values-v14/styles.xml [new file with mode: 0644]
orte/libaorte/res/values/strings.xml [new file with mode: 0644]
orte/libaorte/res/values/styles.xml [new file with mode: 0644]
orte/libaorte/src/org/ocera/orte/Domain.java [new symlink]
orte/libaorte/src/org/ocera/orte/DomainApp.java [new symlink]
orte/libaorte/src/org/ocera/orte/DomainMgr.java [new symlink]
orte/libaorte/src/org/ocera/orte/JOrte.java [new symlink]
orte/libaorte/src/org/ocera/orte/OrteCallback.java [new symlink]
orte/libaorte/src/org/ocera/orte/Publication.java [new symlink]
orte/libaorte/src/org/ocera/orte/Subscription.java [new symlink]
orte/libaorte/src/org/ocera/orte/SubscriptionCallback.java [new symlink]
orte/libaorte/src/org/ocera/orte/package-info.java [new file with mode: 0644]
orte/libaorte/src/org/ocera/orte/tools/CheckType.java [new symlink]
orte/libaorte/src/org/ocera/orte/tools/Conversions.java [new symlink]
orte/libaorte/src/org/ocera/orte/tools/package-info.java [new file with mode: 0644]
orte/libaorte/src/org/ocera/orte/types/AppInfo.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/CommonPubSubInfo.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/DomainEvents.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/DomainProp.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/GUID_RTPS.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/MessageData.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/MessageInterpret.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/NtpTime.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/ORTEConstant.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/ProtocolVersion.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/PubInfo.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/PublProp.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/RecvInfo.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/RecvStatus.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/SendInfo.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/SendStatus.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/SequenceNumber.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/Status.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/SubInfo.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/SubsProp.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/VendorId.java [new symlink]
orte/libaorte/src/org/ocera/orte/types/package-info.java [new file with mode: 0644]

diff --git a/orte/libaorte/.classpath b/orte/libaorte/.classpath
new file mode 100644 (file)
index 0000000..5176974
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+       <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+       <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="src" path="gen"/>
+       <classpathentry kind="output" path="bin/classes"/>
+</classpath>
diff --git a/orte/libaorte/.cproject b/orte/libaorte/.cproject
new file mode 100644 (file)
index 0000000..b0cb1ff
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+       <storageModule moduleId="org.eclipse.cdt.core.settings">
+               <cconfiguration id="com.android.toolchain.gcc.58109024">
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.android.toolchain.gcc.58109024" moduleId="org.eclipse.cdt.core.settings" name="Default">
+                               <externalSettings/>
+                               <extensions>
+                                       <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+                                       <extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+                                       <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+                                       <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+                                       <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+                                       <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+                                       <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+                                       <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+                               </extensions>
+                       </storageModule>
+                       <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+                               <configuration artifactName="${ProjName}" buildProperties="" description="" id="com.android.toolchain.gcc.58109024" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
+                                       <folderInfo id="com.android.toolchain.gcc.58109024.591349942" name="/" resourcePath="">
+                                               <toolChain id="com.android.toolchain.gcc.1178868992" name="com.android.toolchain.gcc" superClass="com.android.toolchain.gcc">
+                                                       <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="com.android.targetPlatform.1097156182" isAbstract="false" superClass="com.android.targetPlatform"/>
+                                                       <builder id="com.android.builder.566599432" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Android Builder" superClass="com.android.builder">
+                                                               <outputEntries>
+                                                                       <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="obj"/>
+                                                                       <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="libs"/>
+                                                               </outputEntries>
+                                                       </builder>
+                                                       <tool id="com.android.gcc.compiler.316934587" name="Android GCC Compiler" superClass="com.android.gcc.compiler">
+                                                               <inputType id="com.android.gcc.inputType.13620957" superClass="com.android.gcc.inputType"/>
+                                                       </tool>
+                                               </toolChain>
+                                       </folderInfo>
+                                       <sourceEntries>
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="jni"/>
+                                       </sourceEntries>
+                               </configuration>
+                       </storageModule>
+                       <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+               </cconfiguration>
+       </storageModule>
+       <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+               <project id="libaorte.null.1985156458" name="libaorte"/>
+       </storageModule>
+       <storageModule moduleId="scannerConfiguration">
+               <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+               <scannerConfigBuildInfo instanceId="com.android.toolchain.gcc.58109024;com.android.toolchain.gcc.58109024.591349942;com.android.gcc.compiler.316934587;com.android.gcc.inputType.13620957">
+                       <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.android.AndroidPerProjectProfile"/>
+               </scannerConfigBuildInfo>
+       </storageModule>
+</cproject>
diff --git a/orte/libaorte/.project b/orte/libaorte/.project
new file mode 100644 (file)
index 0000000..2e7f118
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>libaorte</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+                       <triggers>clean,full,incremental,</triggers>
+                       <arguments>
+                               <dictionary>
+                                       <key>?children?</key>
+                                       <value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|?name?=entry\\\\\\\|\\\|\||</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>?name?</key>
+                                       <value></value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.append_environment</key>
+                                       <value>true</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.buildArguments</key>
+                                       <value></value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.buildCommand</key>
+                                       <value>ndk-build</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+                                       <value>clean</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.contents</key>
+                                       <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+                                       <value>false</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+                                       <value>true</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+                                       <value>true</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.stopOnError</key>
+                                       <value>true</value>
+                               </dictionary>
+                               <dictionary>
+                                       <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+                                       <value>true</value>
+                               </dictionary>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+                       <triggers>full,incremental,</triggers>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>org.eclipse.cdt.core.cnature</nature>
+               <nature>org.eclipse.cdt.core.ccnature</nature>
+               <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+               <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+       </natures>
+</projectDescription>
diff --git a/orte/libaorte/.settings/org.eclipse.jdt.core.prefs b/orte/libaorte/.settings/org.eclipse.jdt.core.prefs
new file mode 100644 (file)
index 0000000..b080d2d
--- /dev/null
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/orte/libaorte/AndroidManifest.xml b/orte/libaorte/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..07ba671
--- /dev/null
@@ -0,0 +1,20 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="org.ocera.orte"
+    android:versionCode="1"
+    android:versionName="1.0" >
+
+    <uses-sdk
+        android:minSdkVersion="14"
+        android:targetSdkVersion="15" />
+    <uses-permission android:name="android.permission.INTERNET"/>
+    <uses-permission android:name="android.permission.SET_DEBUG_APP"/>
+
+    <application
+        android:allowBackup="true"
+        android:debuggable="true"
+        android:icon="@drawable/ic_launcher"
+        android:label="@string/app_name"
+        android:theme="@style/AppTheme" >
+    </application>
+
+</manifest>
diff --git a/orte/libaorte/gen/org/ocera/orte/BuildConfig.java b/orte/libaorte/gen/org/ocera/orte/BuildConfig.java
new file mode 100644 (file)
index 0000000..9113210
--- /dev/null
@@ -0,0 +1,6 @@
+/** Automatically generated file. DO NOT MODIFY */
+package org.ocera.orte;
+
+public final class BuildConfig {
+    public final static boolean DEBUG = true;
+}
\ No newline at end of file
diff --git a/orte/libaorte/gen/org/ocera/orte/R.java b/orte/libaorte/gen/org/ocera/orte/R.java
new file mode 100644 (file)
index 0000000..65affb1
--- /dev/null
@@ -0,0 +1,47 @@
+/* AUTO-GENERATED FILE.  DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found.  It
+ * should not be modified by hand.
+ */
+
+package org.ocera.orte;
+
+public final class R {
+    public static final class attr {
+    }
+    public static final class drawable {
+        public static int ic_launcher=0x7f020000;
+    }
+    public static final class string {
+        public static int app_name=0x7f030000;
+    }
+    public static final class style {
+        /** 
+        Base application theme, dependent on API level. This theme is replaced
+        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
+    
+
+            Theme customizations available in newer API levels can go in
+            res/values-vXX/styles.xml, while customizations related to
+            backward-compatibility can go here.
+        
+
+        Base application theme for API 11+. This theme completely replaces
+        AppBaseTheme from res/values/styles.xml on API 11+ devices.
+    
+ API 11 theme customizations can go here. 
+
+        Base application theme for API 14+. This theme completely replaces
+        AppBaseTheme from BOTH res/values/styles.xml and
+        res/values-v11/styles.xml on API 14+ devices.
+    
+ API 14 theme customizations can go here. 
+         */
+        public static int AppBaseTheme=0x7f040000;
+        /**  Application theme. 
+ All customizations that are NOT specific to a particular API-level can go here. 
+         */
+        public static int AppTheme=0x7f040001;
+    }
+}
diff --git a/orte/libaorte/jni/Android.mk b/orte/libaorte/jni/Android.mk
new file mode 100644 (file)
index 0000000..6a6245a
--- /dev/null
@@ -0,0 +1,113 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE    := orte
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
+LOCAL_LDLIBS := -llog
+LOCAL_SRC_FILES := \
+liborte/conv.c \
+liborte/debug.c \
+liborte/event.c \
+liborte/fnmatch.c \
+liborte/htimerNtp.c \
+liborte/objectEntry.c \
+liborte/objectEntryTimer.c \
+liborte/objectUtils.c \
+liborte/ORTEAppRecvThread.c \
+liborte/ORTEAppSendThread.c \
+liborte/ORTEDomainApp.c \
+liborte/ORTEPublication.c \
+liborte/ORTEPublicationTimer.c \
+liborte/ORTESubscription.c \
+liborte/ORTEDomain.c \
+liborte/ORTEDomainMgr.c \
+liborte/ORTEInit.c \
+liborte/ORTEThreadUtils.c \
+liborte/ORTETypeRegister.c \
+liborte/ORTEVerbosity.c \
+liborte/ORTEPattern.c \
+liborte/ORTEMisc.c \
+liborte/parameter.c \
+liborte/RTPSAck.c \
+liborte/RTPSCSTReader.c \
+liborte/RTPSCSTReaderTimer.c \
+liborte/RTPSCSTReaderProc.c \
+liborte/RTPSCSTWriter.c \
+liborte/RTPSCSTWriterTimer.c \
+liborte/RTPSGap.c \
+liborte/RTPSHeader.c \
+liborte/RTPSHeardBeat.c \
+liborte/RTPSInfoDST.c \
+liborte/RTPSInfoREPLY.c \
+liborte/RTPSInfoSRC.c \
+liborte/RTPSInfoTS.c \
+liborte/RTPSPad.c \
+liborte/RTPSUtils.c \
+liborte/RTPSVar.c \
+liborte/RTPSIssue.c \
+liborte/sock.c \
+liborte/ul_gavl.c \
+liborte/ul_gavlprim.c \
+liborte/cdr.c
+
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE    := jorte
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
+LOCAL_LDLIBS := -llog
+LOCAL_SRC_FILES := \
+libjorte/onLoad.c \
+libjorte/getNtpTime.c \
+libjorte/setType.c \
+libjorte/setTopic.c \
+libjorte/createAppInfo.c \
+libjorte/createPubInfo.c \
+libjorte/createSubInfo.c \
+libjorte/setRecvInfo.c \
+libjorte/JGetORTEConstant.c \
+libjorte/JIPAddressToString.c \
+libjorte/JNtpTimeToStringMs.c \
+libjorte/JNtpTimeToStringUs.c \
+libjorte/JORTEDomainAppCreate.c \
+libjorte/JORTEDomainAppDestroy.c \
+libjorte/JORTEDomainInitEvents.c \
+libjorte/JORTEDomainMgrCreate.c \
+libjorte/JORTEDomainMgrDestroy.c \
+libjorte/JORTEDomainPropDefaultGet.c \
+libjorte/JORTEDomainStart.c \
+libjorte/JORTEInit.c \
+libjorte/JORTEPublicationCreate.c \
+libjorte/JORTEPublicationDestroy.c \
+libjorte/JORTEPublicationSend.c \
+libjorte/JORTEPublicationPropertiesSet.c \
+libjorte/JORTEPublicationPropertiesGet.c \
+libjorte/JORTEPublicationGetStatus.c \
+libjorte/JORTEPublicationWaitForSubscriptions.c \
+libjorte/JORTESleepMs.c \
+libjorte/JORTESubscriptionCreate.c \
+libjorte/JORTESubscriptionDestroy.c \
+libjorte/JORTESubscriptionPropertiesGet.c \
+libjorte/JORTESubscriptionPropertiesSet.c \
+libjorte/JORTESubscriptionGetStatus.c \
+libjorte/JORTESubscriptionWaitForPublications.c \
+libjorte/JORTETypeRegisterAdd.c \
+libjorte/JORTETypeRegisterDestroyAll.c \
+libjorte/JORTEVerbositySetLogFile.c \
+libjorte/JORTEVerbositySetOptions.c \
+libjorte/JStringToIPAddress.c
+
+LOCAL_STATIC_LIBRARIES := orte
+
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE    := ortemanager
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
+LOCAL_LDLIBS := -llog
+LOCAL_SRC_FILES := manager/ortemanager.c
+LOCAL_STATIC_LIBRARIES := orte
+
+include $(BUILD_EXECUTABLE)
\ No newline at end of file
diff --git a/orte/libaorte/jni/Application.mk b/orte/libaorte/jni/Application.mk
new file mode 100644 (file)
index 0000000..f18e2bc
--- /dev/null
@@ -0,0 +1,4 @@
+APP_ABI := armeabi-v7a
+APP_OPTIM := debug
+APP_PLATFORM := android-14
+NDK_DEBUG = 1
\ No newline at end of file
diff --git a/orte/libaorte/jni/include b/orte/libaorte/jni/include
new file mode 120000 (symlink)
index 0000000..fcffffb
--- /dev/null
@@ -0,0 +1 @@
+../../include
\ No newline at end of file
diff --git a/orte/libaorte/jni/libjorte b/orte/libaorte/jni/libjorte
new file mode 120000 (symlink)
index 0000000..39383a0
--- /dev/null
@@ -0,0 +1 @@
+../../libjorte
\ No newline at end of file
diff --git a/orte/libaorte/jni/liborte b/orte/libaorte/jni/liborte
new file mode 120000 (symlink)
index 0000000..52bb564
--- /dev/null
@@ -0,0 +1 @@
+../../liborte
\ No newline at end of file
diff --git a/orte/libaorte/jni/manager b/orte/libaorte/jni/manager
new file mode 120000 (symlink)
index 0000000..294fbed
--- /dev/null
@@ -0,0 +1 @@
+../../manager
\ No newline at end of file
diff --git a/orte/libaorte/proguard-project.txt b/orte/libaorte/proguard-project.txt
new file mode 100644 (file)
index 0000000..f2fe155
--- /dev/null
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+#   http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+#   public *;
+#}
diff --git a/orte/libaorte/project.properties b/orte/libaorte/project.properties
new file mode 100644 (file)
index 0000000..36f1594
--- /dev/null
@@ -0,0 +1,15 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-15
+android.library=true
diff --git a/orte/libaorte/res/drawable-hdpi/ic_launcher.png b/orte/libaorte/res/drawable-hdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..96a442e
Binary files /dev/null and b/orte/libaorte/res/drawable-hdpi/ic_launcher.png differ
diff --git a/orte/libaorte/res/drawable-mdpi/ic_launcher.png b/orte/libaorte/res/drawable-mdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..359047d
Binary files /dev/null and b/orte/libaorte/res/drawable-mdpi/ic_launcher.png differ
diff --git a/orte/libaorte/res/drawable-xhdpi/ic_launcher.png b/orte/libaorte/res/drawable-xhdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..71c6d76
Binary files /dev/null and b/orte/libaorte/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/orte/libaorte/res/values-v11/styles.xml b/orte/libaorte/res/values-v11/styles.xml
new file mode 100644 (file)
index 0000000..3c02242
--- /dev/null
@@ -0,0 +1,11 @@
+<resources>
+
+    <!--
+        Base application theme for API 11+. This theme completely replaces
+        AppBaseTheme from res/values/styles.xml on API 11+ devices.
+    -->
+    <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
+        <!-- API 11 theme customizations can go here. -->
+    </style>
+
+</resources>
diff --git a/orte/libaorte/res/values-v14/styles.xml b/orte/libaorte/res/values-v14/styles.xml
new file mode 100644 (file)
index 0000000..a91fd03
--- /dev/null
@@ -0,0 +1,12 @@
+<resources>
+
+    <!--
+        Base application theme for API 14+. This theme completely replaces
+        AppBaseTheme from BOTH res/values/styles.xml and
+        res/values-v11/styles.xml on API 14+ devices.
+    -->
+    <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
+        <!-- API 14 theme customizations can go here. -->
+    </style>
+
+</resources>
diff --git a/orte/libaorte/res/values/strings.xml b/orte/libaorte/res/values/strings.xml
new file mode 100644 (file)
index 0000000..73a4b72
--- /dev/null
@@ -0,0 +1,5 @@
+<resources>
+
+    <string name="app_name">libaorte</string>
+
+</resources>
diff --git a/orte/libaorte/res/values/styles.xml b/orte/libaorte/res/values/styles.xml
new file mode 100644 (file)
index 0000000..6ce89c7
--- /dev/null
@@ -0,0 +1,20 @@
+<resources>
+
+    <!--
+        Base application theme, dependent on API level. This theme is replaced
+        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
+    -->
+    <style name="AppBaseTheme" parent="android:Theme.Light">
+        <!--
+            Theme customizations available in newer API levels can go in
+            res/values-vXX/styles.xml, while customizations related to
+            backward-compatibility can go here.
+        -->
+    </style>
+
+    <!-- Application theme. -->
+    <style name="AppTheme" parent="AppBaseTheme">
+        <!-- All customizations that are NOT specific to a particular API-level can go here. -->
+    </style>
+
+</resources>
diff --git a/orte/libaorte/src/org/ocera/orte/Domain.java b/orte/libaorte/src/org/ocera/orte/Domain.java
new file mode 120000 (symlink)
index 0000000..f6e6a01
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/Domain.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/DomainApp.java b/orte/libaorte/src/org/ocera/orte/DomainApp.java
new file mode 120000 (symlink)
index 0000000..2872849
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/DomainApp.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/DomainMgr.java b/orte/libaorte/src/org/ocera/orte/DomainMgr.java
new file mode 120000 (symlink)
index 0000000..4dd7d91
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/DomainMgr.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/JOrte.java b/orte/libaorte/src/org/ocera/orte/JOrte.java
new file mode 120000 (symlink)
index 0000000..9e3e209
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/JOrte.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/OrteCallback.java b/orte/libaorte/src/org/ocera/orte/OrteCallback.java
new file mode 120000 (symlink)
index 0000000..f9cf5cf
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/OrteCallback.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/Publication.java b/orte/libaorte/src/org/ocera/orte/Publication.java
new file mode 120000 (symlink)
index 0000000..47a88da
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/Publication.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/Subscription.java b/orte/libaorte/src/org/ocera/orte/Subscription.java
new file mode 120000 (symlink)
index 0000000..5f1d77c
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/Subscription.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/SubscriptionCallback.java b/orte/libaorte/src/org/ocera/orte/SubscriptionCallback.java
new file mode 120000 (symlink)
index 0000000..9988bbc
--- /dev/null
@@ -0,0 +1 @@
+../../../../../java/src/org/ocera/orte/SubscriptionCallback.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/package-info.java b/orte/libaorte/src/org/ocera/orte/package-info.java
new file mode 100644 (file)
index 0000000..4c539ef
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * 
+ */
+/**
+ * @author martin
+ *
+ */
+package org.ocera.orte;
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/tools/CheckType.java b/orte/libaorte/src/org/ocera/orte/tools/CheckType.java
new file mode 120000 (symlink)
index 0000000..9cb3cf2
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/tools/CheckType.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/tools/Conversions.java b/orte/libaorte/src/org/ocera/orte/tools/Conversions.java
new file mode 120000 (symlink)
index 0000000..1ce178d
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/tools/Conversions.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/tools/package-info.java b/orte/libaorte/src/org/ocera/orte/tools/package-info.java
new file mode 100644 (file)
index 0000000..c5f1808
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * 
+ */
+/**
+ * @author martin
+ *
+ */
+package org.ocera.orte.tools;
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/AppInfo.java b/orte/libaorte/src/org/ocera/orte/types/AppInfo.java
new file mode 120000 (symlink)
index 0000000..0ab1fb4
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/AppInfo.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/CommonPubSubInfo.java b/orte/libaorte/src/org/ocera/orte/types/CommonPubSubInfo.java
new file mode 120000 (symlink)
index 0000000..0da1f02
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/CommonPubSubInfo.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/DomainEvents.java b/orte/libaorte/src/org/ocera/orte/types/DomainEvents.java
new file mode 120000 (symlink)
index 0000000..f054fc4
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/DomainEvents.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/DomainProp.java b/orte/libaorte/src/org/ocera/orte/types/DomainProp.java
new file mode 120000 (symlink)
index 0000000..425b563
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/DomainProp.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/GUID_RTPS.java b/orte/libaorte/src/org/ocera/orte/types/GUID_RTPS.java
new file mode 120000 (symlink)
index 0000000..d23f5eb
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/GUID_RTPS.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/MessageData.java b/orte/libaorte/src/org/ocera/orte/types/MessageData.java
new file mode 120000 (symlink)
index 0000000..8d51604
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/MessageData.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/MessageInterpret.java b/orte/libaorte/src/org/ocera/orte/types/MessageInterpret.java
new file mode 120000 (symlink)
index 0000000..19f9c1d
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/MessageInterpret.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/NtpTime.java b/orte/libaorte/src/org/ocera/orte/types/NtpTime.java
new file mode 120000 (symlink)
index 0000000..683d8a9
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/NtpTime.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/ORTEConstant.java b/orte/libaorte/src/org/ocera/orte/types/ORTEConstant.java
new file mode 120000 (symlink)
index 0000000..d0e70f1
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/ORTEConstant.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/ProtocolVersion.java b/orte/libaorte/src/org/ocera/orte/types/ProtocolVersion.java
new file mode 120000 (symlink)
index 0000000..50aa825
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/ProtocolVersion.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/PubInfo.java b/orte/libaorte/src/org/ocera/orte/types/PubInfo.java
new file mode 120000 (symlink)
index 0000000..e5db606
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/PubInfo.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/PublProp.java b/orte/libaorte/src/org/ocera/orte/types/PublProp.java
new file mode 120000 (symlink)
index 0000000..e9411df
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/PublProp.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/RecvInfo.java b/orte/libaorte/src/org/ocera/orte/types/RecvInfo.java
new file mode 120000 (symlink)
index 0000000..ce6ddbb
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/RecvInfo.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/RecvStatus.java b/orte/libaorte/src/org/ocera/orte/types/RecvStatus.java
new file mode 120000 (symlink)
index 0000000..a681000
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/RecvStatus.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/SendInfo.java b/orte/libaorte/src/org/ocera/orte/types/SendInfo.java
new file mode 120000 (symlink)
index 0000000..71f7d1a
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/SendInfo.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/SendStatus.java b/orte/libaorte/src/org/ocera/orte/types/SendStatus.java
new file mode 120000 (symlink)
index 0000000..16680d8
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/SendStatus.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/SequenceNumber.java b/orte/libaorte/src/org/ocera/orte/types/SequenceNumber.java
new file mode 120000 (symlink)
index 0000000..ae68ef5
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/SequenceNumber.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/Status.java b/orte/libaorte/src/org/ocera/orte/types/Status.java
new file mode 120000 (symlink)
index 0000000..74caffa
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/Status.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/SubInfo.java b/orte/libaorte/src/org/ocera/orte/types/SubInfo.java
new file mode 120000 (symlink)
index 0000000..a81a3ad
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/SubInfo.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/SubsProp.java b/orte/libaorte/src/org/ocera/orte/types/SubsProp.java
new file mode 120000 (symlink)
index 0000000..edd76ae
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/SubsProp.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/VendorId.java b/orte/libaorte/src/org/ocera/orte/types/VendorId.java
new file mode 120000 (symlink)
index 0000000..4bb1ead
--- /dev/null
@@ -0,0 +1 @@
+../../../../../../java/src/org/ocera/orte/types/VendorId.java
\ No newline at end of file
diff --git a/orte/libaorte/src/org/ocera/orte/types/package-info.java b/orte/libaorte/src/org/ocera/orte/types/package-info.java
new file mode 100644 (file)
index 0000000..407634e
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * 
+ */
+/**
+ * @author martin
+ *
+ */
+package org.ocera.orte.types;
\ No newline at end of file