diff --git a/2012/Modjo/.classpath b/2012/Modjo/.classpath
new file mode 100755
index 0000000..e54d478
--- /dev/null
+++ b/2012/Modjo/.classpath
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/2012/Modjo/.project b/2012/Modjo/.project
new file mode 100755
index 0000000..4417602
--- /dev/null
+++ b/2012/Modjo/.project
@@ -0,0 +1,33 @@
+
+
+ Sodjo
+
+
+
+
+
+ com.android.ide.eclipse.adt.ResourceManagerBuilder
+
+
+
+
+ com.android.ide.eclipse.adt.PreCompilerBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ com.android.ide.eclipse.adt.ApkBuilder
+
+
+
+
+
+ com.android.ide.eclipse.adt.AndroidNature
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/2012/Modjo/.settings/org.eclipse.jdt.core.prefs b/2012/Modjo/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 0000000..ba8c839
--- /dev/null
+++ b/2012/Modjo/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,5 @@
+#Tue Jan 24 11:54:20 CET 2012
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/2012/Modjo/AndroidManifest.out.xml b/2012/Modjo/AndroidManifest.out.xml
new file mode 100755
index 0000000..e69de29
diff --git a/2012/Modjo/AndroidManifest.xml b/2012/Modjo/AndroidManifest.xml
new file mode 100755
index 0000000..4438277
--- /dev/null
+++ b/2012/Modjo/AndroidManifest.xml
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/assets/fonts/Home&Hearth.ttf b/2012/Modjo/assets/fonts/Home&Hearth.ttf
new file mode 100755
index 0000000..8032b8a
Binary files /dev/null and b/2012/Modjo/assets/fonts/Home&Hearth.ttf differ
diff --git a/2012/Modjo/bin/Sodjo.apk b/2012/Modjo/bin/Sodjo.apk
new file mode 100644
index 0000000..e6067ad
Binary files /dev/null and b/2012/Modjo/bin/Sodjo.apk differ
diff --git a/2012/Modjo/bin/classes.dex b/2012/Modjo/bin/classes.dex
new file mode 100755
index 0000000..5d328f9
Binary files /dev/null and b/2012/Modjo/bin/classes.dex differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R$attr.class b/2012/Modjo/bin/classes/com/sodjo/R$attr.class
new file mode 100644
index 0000000..c760919
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R$attr.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R$drawable.class b/2012/Modjo/bin/classes/com/sodjo/R$drawable.class
new file mode 100644
index 0000000..4e2d929
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R$drawable.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R$id.class b/2012/Modjo/bin/classes/com/sodjo/R$id.class
new file mode 100644
index 0000000..173417d
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R$id.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R$layout.class b/2012/Modjo/bin/classes/com/sodjo/R$layout.class
new file mode 100644
index 0000000..9811666
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R$layout.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R$string.class b/2012/Modjo/bin/classes/com/sodjo/R$string.class
new file mode 100644
index 0000000..c0ef3b3
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R$string.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R$style.class b/2012/Modjo/bin/classes/com/sodjo/R$style.class
new file mode 100644
index 0000000..879ead4
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R$style.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/R.class b/2012/Modjo/bin/classes/com/sodjo/R.class
new file mode 100644
index 0000000..500a8ac
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/R.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/activities/GamesActivity.class b/2012/Modjo/bin/classes/com/sodjo/activities/GamesActivity.class
new file mode 100644
index 0000000..137661a
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/activities/GamesActivity.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/activities/ProfileActivity.class b/2012/Modjo/bin/classes/com/sodjo/activities/ProfileActivity.class
new file mode 100644
index 0000000..257a530
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/activities/ProfileActivity.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/activities/StreamActivity$StreamPagerAdapter.class b/2012/Modjo/bin/classes/com/sodjo/activities/StreamActivity$StreamPagerAdapter.class
new file mode 100644
index 0000000..7906ac1
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/activities/StreamActivity$StreamPagerAdapter.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/activities/StreamActivity.class b/2012/Modjo/bin/classes/com/sodjo/activities/StreamActivity.class
new file mode 100644
index 0000000..1e28690
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/activities/StreamActivity.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/activities/TabsActivity.class b/2012/Modjo/bin/classes/com/sodjo/activities/TabsActivity.class
new file mode 100644
index 0000000..e3906ee
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/activities/TabsActivity.class differ
diff --git a/2012/Modjo/bin/classes/com/sodjo/activities/ZonesActivity.class b/2012/Modjo/bin/classes/com/sodjo/activities/ZonesActivity.class
new file mode 100644
index 0000000..34a3ee6
Binary files /dev/null and b/2012/Modjo/bin/classes/com/sodjo/activities/ZonesActivity.class differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/ic_launcher.png b/2012/Modjo/bin/res/drawable-hdpi/ic_launcher.png
new file mode 100755
index 0000000..882eb14
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/ic_launcher.png differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/ic_stream.png b/2012/Modjo/bin/res/drawable-hdpi/ic_stream.png
new file mode 100755
index 0000000..75a0cef
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/ic_stream.png differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/ic_zone.png b/2012/Modjo/bin/res/drawable-hdpi/ic_zone.png
new file mode 100755
index 0000000..93aac38
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/ic_zone.png differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/storm.png b/2012/Modjo/bin/res/drawable-hdpi/storm.png
new file mode 100755
index 0000000..5133084
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/storm.png differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/stream.png b/2012/Modjo/bin/res/drawable-hdpi/stream.png
new file mode 100755
index 0000000..66abbd8
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/stream.png differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/tele4l.png b/2012/Modjo/bin/res/drawable-hdpi/tele4l.png
new file mode 100644
index 0000000..215edc3
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/tele4l.png differ
diff --git a/2012/Modjo/bin/res/drawable-hdpi/yo.png b/2012/Modjo/bin/res/drawable-hdpi/yo.png
new file mode 100644
index 0000000..25ae45b
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-hdpi/yo.png differ
diff --git a/2012/Modjo/bin/res/drawable-ldpi/ic_launcher.png b/2012/Modjo/bin/res/drawable-ldpi/ic_launcher.png
new file mode 100755
index 0000000..18689f6
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-ldpi/ic_launcher.png differ
diff --git a/2012/Modjo/bin/res/drawable-mdpi/ic_launcher.png b/2012/Modjo/bin/res/drawable-mdpi/ic_launcher.png
new file mode 100755
index 0000000..02e96b9
Binary files /dev/null and b/2012/Modjo/bin/res/drawable-mdpi/ic_launcher.png differ
diff --git a/2012/Modjo/bin/res/drawable/stream.png b/2012/Modjo/bin/res/drawable/stream.png
new file mode 100644
index 0000000..66abbd8
Binary files /dev/null and b/2012/Modjo/bin/res/drawable/stream.png differ
diff --git a/2012/Modjo/bin/res/drawable/tele4l.png b/2012/Modjo/bin/res/drawable/tele4l.png
new file mode 100644
index 0000000..215edc3
Binary files /dev/null and b/2012/Modjo/bin/res/drawable/tele4l.png differ
diff --git a/2012/Modjo/bin/res/drawable/yo.png b/2012/Modjo/bin/res/drawable/yo.png
new file mode 100644
index 0000000..25ae45b
Binary files /dev/null and b/2012/Modjo/bin/res/drawable/yo.png differ
diff --git a/2012/Modjo/bin/resources.ap_ b/2012/Modjo/bin/resources.ap_
new file mode 100644
index 0000000..cff1647
Binary files /dev/null and b/2012/Modjo/bin/resources.ap_ differ
diff --git a/2012/Modjo/gen/com/sodjo/R.java b/2012/Modjo/gen/com/sodjo/R.java
new file mode 100644
index 0000000..68a2bea
--- /dev/null
+++ b/2012/Modjo/gen/com/sodjo/R.java
@@ -0,0 +1,59 @@
+/* AUTO-GENERATED FILE. DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found. It
+ * should not be modified by hand.
+ */
+
+package com.sodjo;
+
+public final class R {
+ public static final class attr {
+ }
+ public static final class drawable {
+ public static final int ic_launcher=0x7f020000;
+ public static final int ic_stream=0x7f020001;
+ public static final int ic_tab_stream=0x7f020002;
+ public static final int ic_tab_zone=0x7f020003;
+ public static final int ic_zone=0x7f020004;
+ public static final int moi=0x7f020005;
+ public static final int storm=0x7f020006;
+ public static final int stream=0x7f020007;
+ public static final int tele4l=0x7f020008;
+ public static final int yo=0x7f020009;
+ }
+ public static final class id {
+ public static final int action=0x7f060004;
+ public static final int friend_stream=0x7f060000;
+ public static final int geo_stream=0x7f060002;
+ public static final int streamsPanels=0x7f060006;
+ public static final int textView1=0x7f060001;
+ public static final int user_image=0x7f060003;
+ public static final int zone=0x7f060005;
+ }
+ public static final class layout {
+ public static final int friend_stream=0x7f030000;
+ public static final int games=0x7f030001;
+ public static final int geo_stream=0x7f030002;
+ public static final int ic_tab_sections=0x7f030003;
+ public static final int main=0x7f030004;
+ public static final int profile=0x7f030005;
+ public static final int stream=0x7f030006;
+ public static final int stream_item=0x7f030007;
+ public static final int zones=0x7f030008;
+ }
+ public static final class string {
+ public static final int app_name=0x7f050001;
+ public static final int friendStream=0x7f050007;
+ public static final int games_section=0x7f050004;
+ public static final int geoStream=0x7f050006;
+ public static final int hello=0x7f050000;
+ public static final int profile_section=0x7f050005;
+ public static final int stream_section=0x7f050002;
+ public static final int user_image=0x7f050008;
+ public static final int zones_section=0x7f050003;
+ }
+ public static final class style {
+ public static final int CodeFont=0x7f040000;
+ }
+}
diff --git a/2012/Modjo/lint.xml b/2012/Modjo/lint.xml
new file mode 100644
index 0000000..ee0eead
--- /dev/null
+++ b/2012/Modjo/lint.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/proguard.cfg b/2012/Modjo/proguard.cfg
new file mode 100755
index 0000000..b1cdf17
--- /dev/null
+++ b/2012/Modjo/proguard.cfg
@@ -0,0 +1,40 @@
+-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 * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native ;
+}
+
+-keepclasseswithmembers class * {
+ public (android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembers class * {
+ public (android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers class * extends android.app.Activity {
+ public void *(android.view.View);
+}
+
+-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/2012/Modjo/project.properties b/2012/Modjo/project.properties
new file mode 100755
index 0000000..bd4e7ff
--- /dev/null
+++ b/2012/Modjo/project.properties
@@ -0,0 +1 @@
+target=android-10
\ No newline at end of file
diff --git a/2012/Modjo/res/drawable-hdpi/ic_launcher.png b/2012/Modjo/res/drawable-hdpi/ic_launcher.png
new file mode 100755
index 0000000..8074c4c
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/ic_launcher.png differ
diff --git a/2012/Modjo/res/drawable-hdpi/ic_stream.png b/2012/Modjo/res/drawable-hdpi/ic_stream.png
new file mode 100755
index 0000000..3fb9f9e
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/ic_stream.png differ
diff --git a/2012/Modjo/res/drawable-hdpi/ic_zone.png b/2012/Modjo/res/drawable-hdpi/ic_zone.png
new file mode 100755
index 0000000..93b8675
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/ic_zone.png differ
diff --git a/2012/Modjo/res/drawable-hdpi/moi.jpg b/2012/Modjo/res/drawable-hdpi/moi.jpg
new file mode 100644
index 0000000..acdb11e
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/moi.jpg differ
diff --git a/2012/Modjo/res/drawable-hdpi/storm.png b/2012/Modjo/res/drawable-hdpi/storm.png
new file mode 100755
index 0000000..c4a110e
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/storm.png differ
diff --git a/2012/Modjo/res/drawable-hdpi/stream.png b/2012/Modjo/res/drawable-hdpi/stream.png
new file mode 100755
index 0000000..5970d6e
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/stream.png differ
diff --git a/2012/Modjo/res/drawable-hdpi/tele4l.png b/2012/Modjo/res/drawable-hdpi/tele4l.png
new file mode 100644
index 0000000..b6dc458
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/tele4l.png differ
diff --git a/2012/Modjo/res/drawable-hdpi/yo.png b/2012/Modjo/res/drawable-hdpi/yo.png
new file mode 100644
index 0000000..2bfdd6a
Binary files /dev/null and b/2012/Modjo/res/drawable-hdpi/yo.png differ
diff --git a/2012/Modjo/res/drawable-ldpi/ic_launcher.png b/2012/Modjo/res/drawable-ldpi/ic_launcher.png
new file mode 100755
index 0000000..1095584
Binary files /dev/null and b/2012/Modjo/res/drawable-ldpi/ic_launcher.png differ
diff --git a/2012/Modjo/res/drawable-mdpi/ic_launcher.png b/2012/Modjo/res/drawable-mdpi/ic_launcher.png
new file mode 100755
index 0000000..a07c69f
Binary files /dev/null and b/2012/Modjo/res/drawable-mdpi/ic_launcher.png differ
diff --git a/2012/Modjo/res/drawable/ic_tab_stream.xml b/2012/Modjo/res/drawable/ic_tab_stream.xml
new file mode 100755
index 0000000..82b64c9
--- /dev/null
+++ b/2012/Modjo/res/drawable/ic_tab_stream.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/drawable/ic_tab_zone.xml b/2012/Modjo/res/drawable/ic_tab_zone.xml
new file mode 100755
index 0000000..e41f126
--- /dev/null
+++ b/2012/Modjo/res/drawable/ic_tab_zone.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/drawable/moi.jpg b/2012/Modjo/res/drawable/moi.jpg
new file mode 100644
index 0000000..acdb11e
Binary files /dev/null and b/2012/Modjo/res/drawable/moi.jpg differ
diff --git a/2012/Modjo/res/drawable/stream.png b/2012/Modjo/res/drawable/stream.png
new file mode 100755
index 0000000..5970d6e
Binary files /dev/null and b/2012/Modjo/res/drawable/stream.png differ
diff --git a/2012/Modjo/res/drawable/tele4l.png b/2012/Modjo/res/drawable/tele4l.png
new file mode 100644
index 0000000..b6dc458
Binary files /dev/null and b/2012/Modjo/res/drawable/tele4l.png differ
diff --git a/2012/Modjo/res/drawable/yo.png b/2012/Modjo/res/drawable/yo.png
new file mode 100644
index 0000000..2bfdd6a
Binary files /dev/null and b/2012/Modjo/res/drawable/yo.png differ
diff --git a/2012/Modjo/res/layout/friend_stream.xml b/2012/Modjo/res/layout/friend_stream.xml
new file mode 100755
index 0000000..6f67faf
--- /dev/null
+++ b/2012/Modjo/res/layout/friend_stream.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/games.xml b/2012/Modjo/res/layout/games.xml
new file mode 100755
index 0000000..9fe3d09
--- /dev/null
+++ b/2012/Modjo/res/layout/games.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/geo_stream.xml b/2012/Modjo/res/layout/geo_stream.xml
new file mode 100755
index 0000000..129ef31
--- /dev/null
+++ b/2012/Modjo/res/layout/geo_stream.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/ic_tab_sections.xml b/2012/Modjo/res/layout/ic_tab_sections.xml
new file mode 100755
index 0000000..72bc88a
--- /dev/null
+++ b/2012/Modjo/res/layout/ic_tab_sections.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/main.xml b/2012/Modjo/res/layout/main.xml
new file mode 100755
index 0000000..06ee402
--- /dev/null
+++ b/2012/Modjo/res/layout/main.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/profile.xml b/2012/Modjo/res/layout/profile.xml
new file mode 100755
index 0000000..d8f2e43
--- /dev/null
+++ b/2012/Modjo/res/layout/profile.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/stream.xml b/2012/Modjo/res/layout/stream.xml
new file mode 100755
index 0000000..616e2a0
--- /dev/null
+++ b/2012/Modjo/res/layout/stream.xml
@@ -0,0 +1,11 @@
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/stream_item.xml b/2012/Modjo/res/layout/stream_item.xml
new file mode 100755
index 0000000..eae9611
--- /dev/null
+++ b/2012/Modjo/res/layout/stream_item.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/layout/zones.xml b/2012/Modjo/res/layout/zones.xml
new file mode 100755
index 0000000..b075a82
--- /dev/null
+++ b/2012/Modjo/res/layout/zones.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/values/Styles.xml b/2012/Modjo/res/values/Styles.xml
new file mode 100755
index 0000000..4c52c71
--- /dev/null
+++ b/2012/Modjo/res/values/Styles.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/2012/Modjo/res/values/strings.xml b/2012/Modjo/res/values/strings.xml
new file mode 100755
index 0000000..53d5321
--- /dev/null
+++ b/2012/Modjo/res/values/strings.xml
@@ -0,0 +1,13 @@
+
+
+
+ Hello World, Stream!
+ Sodjo
+ Flux
+ Zones
+ Jeux
+ Profil
+ Activités autour de moi
+ Activités de mes amis
+ Images de l\'utilisateur
+
\ No newline at end of file
diff --git a/2012/Modjo/src/com/sodjo/activities/GamesActivity.java b/2012/Modjo/src/com/sodjo/activities/GamesActivity.java
new file mode 100755
index 0000000..441e4e3
--- /dev/null
+++ b/2012/Modjo/src/com/sodjo/activities/GamesActivity.java
@@ -0,0 +1,15 @@
+package com.sodjo.activities;
+
+import com.sodjo.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+public class GamesActivity extends Activity {
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ setContentView(R.layout.games);
+ }
+}
\ No newline at end of file
diff --git a/2012/Modjo/src/com/sodjo/activities/ProfileActivity.java b/2012/Modjo/src/com/sodjo/activities/ProfileActivity.java
new file mode 100755
index 0000000..085f16b
--- /dev/null
+++ b/2012/Modjo/src/com/sodjo/activities/ProfileActivity.java
@@ -0,0 +1,15 @@
+package com.sodjo.activities;
+
+import com.sodjo.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+public class ProfileActivity extends Activity {
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ setContentView(R.layout.profile);
+ }
+}
diff --git a/2012/Modjo/src/com/sodjo/activities/StreamActivity.java b/2012/Modjo/src/com/sodjo/activities/StreamActivity.java
new file mode 100755
index 0000000..32bc0cf
--- /dev/null
+++ b/2012/Modjo/src/com/sodjo/activities/StreamActivity.java
@@ -0,0 +1,125 @@
+package com.sodjo.activities;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import com.sodjo.R;
+import com.sodjo.R.layout;
+
+import android.app.Activity;
+import android.content.Context;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.MotionEvent;
+
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.ListView;
+import android.widget.SimpleAdapter;
+import android.widget.TextView;
+import android.support.v4.view.PagerAdapter;
+import android.support.v4.view.ViewPager;
+
+public class StreamActivity extends Activity {
+
+ private ViewPager mPager;
+ private static int NB_VIEWS = 2;
+ private StreamPagerAdapter mPagerAdapter;
+
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.stream);
+
+ mPagerAdapter = new StreamPagerAdapter();
+ mPager = (ViewPager) findViewById(R.id.streamsPanels);
+ mPager.setAdapter(mPagerAdapter);
+ mPager.setCurrentItem(0);
+ }
+
+ private void populateGeoStream(View stream){
+ // List des données de chaque ment de la liste des flux
+ ArrayList> stream_data = new ArrayList>();
+
+ // Un HashMap par item
+ HashMap item_data;
+
+ item_data = new HashMap();
+ item_data.put("user_image", String.valueOf(R.drawable.moi));
+ item_data.put("action", "Supm4n a atteint le niveau \"Danger Above\" sur Angry bird");
+ item_data.put("zone", "TŽlŽcom Bretagne");
+
+ stream_data.add(item_data);
+
+ item_data = new HashMap();
+ item_data.put("user_image", String.valueOf(R.drawable.tele4l));
+ item_data.put("action", "John a tŽlŽchargŽ Fruit Slice");
+ item_data.put("zone", "ISEN");
+
+ stream_data.add(item_data);
+
+ item_data = new HashMap();
+ item_data.put("user_image", String.valueOf(R.drawable.yo));
+ item_data.put("action", "2xyo devient le nouveau Boss ˆ Tank Hero");
+ item_data.put("zone", "Maisel de TŽlŽcom Bretagne - Batiment I3");
+
+ stream_data.add(item_data);
+
+ item_data = new HashMap();
+ item_data.put("user_image", String.valueOf(R.drawable.moi));
+ item_data.put("action", "Supm4n suit maintenant 2xyo");
+ item_data.put("zone", "TŽlŽcom Bretagne");
+
+ stream_data.add(item_data);
+
+ //CrŽation d'un SimpleAdapter qui se chargera de mettre les items prŽsent dans notre list (listItem) dans la vue affichageitem
+ SimpleAdapter mAdapter = new SimpleAdapter (this.getBaseContext(), stream_data, R.layout.stream_item,
+ new String[] {"user_image", "action", "zone"}, new int[] {R.id.user_image, R.id.action, R.id.zone});
+
+ //On attribut ˆ notre listView l'adapter que l'on vient de crŽer
+ ((ListView) stream).setAdapter(mAdapter);
+
+ }
+
+ private class StreamPagerAdapter extends PagerAdapter{
+
+ @Override
+ public int getCount() {
+ return NB_VIEWS;
+ }
+
+ public Object instantiateItem(View collection, int position) {
+
+ LayoutInflater inflater = (LayoutInflater) collection.getContext()
+ .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
+
+ int resId = 0;
+ View view = null;
+ View stream_list = null;
+
+ switch (position) {
+ case 0:
+ resId = R.layout.geo_stream;
+ view = inflater.inflate(resId, null);
+
+ break;
+
+ case 1:
+ resId = R.layout.friend_stream;
+ view = inflater.inflate(resId, null);
+
+ break;
+ }
+
+
+ ((ViewPager) collection).addView(view, 0);
+ return view;
+ }
+
+ @Override
+ public boolean isViewFromObject(View arg0, Object arg1) {
+
+ return arg0 == ((View) arg1);
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/2012/Modjo/src/com/sodjo/activities/TabsActivity.java b/2012/Modjo/src/com/sodjo/activities/TabsActivity.java
new file mode 100755
index 0000000..e02b5c4
--- /dev/null
+++ b/2012/Modjo/src/com/sodjo/activities/TabsActivity.java
@@ -0,0 +1,45 @@
+package com.sodjo.activities;
+
+
+import com.sodjo.R;
+import android.app.TabActivity;
+import android.content.Intent;
+import android.content.res.Resources;
+import android.os.Bundle;
+import android.widget.TabHost;
+import android.widget.TextView;
+
+public class TabsActivity extends TabActivity {
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.main);
+
+ Resources res = getResources();
+ TabHost tabHost = getTabHost();
+ TabHost.TabSpec spec;
+ Intent intent;
+
+ // Create a Intent to lauch an Activity for the lab
+ intent = new Intent().setClass(this,StreamActivity.class);
+ spec = tabHost.newTabSpec("streams").setIndicator("Flux", res.getDrawable(R.drawable.ic_tab_stream)).setContent(intent);
+ tabHost.addTab(spec);
+
+ // Tab : Zones
+ intent = new Intent().setClass(this,ZonesActivity.class);
+ spec = tabHost.newTabSpec("zones").setIndicator("Zones", res.getDrawable(R.drawable.ic_tab_zone)).setContent(intent);
+ tabHost.addTab(spec);
+
+ // Tab : Games
+ intent = new Intent().setClass(this,GamesActivity.class);
+ spec = tabHost.newTabSpec("games").setIndicator("Jeux", res.getDrawable(R.drawable.ic_tab_zone)).setContent(intent);
+ tabHost.addTab(spec);
+
+ // Tab : Profile
+ intent = new Intent().setClass(this,ProfileActivity.class);
+ spec = tabHost.newTabSpec("profile").setIndicator("Profil", res.getDrawable(R.drawable.ic_tab_zone)).setContent(intent);
+ tabHost.addTab(spec);
+
+ tabHost.setCurrentTab(0);
+
+ }
+}
\ No newline at end of file
diff --git a/2012/Modjo/src/com/sodjo/activities/ZonesActivity.java b/2012/Modjo/src/com/sodjo/activities/ZonesActivity.java
new file mode 100755
index 0000000..525c372
--- /dev/null
+++ b/2012/Modjo/src/com/sodjo/activities/ZonesActivity.java
@@ -0,0 +1,15 @@
+package com.sodjo.activities;
+
+
+import com.sodjo.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class ZonesActivity extends Activity {
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ setContentView(R.layout.zones);
+ }
+}
\ No newline at end of file
diff --git a/README b/README
index fcdfdac..1c5d52e 100644
--- a/README
+++ b/README
@@ -12,6 +12,6 @@ TelecomEvents: abdel AGADAZI and Boubacar DIALLO and Geoffroy CLAUSS (Events org
FortuneTelling: Kun HE and Tengfei ZHAI (Chinese Fortune Telling)
Telecom-IRC: Alassane KANE and Jérémy SFEZ (Easy chatting tool for TB students, here: https://github.com/alassanekane/Telecom-IRC)
-
+Modjo: Christ Azika-Eros (Social network for gamers)