Is there a sample of displaying a BBM contact list using Cascades on BB10? - blackberry-10

I have been struggling for a little while to get the contact list from a BBM connected app so that I can choose a contact to work with.
I am using the bb::platform::bbm::ContactService class, but whenever I call contacts() it comes back as null, even when the registration process is completed.

That method returns a list of contacts that have your application installed. There isn't a way for an application to read all of the user's BBM Contacts.
If you are looking to initiate a chat, you can use the invocation framework to do so and not specify a PIN. This will bring up the BBM contact picker - listing all BBM Contacts - for the user to select from.

Did you check to make sure your app has the right permissions? It should have access_pimdomain_contacts.

Related

Contacts created via the APi are not showing in the Xero app

We've setup an "app" using a custom connection, and we're using the xero-ruby gem in a Rails app to interact with Xero. Using the accounting_api.get_contacts('').contacts method, I can see the contacts in the "Demo" company supplied by Xero. When I use the accounting_api.create_contacts method I can create contacts, and I get back successful responses with contactIDs, etc. When I use the accounting_api.get_contacts('').contacts method again, I can see all the Demo contacts, including the new ones I've created.
Trouble is I don't see these new contacts within the Xero app. If I go to Demo, I see the same contacts being returned by the api, except for the new ones I've created. Same with invoices... I can create them via the API but I don't see them in the Xero app. I've had our accountant look, and he should have full authority to everything, and he doesn't see them either. Any ideas on what could be going wrong?

Editing contact picture programmatically on receiving the call , does Apple allows that?

I am developing the App, When i receive the call ,I am changing the contact picture of that person who has called , I am fetching his number from the server , i know i cannot access the incoming number ,so by developing this kind of application will apple approve my App ?
I am not violating any Guideline or Rules ,but i just want to know does Apple allows this changing the contact picture of person programmatically ?
You can change a contact picture, check the Address Book Programming Guide for iOS.
About that idea of doing something when you get a call, your app can't be notified when you get an incoming call, there's no API for that, so there's no way of doing this the way you are planning.

How to register callbacks for Googles Contacts API?

Instead of querying my server every x minutes for changes in my Google Contacts I rather like a certain URL to be called when a contact has been added, updated or removed either through GMail or my iPhone.
Is there a way I can register callbacks to do so?
For instance, at this point I added my GMail account to my iPhone and iMac. When I open the Contacts.APP I can see all my Gmail contacts. When I add a contact it will automatically be updated on my iPhone, on my iMac and in the GMail webinterface. However, I like to know when such an event occurs to run additional tasks through the Google Contacts API.

Can i build an app that edits the conatct list on the iphone?

Hey everybody,
I want to create an app that handles some sort of recognition of another person in my area, and creates a new contact based on his info. regardless to how it is done, my question is more basic - can i, or maybe i should ask will Apple approve an application that edits the contact list in the IPhone?
The AddressBook framework allows access to a centralized contacts database, called the Address Book database, that stores a user’s contacts.
Yes of course you can edit the contact List from your application by using the address book API.
Cheers

Retrieve SMS information based on user contact details

How can I make my iPhone application retrieve logs of previous SMSs, calls, etc.. based on a user contact?
I'm pretty sure that the API doesn't allow you to do that.