iPhone:Event when start video recording button clicked? - iphone

I like to know, are there any events can get triggered in our program whenever user is clicking on Camera start/stop buttons to record/stop the video?
From my application, it is possible to launch Video camera and start video recording and come back with the recorded video. I am using UIImagePickerController and didFinishPickingMediaWithInfo to get the data. It works fine. I want to handle something whenever user starts the video recording by clicking on built-in camera start button. Is it possible?
Please advise.
Thank you!

This is not possible using UIImagePickerController's default interface. You could however create a custom view (including a record button) and show it over the controller using the cameraOverlayView property. When the user presses your custom record button, call start/stopVideoCaptureā€”this would provide you with the information you're after.

Related

How To Pause Video and show one UIVIEW and again continue with different Video

hi i want to play a video and it pause after a fixed time like 3:12 mm at the same time i want to show one view to user where form is there and when user fill form and submit the button then again play the video.
My Suggestion is use two instance of videoPlayer object. so when pausing first one make it 2nd player to play the video.
And Please use hidden property.

Is it possible to play video continuiusly after go to other view and come back

I have a video on the first view that use 'MPMoviePlayerController'. I declare the video in 'viewDidLoad' method. I need the video play continuously when go to another view and come back. Is it possible? How?
yes it Possibe play video in background mode try this link
Hope it Help You

Handle DONE buttons and video finish playing events in UIWebview

I have a UIWebview which will play a YOUtube video playlist, and I need to handle the events when user click DONE button and close the webview.
So far, the working solution i found is to handle UIMoviePlayerControllerDidExitFullscreenNotification, but when UIWebview finish playing a video in the list it will exit the fullscreen mode and enter back to fullscreen mode to play the next one. My app handles the event of exiting fullscreen as pressing DONE button and only the first song of the list get played.
My question is that is there anyway to handle DONE button click events without handling UIMoviePlayerControllerDidExitFullscreenNotification, or to handle those two events separately?

how can we implement a radio alarm in iphone?

I want to set alarm sound as selected radio streams for my app in iphone.
If any one knows this please help me.
THANKS in advance
You can schedule a local notification (alarm) that functions very similar to a "push notification". A dialog will be displayed, a static sound file can be played as well. If the user clicks "view" in the dialog, your app will open and you can start running code (i.e. load an audio stream).
So no, it's not really possible to load an audio stream from the network. You can KEEP streaming when you're in the background, but you can't START streaming.
You might be able to do it if your app was in the foreground, and the screen was just locked. But it wouldn't work if they left your app.

How to keep MPMoviePlayerController open after movie ended?

If I use MPMoviePlayerController to play video in my iPhone app, it opens, loads the movie, plays it and then closes. Is it possible to force it to stay open after the movie finishes, so that user can replay it using its controls, instead of using controls in parent view? Also, is it possible to start MPMoviePlayerController in the paused mode?
thanks for any advice.
None of that is possible using the available API in the Pre-3.2 OS. One thing you could do is take a scerenshot of the last frame and stick that behind the movie so when it's done playing, it looks like it's still there, then just stick a button on it to replay. you could make an interface that looks/behaves similar to the standard movie player interface just for the play button if you need to.
For anyone stumbling over this now... There is a way to do this. Check out this question :)