diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/README.md b/README.md index f5d5a43..8eb95dd 100644 --- a/README.md +++ b/README.md @@ -6,29 +6,30 @@ The goal of this library is to offer a little abstraction layer for Nrz (Loïc B This is used in owncloud-SMS app - * Copyright (c) 2013-2015, Loic Blot - * All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * The views and conclusions contained in the software and documentation are those - * of the authors and should not be interpreted as representing official policies, - * either expressed or implied, of the FreeBSD Project. +``` +Copyright (c) 2013-2015, Loic Blot +All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of the FreeBSD Project. +``` diff --git a/build.xml b/build.xml deleted file mode 100644 index f6c8a06..0000000 --- a/build.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..2c41cd6 --- /dev/null +++ b/pom.xml @@ -0,0 +1,38 @@ + + + 4.0.0 + fr.nrz.androidlib + gs-maven-android + 1.0 + jar + + + + UTF-8 + UTF-8 + + + + + com.google.android + android + 4.1.1.4 + provided + + + + + + + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + + + + diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml new file mode 100644 index 0000000..6778f18 --- /dev/null +++ b/src/main/AndroidManifest.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/src/fr/nrz/androidlib/activities/NrzSettingsActivity.java b/src/main/java/fr/nrz/androidlib/activities/NrzSettingsActivity.java similarity index 100% rename from src/fr/nrz/androidlib/activities/NrzSettingsActivity.java rename to src/main/java/fr/nrz/androidlib/activities/NrzSettingsActivity.java diff --git a/src/fr/nrz/androidlib/adapters/AndroidAccountAdapter.java b/src/main/java/fr/nrz/androidlib/adapters/AndroidAccountAdapter.java similarity index 100% rename from src/fr/nrz/androidlib/adapters/AndroidAccountAdapter.java rename to src/main/java/fr/nrz/androidlib/adapters/AndroidAccountAdapter.java diff --git a/src/fr/nrz/androidlib/common/SharedPrefs.java b/src/main/java/fr/nrz/androidlib/common/SharedPrefs.java similarity index 100% rename from src/fr/nrz/androidlib/common/SharedPrefs.java rename to src/main/java/fr/nrz/androidlib/common/SharedPrefs.java diff --git a/src/fr/nrz/androidlib/notifications/NrzNotification.java b/src/main/java/fr/nrz/androidlib/notifications/NrzNotification.java similarity index 100% rename from src/fr/nrz/androidlib/notifications/NrzNotification.java rename to src/main/java/fr/nrz/androidlib/notifications/NrzNotification.java