#pragma section-numbers on = Frequently Asked Questions = <> == Installation == === Processing gives a startup error under Vista === If you get an error that "Processing cannot run because it could not create a folder to store your settings", then you should start Processing as ADMINISTRATOR. Right-click on processing.exe and select run as Administrator. == Processing Language == == Interfacing with other tools == === Is it possible to use Processing/Java with Max/msp? === Yes. Check out MaxJavaArduino. == Mobile Processing == === Is it possible to use Processing to program my mobile phone ? === Yes, if your phone can run Java [[http://en.wikipedia.org/wiki/MIDlet|MIDlets]]. see [[http://mobile.processing.org/|Mobile Processing]]. === How to program GPS using Mobile Processing? === That is going to be a bit too long to fit in here. Check out GpsInMobileProcessing. == Serial communication == === When starting my processing sketch it takes forever to establish serial communication. Whats up? === When starting serial communication, all serial ports of your notebook / PC are queried. Some of them (usually the Bluetooth related ones) are quite slow. Uninstalling these ports or disabling them using the device manager of windows will probably solve the problem. Note: not all serial ports are listed in the "Ports (COM & LPT)" section of the device manager. Some of them could be under e.g. "Modems"... == Programming AdMoVeo == === When running a program I get the error message: gnu.io.PortInUseException: Unknown Application _at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354) === When you create an instance of the AdMoVeo class in the "void setup" before calling the function "size(x,y)" this error message can appear. To solve this place the line with the "size()" function as first thing in your "void setup". For example: {{{ #!java void setup{ size(400,400); admoveo = new AdMoVeo(this, "COM5"); } }}} You may wonder what the reason is behind this. In the [[http://processing.org/reference/size_.html|Processing reference]] it states "Defines the dimension of the display window in units of pixels. The size() function must be the first line in setup().". Apparently size() does not only "size". it has some surprising and mysterious hiden functions. It is also irony to be seen as a [[http://dev.processing.org/bugs/show_bug.cgi?id=320|bug]] in user's code if size() is not the first line in setup(). === my wireless communication doesn't work === * The most common problem is that an USB cable is also plugged into your Arduino, at that moment the Xbee will be disabled. Unplugg the USB cable of the Arduino. * Choose the right comport in your sketch, the comport for the Xbee isn't the same number as the comport of the Arduino. == Other Questions == === Ah? I don't get it === Alright. Try to read it again. Follow the instruction carefully. === I still don't get it === That is fine. Bring the question to student assistants. The student assistants will help you out, or they will bring your questions to the lecturers.