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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to