Weather / Spam / www |
Lyon Weather
aldweb against spam
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1308 |
Video and Audio using iziBasic ? |
01/12/2005 @ 04:42 by Will_3
|
A few more questions before I get started with iziBasic...
1 - Can I launch a video from an iziBasic program and after the video plays return control to the iziBasic program? 2 - Will iziBasic allow audio to play while there is action on the screen? 3 - What formats of video and audio will work with iziBasic? 4 - Can I collect user input and save in a file... like a comma delimited file or some other common data format?
thanks again folks.
Will
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 01/12/2005 @ 17:31 by Richard
visitor |
Will --
1) Not sure about video 2) aldweb provides the source to iBChristmas with the iziBasic download. It plays christmas music and changes images. 3) The resource file contains the images and audio. The documentation describes the PLAYWAVE command. 4) Yes you can capture and save user input. The documentation describes the OPEN, CLOSE, PRINT, etc commands. You should be able to write to CSV.
There are some good examples included (in download and on the website) and the documentation is pretty good.
Happy programming,
Richard |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 02/12/2005 @ 03:02 by Will_3
visitor |
Richard,
Thanks again for your comments & help.
Can you code your email into a posting so I can email you a note?
Aldweb,
What about iziBasic and video? Can I write code that will call a video player like TCPMP or other... and load a video to play... and after the video plays... return control to the iziBasic program?
I'm going to buy iziBasic and the ViziBasic software tonight.
Looks like fun programing!
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 02/12/2005 @ 05:35 by Ktimaster
visitor |
Now You can make a program to find and open a media player... As far as starting it with a video file... I have no answer for you.
Here is an example on how to find and Launch a Media Player.(TCPM and MMPlayer) Hope this helps. (E-mail me if you have any questions) ------------------------------------------ _DetectMediaPlayersOnDevice: REM Test For TCMP B$=FINDFIRST("appl", "TPLY") IF B$="" GOTO _TestNext RUN B$ _TestNext: REM Test for MMplayer B$=FINDFIRST("appl", "MMPL") IF B$="" GOTO _NoMediaPlayer RUN B$ _NoMediaPlayer: PRINT "No Media Player Installed"
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 02/12/2005 @ 12:15 by Will_3
visitor |
Ktimasster,
Thank you for the code snippit! I just bought iziBasic and ViziBasic last night and got it on my Treo 600.
Four questions before I start programing that would really help me get a jump start on my project...
1 - Can you pass the name of a video file to the Video player so that it will play a certian video when it starts? 2 - After the video plays can you return program control from the video player to the iziBasic program? 3 - Can you "send" commands to the video player from iziBasic while the video player has the focus? For instance, after so many seconds, (the length of the video) , have iziBasic send the "exit" command or "end" command to the video program so that control returns to the iziBasic program without the user having to manually exit the video player?" 4 - Is there another Video Player I should look at that may be easier for iziBasic to programatically control?
I really appriceate the help and if you or anyone can answer any of these questions and possibly supply some code snippits to get me going it would really be helpful.
thanks again.
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5 -------- 02/12/2005 @ 13:00 by Ktimaster
visitor |
Well IziBasic Can Pass commands to any Application that responds to them. to do this, simply put what you want to pass on after the run command. Again I put an example at the bottom(Actually modified from what I Put Last Night but I it will pass on Data.) The only Problem is that I dont know if the media Players can Accept what you are trying to send it. And I dont think you can return control back to iziBasic After. Hope this helps ------------------------------------------ _DetectMediaPlayersOnDevice: REM Test For TCMP B$=FINDFIRST("appl", "TPLY") IF B$="" GOTO _TestNext RUN B$,"Data To PAss to TCMP" _TestNext: REM Test for MMplayer B$=FINDFIRST("appl", "MMPL") IF B$="" GOTO _NoMediaPlayer RUN B$,"Data to Pass to MMPlayer" _NoMediaPlayer: PRINT "No Media Player Installed"
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6 -------- 04/12/2005 @ 22:23 by aldweb
visitor |
Let me just add to Ktimaster's answer that 2 applications can communicate together if they were studied to do so! If the video application was not made to receive parameters (or in a different format than the one used by iziBasic) and to return control to the calling application... it will be rather difficult to monitor and interact with it.
Cheers
@+ aldweb |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|
|
|
|
|