Commit b9964d44 authored by Leonhard Wimmer's avatar Leonhard Wimmer

initial Open-RMBT commit

parents
This diff is collapsed.
=========================================================================
Open-RMBT
Copyright 2013 alladin-IT OG
This product includes software developed at
alladin-IT OG (http://www.alladin.at/).
This software contains code derived from the
Web100 Network Diagnostic Tool (NDT), which is open source software,
available under the "new BSD license". The original software is available
from https://code.google.com/p/ndt/
=========================================================================
Open-RMBT
===============
*Open-RMBT* is an open source, multi-threaded bandwidth test written in Java and
C, consisting of:
- command line client
- Java Applet client
- Android client
- control Servlet based on Restlet
- test server (written in C)
*Open-RMBT* is released under the [Apache License, Version 2.0]. It was developed
by [alladin-IT OG] and financed by the
[Austrian Regulatory Authority for Broadcasting and Telecommunications (RTR)] [RTR].
[alladin-IT OG]: http://alladin.at/
[RTR]: http://www.rtr.at/
[Apache License, Version 2.0]: http://www.apache.org/licenses/LICENSE-2.0
The following Eclipse projects are distributed in this release:
- **RMBTSharedCode** - common libraries and classes for *RMBTControlServer*
- **RMBTControlServer** - Servlet acting as control server for the clients
- **server** - actual test server
- **RMBTClient** - client code used by *RMBTAndroid*, the command line client and the Applet
- **RMBTAndroid** - Android App
Dependecies
---------------
The following third party libraries are required dependencies:
### Google Play Services ###
- see <http://developer.android.com/google/play-services/setup.html>.
- copy "extras/google/google_play_services/libproject" as "google-play-services_lib" into the source distribution of *Open-RMBT*.
### Android Support Library ###
- see <http://developer.android.com/tools/extras/support-library.html>
- copy as "RMBTAndroid/libs/android-support-v4.jar"
### Guava ###
- Apache 2.0. License
- available at <https://code.google.com/p/guava-libraries/>
- copy as "RMBTSharedCode/lib/guava-14.0.jar"
### dnsjava ###
- BSD License
- available at <http://www.xbill.org/dnsjava/>
- copy as "RMBTSharedCode/lib/dnsjava-2.1.4.jar"
### PostgreSQL JDBC Driver ###
- BSD License
- available at <http://jdbc.postgresql.org/>
- copy as "RMBTSharedCode/lib/postgresql-9.2-1002.jdbc4.jar"
### JSON in Java ###
- MIT License (+ "The Software shall be used for Good, not Evil."
- available at <http://www.json.org/java/index.html>
- copy as "RMBTSharedCode/lib/org.json.jar" and "RMBTClient/lib/org.json.jar"
### Simple Logging Facade for Java (SLF4J) ###
- MIT License
- available at <http://www.slf4j.org/>
- copy as "RMBTAndroid/libs/slf4j-android-1.5.8.jar"
### JOpt Simple ###
- MIT License
- available at <http://pholser.github.com/jopt-simple/>
- copy as "RMBTClient/lib/jopt-simple-3.2.jar"
### Apache Commons ###
- Apache 2.0 License
- available at <http://commons.apache.org/>
- copy as:
- "RMBTClient/lib/commons-logging-1.1.1.jar"
- "RMBTClient/lib/org.apache.httpclient.jar"
- "RMBTClient/lib/org.apache.httpcore.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/commons-csv-1.0.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/commons-io-2.4.jar"
### Restlet Framework ###
- Version: 2.1
- Licenses:
- Apache 2.0
- LGPL license version 3.0
- LGPL license version 2.1
- CDDL license version 1.0 or
- EPL license version 1.0
- available at <http://restlet.org/>
- copy as:
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.ext.json.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.ext.servlet.jar"
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry excluding="at/alladin/rmbt/client/RMBTClientRunner.java|at/alladin/rmbt/client/applet/" kind="src" path="src_RMBTClient"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
/bin
/gen
/src_RMBTClient
/local.properties
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>RMBTAndroid</name>
<comment></comment>
<projects>
<project>RMBTClient</project>
</projects>
<buildSpec>
<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>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<linkedResources>
<link>
<name>src_RMBTClient</name>
<type>2</type>
<locationURI>PARENT-1-PROJECT_LOC/RMBTClient/src</locationURI>
</link>
</linkedResources>
</projectDescription>
eclipse.preferences.version=1
encoding/<project>=UTF-8
eclipse.preferences.version=1
line.separator=\n
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2013 alladin-IT OG
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="at.alladin.openrmbt.android"
android:versionCode="58"
android:versionName="0.9.18"
android:installLocation="auto"
>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-permission android:name="at.alladin.rmbt.android.permission.MAPS_RECEIVE"/>
<permission android:name="at.alladin.rmbt.android.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:allowBackup="true">
<!-- google maps library -->
<uses-library android:name="com.google.android.maps" />
<activity android:name="at.alladin.rmbt.android.main.RMBTMainActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/preferences" android:name="at.alladin.rmbt.android.preferences.RMBTPreferenceActivity" android:theme="@style/customPrefTheme" android:screenOrientation="portrait" android:enabled="true" />
<activity android:label="@string/terms" android:name="at.alladin.rmbt.android.terms.RMBTTermsActivity" android:theme="@style/customPrefTheme" android:screenOrientation="portrait" android:enabled="true" />
<service android:enabled="true" android:name="at.alladin.rmbt.android.test.RMBTService" />
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyAcjVMHp478zIOygMZxqECKcZd4-S8magU"/>
</application>
</manifest>
# 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 *;
#}
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
# 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-8
android.library.reference.1=../google-play-services_lib