[maemo-developers] Harmattan contacts application not recognizing custom account provider/service/service-type

From: Sudheer K. scifi1947 at gmail.com
Date: Fri Dec 30 02:23:23 EET 2011
For my VICaR application, I need to display the action "Call with Vicar"
for all telephone number fields on a contact card. This is very similar to
how SIP (telepathy-sofiasip) works. I created a basic telepathy connection
manager and a telepathy account to use the CM. I have set the property
"com.nokia.Account.Interface.Compat.SecondaryVCardFields" as "TEL". This
was sufficient in Fremantle to display "Call via Vicar" in contact details
page.

I know that Harmattan contacts application requires a Telepathy account and
an Accounts plugin. I already have Telepathy part working (my Telepathy
Connection is connected, Telepathy Account status in online with path
"vicar/tel/vicar0").

For the account plugin, I've used Accounts framework to complete these
things
- Created custom .provider [1], .service [2], .service-type [3] files
- Created an account with this custom provider/service and enabled it.
- Linked the account with the telepathy account path using tmc-uid property.

But the account is still not displayed on the contacts page. Somehow only
accounts that use "IM" service type are recognized. I have even tried
setting the service-type as IM, but it didn't help. So, how can I make
contacts application recognize the custom service/provider specifically for
telephone number fields?

Thanks,
Sudheer

[1] - http://pastebin.com/zXmrDkLi
[2] - http://pastebin.com/zDTQ172q
[3] - http://pastebin.com/95q2EGm4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20111229/30ce8950/attachment.htm>
More information about the maemo-developers mailing list