[RESOLVED] Call functionnalities of mobile device

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
ThibTib
Posts: 16
Joined: Tue May 31, 2016 10:34 am

[RESOLVED] Call functionnalities of mobile device

Postby ThibTib » Mon Jun 06, 2016 1:24 am

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
Last edited by ThibTib on Tue Jul 12, 2016 1:18 am, edited 1 time in total.
--
ThibTib

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Call functionnalities of mobile device

Postby JS-Support @Userware » Mon Jun 06, 2016 1:59 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 33 guests

 

 

cron