Hi all,
Hope you are doing good.
This is regarding Image Show and Audio play for a particular question.
I want to show an image and play a prerecorded audio for different question .
Can we do this in the current version of CsPro? If yes, could you please help me out on this.
Many Thanks in Advance!
Regards
Vipul
Image Show & Audio Play
Re: Image Show & Audio Play
Take a look at ExecSystem (Mobile). Note that you call execsystem differently depending on the operating system. Execsystem will open an image file or audio file with the default application (if installed). You may have difficulty running both commands simultaneously. With the below logic the audio would start, then stop, and the image would load on my device.
if getos() = 20 then
// Android only
execsystem("view:" + pathname(Application) + "./audio.mp3");
execsystem("view:" + pathname(Application) + "./picture.jpg");
endif;
// Android only
execsystem("view:" + pathname(Application) + "./audio.mp3");
execsystem("view:" + pathname(Application) + "./picture.jpg");
endif;
-
- Posts: 25
- Joined: March 28th, 2013, 9:17 am
Re: Image Show & Audio Play
I got it.
Thank You very much aaronw!
Regards
Vipul
Thank You very much aaronw!
Regards
Vipul