How to initialize instance of camera service to use camera itself or camera roll?
I need to give user 2 options in the app: use live camera or camera roll to get image. So I need setup proper sourcetype for service instance by JS before invoke it.
How can i do it? I mean what value should i pass there from JS? I have tried different, but non is working. Could you please advice what value should i assign to the sourcetype input parameter to initialize camera roll?
Thanks!