Touchkit taking photo, capture etc.


I’m looking at
“Take a photo” link works like native app.

Is it possible to send a video or sound recording like photo.


Yes, it’s possible. You just have to set the accept attribute on the input element. If you use the
add-on, you can use the server-side UploadField.setAcceptFilter(String) method. So, for video you’d do field.setAcceptFilter("video/*"); Or you can do it on the client side like it’s done in the parking demo:

There’s a live demo demonstrating the effect here:

Thanks. I will try it.