简体   繁体   中英

How can we use HTML5 in Monocross?

I am developing a Monocross application so it can be supported for Android,iPhone,windows phone. In this application I want use HTMl5.

Here my Question is how can we use HTML5 in Monocross application?

Regards
Chakradhar

There are a few ways to leverage HTML5 with MonoCross. One option is to utilize HTML based native controls within your mobile app. This is usually done using controls like UIWebViews and WebViews (in iOS and Android respectively). All native apps have the ability to display local or remote HTML/CSS/JScript in any native controls that support HTML markup (this is true for apps leveraging the MonoCross framework too).

Another way to leverage HTML5 is to create a WebKit container for your application. By hosting your application on an IIS web server as an ASP.NET application you can leverage the same Model and Controllers used for creating Native MonoCross applications. The difference between a native app written in MonoCross and a WebApp written in MonoCross is that the MonoCross WebKit-Container outputs views via HTML markup & ajax responses rather than concrete native views such as UIViews and Activities.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM