I would like to stop the user from accessing their own filesystem ie. camera roll and videos on a mobile device. Forcing them to capture live media. Is this possible? If so how would I implement this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On a HTML5 capable device, you can use (if supported) the
userMediaAPI.Here is an excellent tutorial to get you started.
Basically, you can do:
Like I said, this will only work if supported. Currently, even devices under iOS6 are partially supporting the
userMediaAPI.Provided your device supports the API, but not the
accept="image/*;capture=camera" ...and so on, you could program your own buttons to do the same thing.