I suspect I already know the answer to this (that being “no, use android studio”), but was just wondering if the PDE can handle multiple activities.
Basically I have three or four different screens (data isn’t being sent between screens/activities), all of which can be done completely in Processing. But I feel like to be able to tie them together I need to move up to AS.
Thanks in advance,
short answer: use AS, forget P5
not so short: you can create an activity but you cannot use P5 with it and have to code with android native
another one: you can also create another fragment and use P5 with it…
That’s what I assumed. Thanks for the confirmation, @akenaton.
What do you have on your screen?
I use views like textview, listview, seekbar, button, webview etc programmaticaly. I set them in onStart(), make them invisible, and call them back with runnables. You could set up a canvas to paint on, but why would you do that? To have different screens I use boolean flags in “if blocks” within the draw() function and switch them on and off with buttons.