diff --git a/.gitignore b/.gitignore index fb8e9e0..859420a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # generated files bin/ gen/ +target/ # Local configuration file (sdk path, etc) local.properties @@ -18,3 +19,8 @@ local.properties # Eclipse project files .classpath .project + +# IDEA project files +.idea/ +*.iml + diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..bb87e4a --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + diff --git a/default.properties b/default.properties new file mode 100644 index 0000000..6ec71ca --- /dev/null +++ b/default.properties @@ -0,0 +1,3 @@ +# File used by Eclipse to determine the target system +# Project target. +target=android-16 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..4e403c2 --- /dev/null +++ b/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + com.github.hoverruan + libr-android + 1.0-SNAPSHOT + apk + libr-android + + + 4.1.1.4 + + + + + com.google.android + android + ${platform.version} + provided + + + + + + + com.jayway.maven.plugins.android.generation2 + android-maven-plugin + 3.1.1 + + ${project.basedir}/AndroidManifest.xml + ${project.basedir}/assets + ${project.basedir}/res + ${project.basedir}/src/main/native + + 16 + + true + + true + + + + maven-compiler-plugin + 2.3.2 + + 1.6 + 1.6 + + + + + diff --git a/res/drawable-hdpi/icon.png b/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..afc1a0e Binary files /dev/null and b/res/drawable-hdpi/icon.png differ diff --git a/res/drawable-ldpi/icon.png b/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..5a89924 Binary files /dev/null and b/res/drawable-ldpi/icon.png differ diff --git a/res/drawable-mdpi/icon.png b/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..7e079bb Binary files /dev/null and b/res/drawable-mdpi/icon.png differ diff --git a/res/layout/main.xml b/res/layout/main.xml new file mode 100644 index 0000000..4361cfe --- /dev/null +++ b/res/layout/main.xml @@ -0,0 +1,7 @@ + + + diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..ef577e2 --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,4 @@ + + + Libr Client + diff --git a/src/main/java/com/github/hoverruan/libr/MainActivity.java b/src/main/java/com/github/hoverruan/libr/MainActivity.java new file mode 100644 index 0000000..799b36d --- /dev/null +++ b/src/main/java/com/github/hoverruan/libr/MainActivity.java @@ -0,0 +1,16 @@ +package com.github.hoverruan.libr; + +import android.app.Activity; +import android.os.Bundle; +import com.github.hoverruan.R; + +/** + * @author Hover Ruan + */ +public class MainActivity extends Activity { + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + setContentView(R.layout.main); + } +}