Hi Sudheer,

On 08/01/2010 08:07 PM, Sudheer K wrote:
I need to add account details in /home/user/.rtcom-accounts/accounts.cfg for my
custom connection manager automatically on package installation. Similar to ring
account details, I want to avoid UI (like Haze plugin) because these values are
pre-defined and user does not have to add/update anything.

So my question is how can I add a new account section in accounts.cfg through
code? I also should be able to remove it through code.

You need to use the org.freedesktop.Telepathy.AccountManager interface to create a new account. The mc-tool command-line tool can also be used to create/edit/delete accounts from a script. It's in the libmissioncontrol-utils package, which is not installed by default.

Ciao,
  Alberto

--
http://blog.mardy.it <- geek in un lingua international!
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to