I wrote some code that sends data from an android app written with processing to another program running on windows (on the same wifi network). Before today, it worked perfectly. Now, seemingly randomly, it stopped. Even though the IP address of the host is hard-coded into the android app, I checked and it is still the same. The only difference is that the host application (windows PC) now includes methods for serial communication over USB with an Arduino. Running the android app in debug mode, i get the following error when I try to send an OscMessage -
ERROR @ UdpClient.send ioexception while sending packet.
I'm trying to use Processing to develop an android utility app for my phone, but it refuses to connect. I can deploy apps using eclipse with the SDK, but Processing simply doesn't work. Does anyone have suggestions about what might be causing this? This is the debug output when I try to deploy:
-set-mode-check:
-set-debug-files:
-check-env:
Android SDK Tools Revision 22.0.0
Installed at C:\Users\Jared\Downloads\adt-bundle-windows-x86_64-20130514\adt-bundle-windows-x86_64-20130514\sdk
-setup:
[echo] Project Name: PrinterController
Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
Using latest Build Tools: 17.0.0
[echo] Resolving Build Target for PrinterController...
Project Target: Android 2.3.3
API level: 10
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\gen
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\classes
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for PrinterController...
Library dependencies:
No Libraries
------------------
API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Since compiler setting isn't classic or modern, ignoring fork setting.
[javac] Since compiler setting isn't classic or modern, ignoring fork setting.
[javac] Since compiler setting isn't classic or modern, ignoring fork setting.
[javac] Compiling 3 source files to C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\classes
[javac] Since compiler setting isn't classic or modern, ignoring fork setting.
[javac] Note: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\src\processing\test\printercontroller\PrinterController.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.