Loading...
Logo
Processing Forum
Hi,

I am looking to create an android application in eclipse using the processing library.
I want to use the wywiwyg editor for creating a menu while using processing's draw() function to display graphics based on user input.
my problem is that if I use ...

public void onCreate(Bundle savedInstanceState) {

.. to create the menu, draw() and setup seem to be ignored.

Is it possible to achieve what I am trying?

 

Replies(5)

Are you using the eclipse plugin?
No, I am just simply using the android-core.jar library within Eclipse?
Do I need a plugin?


Cheers
Thanks for posting the link.  I thought about doing so, but I know it's got some problems.  I have installed it and used it, but the sketches don't seem to run properly in Eclipse (though they run great if I load them into the PDE).  I've thought about digging in to find out what's wrong with the plug-in, but haven't gotten very far.  It's possible that the plug-in needs some work, and the GitHub repo hasn't seen any activity in a long time.

Also, there is another approach documented in the wiki and on Processing.org.  I was hoping there was someone else on the forum that had more experience with Processing in Eclipse.
This is a better link... much easier, and up to date.


Note that there is a SuperClass not found error with API 17 and Revision 22, so maybe stick to API 16 for now when you setup your project.