Difference between revisions of "Processing to Android app"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
You need to install:
 
You need to install:
  
• Processing<br>
+
• Processing <br>
 
• Android mode in Processing<br>
 
• Android mode in Processing<br>
 
• Android SDK (Software Development Kit)<br>
 
• Android SDK (Software Development Kit)<br>
  
Also it is possible to install additional libraries in Processing to access the sensors of your mobile device more easily. One of them is the  
+
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 [https://code.google.com/p/ketai/].
  
  
Line 21: Line 21:
 
'''step #2'''
 
'''step #2'''
 
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.
https://developer.android.com/sdk/index.html?hl=i#download
+
[https://developer.android.com/sdk/index.html?hl=i#download]
  
 
update the necessary tools and updates
 
update the necessary tools and updates
Line 29: Line 29:
 
download and move android-mode for Processing and place in folder „modes”
 
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)
 
(strangely the latest version of android mode @ the official website doesn’t work for me)
https://dl.dropboxusercontent.com/u/5898761/AndroidMode.zip
+
[https://dl.dropboxusercontent.com/u/5898761/AndroidMode.zip]
  
 
- - - - - - - - - - - - - - - - - - - -  
 
- - - - - - - - - - - - - - - - - - - -  
 
'''stap #5'''
 
'''stap #5'''
 
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
http://forum.processing.org/two/discussion/6911/cannot-install-android-mode/p1
+
[http://forum.processing.org/two/discussion/6911/cannot-install-android-mode/p1]
  
  
  
 
done!
 
done!

Revision as of 18:02, 18 November 2014

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

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 [1].


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. [2] 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) [3]

- - - - - - - - - - - - - - - - - - - - stap #5 follow the steps in this blogpost to add a JDK to the Processing app’s Package Contents [4]


done!