I have a problem for run an exported sketch.
When I use the RUN or PRESENT option in Processing editor the sketch runs well.
When I export and open the index.htm in the applet folder the sketch runs well too.
But if i try to run the .jar of proyect.pde skecth from command line: "java -jar proyect.jar"
Return an error:
"Excetion in thread "main" java.lang.NoclassDefFoundError: processing/core/PApplet
at java.lang.lang.ClassLoader.defineClass1(Native Method)
at java.lang.lang.ClassLoader.defineClassCond(Unkwon Source)
at java.lang.lang.ClassLoader.defineClass(Unkwon Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.lang.ClassLoader.loadClass(Unkwon Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.lang.ClassLoader.loadClass(Unkwon Source)
Caused by: java.land.ClassNotFoundException: processing.core.PApplet
at: java.net.URLClassLoader$1.run(Unknown Source)
at: java.security.AccessController doPrivileged(Native Method)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.lang.lang.ClassLoader.loadClass(Unkwon Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.lang.ClassLoader.loadClass(Unkwon Source)
... 12 more
Could not find the main class: proyect. Program will exit
In this sketch i use th e Minim sound lib, link command for access to a webpage, the comand saveframe and the basic image manipulation.
The case is that i have another simple.pde sketch that no use Minim lib, link command, saveframes and can run it from command line "java -jar simple.jar" and work fine.
I don't know what is the problem.
I'm use a windows XP, processing 0192 & java runtime env. (build 1.6.0_24-b07) Client VM (build 19.1-b02)
I can play videos fine with apwidgets but the android video player play the video fixed in screen.
How can play the video in a Pimage for put the every video frame with image() command in the draw section.
I need put icon componentes over the video frames an need rotade the video when the phone change position (every 90º)
I search it but no found any documentaction of how to play a video with PVideoView ina PImage like a video buffer.
I making an app that use a video file, well the video is in sketch data folder and i need to copy or install in the SD of the phone for to play video.
The problem is that no can access to the video file in sketch data for to copy.
When present the sketch this are copied to the phone memory not in the SD for this reason i nees to copy the video files to the SD for play it.