Hey guys, I am still learning android. I was just wondering how to use
the media oninfoListener. I am trying to show the user that the video
time has finished and then stop the recording when my custom video
recording is finished. Here is a little of what I have below.


 public void OnInfo(){
 if(what==MediaRecorder.MEDIA_RECORDER_INFO_MAX_DURATION_REACHED)
 {
 log.v("VIDEOCAPTURE","Maximum Recording video reached");
 recorder.stop();
  }
  }
 }

The error I am getting is that my  "what" is not being recognized as
part of the oninfolistener class.



 Also is there a way on a surface view to perform and shows the amount
of seconds being recording in a video? Any help will be highly
appreciated!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to