www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 61bd6a689f5c225935099bc6a18282c2e2f9f901
parent 95f27b32bb8844e6ce6fd6511868ed29aafae712
Author: Bertrand BRUN <bertrand0brun@gmail.com>
Date:   Tue, 11 Jan 2011 20:48:34 +0100

Ajout du squelette du projet. Le projet peut etre importe directement avec Eclipse

Diffstat:
Acode/.gitignore | 0
Acode/PtiClic/.classpath | 7+++++++
Acode/PtiClic/.project | 33+++++++++++++++++++++++++++++++++
Acode/PtiClic/AndroidManifest.xml | 19+++++++++++++++++++
Acode/PtiClic/default.properties | 11+++++++++++
Acode/PtiClic/proguard.cfg | 34++++++++++++++++++++++++++++++++++
Acode/PtiClic/res/drawable-hdpi/icon.png | 0
Acode/PtiClic/res/drawable-ldpi/icon.png | 0
Acode/PtiClic/res/drawable-mdpi/icon.png | 0
Acode/PtiClic/res/layout/main.xml | 12++++++++++++
Acode/PtiClic/res/values/strings.xml | 5+++++
Acode/PtiClic/src/org/pticlic/Main.java | 14++++++++++++++
12 files changed, 135 insertions(+), 0 deletions(-)

diff --git a/code/.gitignore b/code/.gitignore diff --git a/code/PtiClic/.classpath b/code/PtiClic/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="src" path="gen"/> + <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/code/PtiClic/.project b/code/PtiClic/.project @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>PtiClic</name> + <comment></comment> + <projects> + </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> +</projectDescription> diff --git a/code/PtiClic/AndroidManifest.xml b/code/PtiClic/AndroidManifest.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="org.pticlic" + android:versionCode="1" + android:versionName="1.0"> + <application android:icon="@drawable/icon" android:label="@string/app_name"> + <activity android:name=".Main" + android:label="@string/app_name"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + + </application> + + +</manifest> +\ No newline at end of file diff --git a/code/PtiClic/default.properties b/code/PtiClic/default.properties @@ -0,0 +1,11 @@ +# 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 use, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-7 diff --git a/code/PtiClic/proguard.cfg b/code/PtiClic/proguard.cfg @@ -0,0 +1,34 @@ +-optimizationpasses 5 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-dontpreverify +-verbose +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* + +-keep public class * extends android.app.Activity +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver +-keep public class * extends android.content.ContentProvider +-keep public class com.android.vending.licensing.ILicensingService + +-keepclasseswithmembernames class * { + native <methods>; +} + +-keepclasseswithmembernames class * { + public <init>(android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembernames class * { + public <init>(android.content.Context, android.util.AttributeSet, int); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +} diff --git a/code/PtiClic/res/drawable-hdpi/icon.png b/code/PtiClic/res/drawable-hdpi/icon.png Binary files differ. diff --git a/code/PtiClic/res/drawable-ldpi/icon.png b/code/PtiClic/res/drawable-ldpi/icon.png Binary files differ. diff --git a/code/PtiClic/res/drawable-mdpi/icon.png b/code/PtiClic/res/drawable-mdpi/icon.png Binary files differ. diff --git a/code/PtiClic/res/layout/main.xml b/code/PtiClic/res/layout/main.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > +<TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/hello" + /> +</LinearLayout> diff --git a/code/PtiClic/res/values/strings.xml b/code/PtiClic/res/values/strings.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Hello World, Main!</string> + <string name="app_name">PtiClic</string> +</resources> diff --git a/code/PtiClic/src/org/pticlic/Main.java b/code/PtiClic/src/org/pticlic/Main.java @@ -0,0 +1,13 @@ +package org.pticlic; + +import android.app.Activity; +import android.os.Bundle; + +public class Main extends Activity { + /** Called when the activity is first created. */ + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.main); + } +} +\ No newline at end of file