Tell me more ×  Can I develop a hybrid app that was used in
conjunction with the native API and HTML5 in Ubuntu phone?  I
know that it is possible to develop either native app or HTML5
app.  However, I want to know to develop a native app that has a
HTML5 UI (hybrid) in Ubuntu Phone.  share|improve this question
add comment  1 Answer  I'm not sure what you mean with "hybrid"
(a C++ app which displays an webapp? distribute app code between
C++/QML/javascript? ), but you can use the WebView component to
display a webpage/webapp on a qml application. This should work
on Ubuntu Phone also.  Take this simple application composed by:
"app.qml", "app.html" and "app.js" (yeah I know, this
"application" is pretty lame...). This was only tested with
qmlviewer, so if you try to run it through an IDE you probably
will have to modify something in regard the relative paths used.
import QtQuick 1.0 import QtWebKit 1.0  Rectangle {
width: 800         height: 600         WebView {
url: "app.html"