← Back to team overview

ubuntu-phone team mailing list archive

Re: Developing Web App in Cordova for Windows and build .click package for Ubuntu Touch

 

Hi Rodney,

thank you for your answer.

Yes, an Ubuntu Web App is a contained browser viewing, and I know that in Ubuntu SDK the "HTML5 apps" are the right kind of project (template) for a Web App. But I'm looking for a method to fill the contained browser viewing automatically because I developed a Web App in Cordova (for Windows), and now I want to create the same Web App for Ubuntu Touch. The only way that I discovered to port this app in Ubuntu SDK, consists in cutting and pasting the code inside the contained browser viewing of Ubuntu SDK HTML5 project (see the picture attached) . I have to paste the code in the right position, inside head or body tags, and this is not really user friendly method, and it's slow.

Is there a method in Ubuntu SDK to import a Cordova Web App project (developed in Windows)? I have all the project source code, can Ubuntu SDK import a project developed in Cordova for Windows?

Thank you,
Marco

Il 08/04/2016 20:32, Rodney Dawes ha scritto:
In Ubuntu a "web app" is basically a contained browser viewing a
specific site.

The HTML 5 apps in the Ubuntu SDK are what you are asking about, and
also are built using Cordova, as I understand. It should be possible to
start with your existing code.


On Fri, 2016-04-08 at 18:03 +0200, Marco Graziotti wrote:
Hi list,

I just realized a Web App using Cordova for Windows. Cordova permit
me
to build an installation package for "Windows Phone" and "Android"
devices.

I know that to create a .click package the development platform
should
be an Ubuntu Desktop, so I need to rewrite all the Web App source
code
in Ubuntu SDK, or there's an easy way to export the project from
Cordova
for Windows to Ubuntu SDK kit?

I asked a question in "Ask Ubuntu", if you want you can answer
there:
http://askubuntu.com/questions/754960/developing-web-app-in-cordova-f
or-windows-and-build-click-package-for-ubuntu-to

Thank you,
Marco


Attachment: sdk_ubuntu.png
Description: PNG image


Follow ups

References