diff --git a/code/PtiClic/AndroidManifest.xml b/code/PtiClic/AndroidManifest.xml
index da993e4..8af6454 100644
--- a/code/PtiClic/AndroidManifest.xml
+++ b/code/PtiClic/AndroidManifest.xml
@@ -3,16 +3,16 @@
package="org.pticlic"
android:versionCode="1"
android:versionName="1.0">
-
-
+
+
-
+
+
\ No newline at end of file
diff --git a/code/PtiClic/res/layout/main.xml b/code/PtiClic/res/layout/main.xml
index 3a5f117..406892e 100644
--- a/code/PtiClic/res/layout/main.xml
+++ b/code/PtiClic/res/layout/main.xml
@@ -1,12 +1,27 @@
-
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/code/PtiClic/res/values/strings.xml b/code/PtiClic/res/values/strings.xml
index 98dbf5b..27a6d13 100644
--- a/code/PtiClic/res/values/strings.xml
+++ b/code/PtiClic/res/values/strings.xml
@@ -1,5 +1,7 @@
- Hello World, Main!
+
PtiClic
+Préférences
+Jeux
diff --git a/code/PtiClic/res/xml/prefs.xml b/code/PtiClic/res/xml/prefs.xml
new file mode 100644
index 0000000..658727b
--- /dev/null
+++ b/code/PtiClic/res/xml/prefs.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/code/PtiClic/src/org/pticlic/Main.java b/code/PtiClic/src/org/pticlic/Main.java
index 36a52f6..077c5f3 100644
--- a/code/PtiClic/src/org/pticlic/Main.java
+++ b/code/PtiClic/src/org/pticlic/Main.java
@@ -1,13 +1,26 @@
package org.pticlic;
import android.app.Activity;
+import android.content.Intent;
import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
-public class Main extends Activity {
+public class Main extends Activity implements OnClickListener {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
+ ((Button)findViewById(R.id.prefs)).setOnClickListener(this);
+
}
+
+ @Override
+ public void onClick(View v) {
+ if (v.getId()==R.id.prefs) {
+ startActivity(new Intent(this, Preference.class));
+ }
+ }
}
\ No newline at end of file
diff --git a/code/PtiClic/src/org/pticlic/Preference.java b/code/PtiClic/src/org/pticlic/Preference.java
new file mode 100644
index 0000000..bff937c
--- /dev/null
+++ b/code/PtiClic/src/org/pticlic/Preference.java
@@ -0,0 +1,17 @@
+package org.pticlic;
+
+import android.os.Bundle;
+import android.preference.PreferenceActivity;
+
+public class Preference extends PreferenceActivity {
+
+ /* (non-Javadoc)
+ * @see android.preference.PreferenceActivity#onCreate(android.os.Bundle)
+ */
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ addPreferencesFromResource(R.xml.prefs);
+ }
+
+}
diff --git a/feuille-route/biblio.bib b/feuille-route/biblio.bib
new file mode 100644
index 0000000..c942719
--- /dev/null
+++ b/feuille-route/biblio.bib
@@ -0,0 +1,22 @@
+%% Bertrand : Source code optimization and profiling of energy consumption in embedded systems
+@inproceedings{citeulike:5700744,
+ abstract = {{This paper presents a source code optimization methodology and a profiling tool that have been developed to help designers in optimizing software performance and energy in embedded systems. Code optimizations are applied at three levels of abstraction: algorithmic, data and instruction-level. The profiler exploits a cycle-accurate energy consumption simulator [3] to relate the embedded system energy consumption and performance to the source code. Thus, it can be used for analysis (i.e., to find energy-critical sections of the code), and for validation (i.e., to assess the impact of each code optimization).Code optimizations and profiling tool are used to optimize and tune the implementation of an MPEG Layer III (MP3) audio decoder for the SmartBadge [2] portable embedded system. We show that using our methodology and tool we can quickly and easily redesign the MP3 audio decoder software to run in real time with low energy consumption. Performance increase of 92\% and energy consumption decrease of 77\% (over the original executable specification) has been achieved for MP3 audio decoding on the SmartBadge.}},
+ address = {Washington, DC, USA},
+ author = {\v{S}imuni\'{c}, Tajana and Benini, Luca and De Micheli, Giovanni and Hans, Mat},
+ booktitle = {ISSS '00: Proceedings of the 13th international symposium on System synthesis},
+ citeulike-article-id = {5700744},
+ citeulike-linkout-0 = {http://portal.acm.org/citation.cfm?id=501831},
+ citeulike-linkout-1 = {http://dx.doi.org/10.1145/501790.501831},
+ doi = {10.1145/501790.501831},
+ isbn = {1080-1082},
+ keywords = {embedded, energy-consumption},
+ location = {Madrid, Spain},
+ pages = {193--198},
+ posted-at = {2009-09-01 21:05:53},
+ priority = {2},
+ publisher = {IEEE Computer Society},
+ title = {{Source code optimization and profiling of energy consumption in embedded systems}},
+ url = {http://dx.doi.org/10.1145/501790.501831},
+ year = {2000}
+}
+
diff --git a/feuille-route/feuille-route.tex b/feuille-route/feuille-route.tex
index 6fbf915..fc102e5 100644
--- a/feuille-route/feuille-route.tex
+++ b/feuille-route/feuille-route.tex
@@ -50,7 +50,7 @@
\section*{Répartition des lectures dans le groupe}
\begin{description}
\item[\textsc{Bonavero} Yoann] Nom de l'article%\ref{référence biblio}
-\item[\textsc{Brun} Bertrand] Nom de l'article%\ref{référence biblio}
+\item[\textsc{Brun} Bertrand] Source Code Optimization and Profiling of Energy Consumption in Embedded Systems \cite{citeulike:5700744}
\item[\textsc{Charron} John] Nom de l'article%\ref{référence biblio}
\item[\textsc{Dupéron} Georges] Nom de l'article%\ref{référence biblio}
\end{description}
@@ -60,7 +60,10 @@
\item[\textsc{Charron} John] Responsable de la communication
\end{description}
%% TODO : bibtex ici
-%
+
+\bibliographystyle{plain}
+\bibliography{biblio}
+
\includepdf[pages=1,angle=-90]{gantt.pdf}
\includepdf[pages=2,angle=-90]{gantt.pdf}
\includepdf[pages=3,angle=-90]{gantt.pdf}