ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #08909
Re: Are the web-container API changed?
-
To:
ubuntu-phone <ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
-
From:
Peter Hultqvist <phq@xxxxxxxxxxxxxxx>
-
Date:
Mon, 07 Jul 2014 19:07:54 +0200
-
In-reply-to:
<CAKyXnk-WptK66W7przMwjqSOa7OWbBGzuU30vWS_r=7ZSaFUaw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 2014-07-07 16:14, Olivier Tilloy wrote:
>
> phablet@ubuntu-phablet:~$ webapp-container --enable-back-forward
> --webappUrlPatterns=https?://miiverse.nintendo.net/*
> <http://miiverse.nintendo.net/*> https://miiverse.nintendo.net/
> webapp-container: unrecognized option '--enable-back-forward'
> webapp-container: unrecognized option
> '--webappUrlPatterns=https?://miiverse.nintendo.net/*
> <http://miiverse.nintendo.net/*>'
> QUbuntu: Could not create application instance
> Aborted (core dumped)
>
> On my desktop running 14.04 LTS, oxide launches and displays the page.
>
>
> As I said in another response in this thread, the "unrecognized
> option" error messages are misleading and can be safely ignored.
>
> The abort you’re getting is because apps are not meant to be launched
> this way on Ubuntu Touch. If you really want to launch it from the
> command line (you should probably use the SDK that allows you to
> launch the app on a connected device with one click), try adding a
> --desktop_file_hint= parameter to your command line, e.g.:
>
> webapp-container
> --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop
> --enable-back-forward
> --webappUrlPatterns=https?://miiverse.nintendo.net/*
> <http://miiverse.nintendo.net/*> https://miiverse.nintendo.net/
>
> Beware, do not add that to the exec command in your desktop file
> though, this is unnecessary and will confuse unity8 into thinking that
> the browser app is running.
>
This guide implies that you can launch it from the command line, perhaps
it need to be updated.
http://developer.ubuntu.com/web/guides/ubuntu-webapps-guide/
Follow ups
References