[FE training-materials-updates] android: Add the location of the modules

Maxime Ripard maxime.ripard at free-electrons.com
Mon Aug 26 17:55:03 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=e312f9ad3cf1996a0636ddbf1c26ca3b6ae375da

>---------------------------------------------------------------

commit e312f9ad3cf1996a0636ddbf1c26ca3b6ae375da
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date:   Mon Aug 26 17:54:23 2013 +0200

    android: Add the location of the modules
    
    Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>


>---------------------------------------------------------------

e312f9ad3cf1996a0636ddbf1c26ca3b6ae375da
 labs/android-application/android-application.tex |    3 +++
 labs/android-jni-library/android-jni-library.tex |    6 ++++--
 labs/android-native-app/android-native-app.tex   |    2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/labs/android-application/android-application.tex b/labs/android-application/android-application.tex
index f0e0c7c..e11e993 100644
--- a/labs/android-application/android-application.tex
+++ b/labs/android-application/android-application.tex
@@ -34,6 +34,9 @@ You can still switch back-ends with the switch button in the application.
 
 \section{Integrate the application}
 
+Copy the \code{MissileControl} folder into the folder
+\code{device/<your>/<device>/apps} that you will create.
+
 Once again, write down the \code{Android.mk} file to build the application in the
 Android image, and set the dependencies on the JNI libs so that the app
 is compiled and runs properly.
diff --git a/labs/android-jni-library/android-jni-library.tex b/labs/android-jni-library/android-jni-library.tex
index 8f3f2f6..5399074 100644
--- a/labs/android-jni-library/android-jni-library.tex
+++ b/labs/android-jni-library/android-jni-library.tex
@@ -14,8 +14,10 @@ After this lab, you will be able to
 The code should be pretty close to the one you wrote in the native
 application lab, so you will find a skeleton of the folder to
 integrate into your product definition in the
-\code{$HOME/felabs/android/jni} directory. You will
-mostly have to modify function prototypes from your previous
+\code{$HOME/felabs/android/jni} directory. Copy the \code{frameworks}
+folder you will find there into your device folder.
+
+You will mostly have to modify function prototypes from your previous
 application to make it work with JNI.
 
 As a reminder, JNI requires the function prototype to be like:
diff --git a/labs/android-native-app/android-native-app.tex b/labs/android-native-app/android-native-app.tex
index 19002aa..719b3ba 100644
--- a/labs/android-native-app/android-native-app.tex
+++ b/labs/android-native-app/android-native-app.tex
@@ -10,7 +10,7 @@ After this lab, you will be able to:
 \section{Add the binary to the compiled image}
 Copy the \code{mlbin.c} file from the
 \code{$HOME/felabs/android/native-app} directory and put it into a new
-folder in your device folder called \code{bin}.
+folder in your device folder called \code{device/<your>/<device>/bin/mlbin}.
 
 
 Just as for \code{libusb}, you now need to make an \code{Android.mk} file



More information about the training-materials-updates mailing list