Difference between revisions of "Processing to Android app"

From Interaction Station Wiki
Jump to: navigation, search
Line 13: Line 13:
 
<p>
 
<p>
 
- - - - - - - - - - - - - - - - - - - - <br>
 
- - - - - - - - - - - - - - - - - - - - <br>
'''step #1'''
+
'''step #1'''<br>
download processing
+
download processing<br>
 
https://processing.org/download/
 
https://processing.org/download/
 
</p>
 
</p>
Line 20: Line 20:
 
- - - - - - - - - - - - - - - - - - - - <br>
 
- - - - - - - - - - - - - - - - - - - - <br>
 
'''step #2'''<br>
 
'''step #2'''<br>
install Android Software Development Kit to be able to create a android App.
+
install Android Software Development Kit to be able to create a android App.<br>
https://developer.android.com/sdk/index.html?hl=i#download
+
https://developer.android.com/sdk/index.html?hl=i#download<br><br>
  
 
Update the necessary tools and updates
 
Update the necessary tools and updates
Line 28: Line 28:
 
- - - - - - - - - - - - - - - - - - - - <br>
 
- - - - - - - - - - - - - - - - - - - - <br>
 
'''step #3'''<br>
 
'''step #3'''<br>
download and move [https://dl.dropboxusercontent.com/u/5898761/AndroidMode.zip android-mode for Processing] and place in folder „modes”
+
download and move [https://dl.dropboxusercontent.com/u/5898761/AndroidMode.zip android-mode for Processing] and place in folder „modes”<br>
 
(strangely the latest version of android mode @ the official website doesn’t work for me)
 
(strangely the latest version of android mode @ the official website doesn’t work for me)
 
 
</p>
 
</p>
 
<p>
 
<p>
 
- - - - - - - - - - - - - - - - - - - - <br>
 
- - - - - - - - - - - - - - - - - - - - <br>
 
'''stap #5'''<br>
 
'''stap #5'''<br>
follow the steps in this blogpost to add a JDK to the Processing app’s Package Contents
+
follow the steps in this blogpost to add a JDK to the Processing app’s Package Contents<br>
 
http://forum.processing.org/two/discussion/6911/cannot-install-android-mode/p1
 
http://forum.processing.org/two/discussion/6911/cannot-install-android-mode/p1
 
</p>
 
</p>

Revision as of 17:08, 18 November 2014

It is possible to use Processing to make a native Android app.

To do so you need to install:

• Processing
• Android mode in Processing
• Android SDK (Software Development Kit)

Also it is possible to install additional libraries in Processing to access the sensors of your mobile device more easily. One that I found useful is the Ketai library.


The following steps worked for my computer (Processing 2.2.1 and on OSX 10.9)

- - - - - - - - - - - - - - - - - - - -
step #1
download processing
https://processing.org/download/

- - - - - - - - - - - - - - - - - - - -
step #2
install Android Software Development Kit to be able to create a android App.
https://developer.android.com/sdk/index.html?hl=i#download

Update the necessary tools and updates

- - - - - - - - - - - - - - - - - - - -
step #3
download and move android-mode for Processing and place in folder „modes”
(strangely the latest version of android mode @ the official website doesn’t work for me)

- - - - - - - - - - - - - - - - - - - -
stap #5
follow the steps in this blogpost to add a JDK to the Processing app’s Package Contents
http://forum.processing.org/two/discussion/6911/cannot-install-android-mode/p1


done!