Awesome! Thanks!
Is it possible to somehow show that host URL on the accounts page?
Also, the debug info is shown in a terminal on the desktop as well -
if you then run system-settings.
Cheers,
Daniel
tis 2014-11-11 klockan 16:00 +0100 skrev Alberto Mardegan
<alberto.mardegan@xxxxxxxxxxxxx>:
On 11/11/2014 12:53 PM, Daniel Holm wrote:
OK, so I found the issue: I thought that I could just add another
value
to Credentials{}, but that was not true. It only holds username
and secret.
Where can I store the URL?
The Credentials object is really just for user credentials. Other
settings can be stored into the account:
http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.OnlineAccounts.AccountService/#updateSettings-method
Something like this could work:
globalAccountSettings.updateServiceEnabled(true)
+ globalAccountSettings.updateSettings({
+ "host": urlField.text
+ })
Ciao,
Alberto
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp