mirror of
				https://github.com/nerzhul/nrz-androidlib.git
				synced 2025-10-31 01:27:10 +00:00 
			
		
		
		
	
						commit
						047af598d9
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| target/ | ||||
							
								
								
									
										51
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										51
									
								
								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 <loic.blot@unix-experience.fr> | ||||
|  * 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 <loic.blot@unix-experience.fr> | ||||
| 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. | ||||
| ``` | ||||
|  | ||||
							
								
								
									
										29
									
								
								build.xml
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								build.xml
									
									
									
									
									
								
							| @ -1,29 +0,0 @@ | ||||
| <project name="nrz-androidlib" default="dist" basedir="."> | ||||
| 	<property name="dist.dir" location="dist" /> | ||||
| 	<property name="src" location="src"/> | ||||
| 	<property name="build.dir" location="build"/> | ||||
| 	<property file="androidsdk.properties" /> | ||||
| 
 | ||||
| 	<path id="res.classpath"> | ||||
| 		<fileset dir="${androidsdk.path}" includes="**/*.jar" /> | ||||
| 	</path> | ||||
|    | ||||
| 	<target name="init"> | ||||
| 		<mkdir dir="${build.dir}" /> | ||||
| 		<mkdir dir="${dist.dir}" /> | ||||
| 	</target> | ||||
|    | ||||
| 	<target name="compile" depends="init"> | ||||
| 		<javac srcdir="${src}" destdir="${build.dir}" classpathref="res.classpath" includeantruntime="false" /> | ||||
| 	</target> | ||||
| 
 | ||||
| 	<target name="dist" depends="compile"> | ||||
| 		<jar destfile="${dist.dir}/nrz-androidlib.jar" basedir="${build.dir}"> | ||||
| 		</jar> | ||||
| 	</target> | ||||
|    | ||||
| 	<target name="clean"> | ||||
| 		<delete dir="${build.dir}" /> | ||||
| 		<delete dir="${dist.dir}" /> | ||||
| 	</target> | ||||
| </project> | ||||
							
								
								
									
										38
									
								
								pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								pom.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,38 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||
|     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||||
|     <modelVersion>4.0.0</modelVersion> | ||||
|     <groupId>fr.nrz.androidlib</groupId> | ||||
|     <artifactId>gs-maven-android</artifactId> | ||||
|     <version>1.0</version> | ||||
|     <packaging>jar</packaging> | ||||
| 
 | ||||
|     <properties> | ||||
|         <!-- use UTF-8 for everything --> | ||||
|         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||||
|         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||||
|     </properties> | ||||
| 
 | ||||
|     <dependencies> | ||||
|         <dependency> | ||||
|             <groupId>com.google.android</groupId> | ||||
|             <artifactId>android</artifactId> | ||||
|             <version>4.1.1.4</version> | ||||
|             <scope>provided</scope> | ||||
|         </dependency> | ||||
|     </dependencies> | ||||
| 
 | ||||
|     <build> | ||||
|         <plugins> | ||||
|             <plugin> | ||||
|                 <artifactId>maven-compiler-plugin</artifactId> | ||||
|                 <version>3.1</version> | ||||
|                 <configuration> | ||||
|                     <source>1.7</source> | ||||
|                     <target>1.7</target> | ||||
|                 </configuration> | ||||
|             </plugin> | ||||
|         </plugins> | ||||
|     </build> | ||||
| 
 | ||||
| </project> | ||||
							
								
								
									
										11
									
								
								src/main/AndroidManifest.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/main/AndroidManifest.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|           package="fr.nrz.androidlib" | ||||
|           android:versionCode="1" | ||||
|           android:versionName="1.0"> | ||||
| 
 | ||||
|     <uses-sdk | ||||
|             android:minSdkVersion="8" | ||||
|             android:targetSdkVersion="23"/> | ||||
| 
 | ||||
| </manifest> | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user