Alter canvas
in
Android Processing
•
1 year ago
Hello all,
I recently bought a Android phone and i managed to create programs for it in Processing 1.5.1. I tried to use 2.06, but i get error messages while compiling (Android mode), so i use 1.5.1. :(
The problem(s) however i currently have, is with the canvas. So i have a few questions about that.
Processing uses the whole screen to display my work, this is a great feature but it also means that it removes the notification bar (the bar that display the battery, time, wifi, BT, USB, notifications, etc etc.). Is there a way to display this bar again? Or is it possible to make my canvas smaller so that the bar is visible at all times?
There was recently a similar question about this, but the question was about the bar with the back, home, settings button that sits at the bottom of the screen (status bar?). On my phone this bar is not part of the screen, but anyhow, there was no answer for this problem. So far i know, Google is busy to make this standard belong to the screen for the new devices. So i want to know if it's possible to display this bar also?
3rd question: Sun/Oracle always demanded that the canvas is visible when you run a Java application. On Android however this demand is obsolete. Is there a way to hide the canvas so that a program can run in the background?
Last question: I still have a problem with the screen orientation. The application restarts when i rotate my phone. This is not a real problem, but there is always a black screen in between before my application shows again. Is there a way to prevent this?
Greetings, Peter.
I recently bought a Android phone and i managed to create programs for it in Processing 1.5.1. I tried to use 2.06, but i get error messages while compiling (Android mode), so i use 1.5.1. :(
The problem(s) however i currently have, is with the canvas. So i have a few questions about that.
Processing uses the whole screen to display my work, this is a great feature but it also means that it removes the notification bar (the bar that display the battery, time, wifi, BT, USB, notifications, etc etc.). Is there a way to display this bar again? Or is it possible to make my canvas smaller so that the bar is visible at all times?
There was recently a similar question about this, but the question was about the bar with the back, home, settings button that sits at the bottom of the screen (status bar?). On my phone this bar is not part of the screen, but anyhow, there was no answer for this problem. So far i know, Google is busy to make this standard belong to the screen for the new devices. So i want to know if it's possible to display this bar also?
3rd question: Sun/Oracle always demanded that the canvas is visible when you run a Java application. On Android however this demand is obsolete. Is there a way to hide the canvas so that a program can run in the background?
Last question: I still have a problem with the screen orientation. The application restarts when i rotate my phone. This is not a real problem, but there is always a black screen in between before my application shows again. Is there a way to prevent this?
Greetings, Peter.
1