Page 1 of 1

[RESOLVED] Call functionnalities of mobile device

Posted: Mon Jun 06, 2016 1:24 am
by ThibTib
Hi,

first, I have to say that CSHTML5 is great :)

I would like to develop an smartphone application, but I'll probaly need to use tools of the device (ie camera, microphone...).
Is there a way, at this moment or later, to work with ?

Do I have to write specific code ? If yes, how ?

Thx

Re: Call functionnalities of mobile device

Posted: Mon Jun 06, 2016 1:59 am
by JS-Support @Userware
Hi,

Thanks for the compliments. Glad you like the product.

Yes, this is possible (manually). Here is how:

If you are using Apache Cordova or PhoneGap to package your CSHTML5 app to iOS/Android, then you can call the methods provided by Cordova/PhoneGap to interact with the device hardware and features.

You can call those methods by writing JavaScript code from within your CSHTML5 code.
To learn how to do that, please read:

http://www.cshtml5.com/links/how-to-cal ... cript.aspx

Thanks.
Regards,
JS-Support