tuto_ecj_android
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tuto_ecj_android [2014/03/03 14:39] – Denis Pallez | tuto_ecj_android [2014/03/03 16:27] (current) – Denis Pallez | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to install ECJ library on Android environment ? ====== | ====== How to install ECJ library on Android environment ? ====== | ||
- | - [[# | ||
- | - [[# | ||
- | - [[# | ||
- | - [[# | ||
- | - [[# | ||
- | - [[# | ||
- | - [[# | ||
- | |||
===== 1. Installation of Eclispe and Android SDK ===== | ===== 1. Installation of Eclispe and Android SDK ===== | ||
First of all, to make the development of Android app easier, you have to install the Eclipse framework. In this environment, | First of all, to make the development of Android app easier, you have to install the Eclipse framework. In this environment, | ||
- | |||
- | [[# | ||
===== 2. Create a new Android Project ===== | ===== 2. Create a new Android Project ===== | ||
Line 18: | Line 8: | ||
When the two first steps are done, we will create a new Android project with eclipse. < | When the two first steps are done, we will create a new Android project with eclipse. < | ||
- In your workspace, your new project should be as shown below :</ | - In your workspace, your new project should be as shown below :</ | ||
- | |||
- | [[# | ||
===== 3. Add ECJ library in your project ===== | ===== 3. Add ECJ library in your project ===== | ||
Line 36: | Line 24: | ||
- Right click on this new package -> new -> File | - Right click on this new package -> new -> File | ||
- Name the new file " | - Name the new file " | ||
- | |||
- | [[# | ||
===== 4. Collect configuration data ===== | ===== 4. Collect configuration data ===== | ||
Line 73: | Line 59: | ||
result = evaluatedState.evolve(); | result = evaluatedState.evolve(); | ||
</ | </ | ||
- | |||
- | [[# | ||
===== 5. Print configuration data ===== | ===== 5. Print configuration data ===== | ||
Line 96: | Line 80: | ||
</ | </ | ||
\\ {{ECJ_Android_fichiers: | \\ {{ECJ_Android_fichiers: | ||
- | |||
- | [[# | ||
===== 6. Write in a File with Android ===== | ===== 6. Write in a File with Android ===== | ||
Line 135: | Line 117: | ||
As you can understand, this code write the text "Hello World" into the file " | As you can understand, this code write the text "Hello World" into the file " | ||
- | |||
- | [[# | ||
===== 7. Use a file in an another one ===== | ===== 7. Use a file in an another one ===== | ||
Line 147: | Line 127: | ||
</ | </ | ||
Now, if you load " | Now, if you load " | ||
- | |||
- | [[# | ||
Any questions or suggestions ? [[guegan@polytech.unice.fr; | Any questions or suggestions ? [[guegan@polytech.unice.fr; |
tuto_ecj_android.1393857555.txt.gz · Last modified: 2014/03/03 14:39 by Denis Pallez