FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Tools
(Moderator: REAS)
   Fullscreen app
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Fullscreen app  (Read 2735 times)
megamu

megamu+loves+you WWW
Fullscreen app
« on: Mar 18th, 2004, 4:13am »

I've got an app that I want to run in 'kiosk' mode.
 
When it runs it would set the screen resolution to 640x480 and then fullscreen itself (no windows titlebar or anything)
 
Anyone know a quick and dirty way to do this on a Windows box?
 
mKoser

WWW Email
Re: Fullscreen app
« Reply #1 on: Mar 18th, 2004, 10:36am »

this should work:
http://processing.org/discourse/yabb/board_Tools_action_display__num_1074127030.html
 
(haven't tested it myself, so please let us know how it goes!)
 
+ mikkel
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
megamu

megamu+loves+you WWW
Re: Fullscreen app
« Reply #2 on: Mar 18th, 2004, 9:07pm »

Hmm, this has some potential, but still doesn't work for me.
 
 
This would work if I was running an applet, but I'm using some things that wont work from an applet, but will work when executed right out of the P5 environment.
 
I'm attempting to code it right in, but I'm just breaking things.
 
mKoser

WWW Email
Re: Fullscreen app
« Reply #3 on: Mar 19th, 2004, 12:01am »

ahh ... this i don't know the answer to!
(but i would RALLY like to know it though!)
 
+ m
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
megamu

megamu+loves+you WWW
Re: Fullscreen app
« Reply #4 on: Mar 19th, 2004, 3:34am »

Me too!
 
For now I'm just manually setting the resolution to 640x480 and then carefully dragging the window so you cant see the topbar anymore. It's a painful process.
 
When running quicktime video and amit's sonya the program launches in a seperate java window, so I can't even use 'present mode' (which just makes an empty gray screen and then spawns that seperate java window)
« Last Edit: Mar 19th, 2004, 3:35am by megamu »  
michael05

WWW
Re: Fullscreen app
« Reply #5 on: Mar 19th, 2004, 2:13pm »

hi megamu
 
i wrote the fullscreen mod. but i did not test it on windows. but i think it worked.
 
a fullscreen livevideo app on os x worked fine, too. perhaps you want to tell us some details about the app to figure out why it is not working.
 
michael05
 

°°°°°°°°°°°°°°°°°°°°
http://www.m05.de
megamu

megamu+loves+you WWW
Re: Fullscreen app
« Reply #6 on: Mar 20th, 2004, 12:44am »

I wrote a test sketch to demo the fullscreen program you wrote and it does indeed work, however when using a sketch with video...
 
 
Exception in thread "main" java.lang.NoSuchMethodError: timer.beginVideo(III)V
 
(my sketch is named 'timer')
 
So how do I get around that?
« Last Edit: Mar 20th, 2004, 12:45am by megamu »  
fry

WWW
Re: Fullscreen app
« Reply #7 on: Mar 20th, 2004, 12:59am »

this is because the video classes aren't included when exporting to applet. the fix is tricky, unfortunately.. you'll have to copy the files from lib/build that get created when you run your sketch (copy them while it's running). then, open pde.jar from the 'lib' folder using a zip program (stuffit on mac, winzip on windows) and pull out all the B* classes. then, take all those files and zip them up in a file called yourappletname.jar and you should be set.
 
this is one of the things that's getting fixed in the "big" release.
 
megamu

megamu+loves+you WWW
Re: Fullscreen app
« Reply #8 on: Mar 20th, 2004, 1:12am »

I copied comm.jar and pde.jar and added them into the -cp list and it worked (although it bugs out when you close it)
 
 
I'm going to try your method fry, it sounds like a much cleaner solution
 
- I get "cannot find main class" when i run:
javaw -ms512m -mx512m -cp program.jar BAppletFS timer
 
program.jar being the compiled zip of all those classes.
« Last Edit: Mar 21st, 2004, 5:29pm by megamu »  
andrew hieronymi

WWW
Re: Fullscreen app
« Reply #9 on: Mar 20th, 2004, 10:51pm »

I can't find the pde.jar file on 10.3.  
 
Where is then the BVideo.class on OS X?
 
thanks
andrew
« Last Edit: Mar 21st, 2004, 12:56am by andrew hieronymi »  
megamu

megamu+loves+you WWW
Re: Fullscreen app
« Reply #10 on: Mar 21st, 2004, 5:28pm »

BVideo.class is inside pde.jar
 
pde.jar should be found in the lib folder under your proccessing folder
 
michael05

WWW
Re: Fullscreen app
« Reply #11 on: Mar 21st, 2004, 9:38pm »

and pde.jar is inside the Procesing.app package
Processsing.app/Contents/Resources/Java/pde.jar
 

°°°°°°°°°°°°°°°°°°°°
http://www.m05.de
fjen

WWW
Re: Fullscreen app
« Reply #12 on: Jul 14th, 2004, 10:35am »

on OS-X you might wanna check out my version of tom's version of michael's version of the fullscreen app ... double-clickable app included and instructions on how to modify for your sketch ..
 
http://www.florianjenett.de/p55/presentationmode.sit
 
/F
 
splat


Re: Fullscreen app
« Reply #13 on: Dec 1st, 2004, 8:30am »

on Mar 20th, 2004, 12:59am, fry wrote:
this is because the video classes aren't included when exporting to applet. the fix is tricky, unfortunately.. you'll have to copy the files from lib/build that get created when you run your sketch (copy them while it's running). then, open pde.jar from the 'lib' folder using a zip program (stuffit on mac, winzip on windows) and pull out all the B* classes. then, take all those files and zip them up in a file called yourappletname.jar and you should be set.
 
this is one of the things that's getting fixed in the "big" release.

 
This seems to get me closer to where I want to be, but instead of the beginVideo(III) error I recieve new errors begining with:
NoClassDefFoundError: quicktime/std/StdQTConstants at  
 and then several locations. Are these directions complete Anyone else have any luck with this
 
Pages: 1 

« Previous topic | Next topic »