How to get the BBM connected apps list pragmatically BB 10 cascades - blackberry-10

I am working on BB 10 cascades BBM. I have a requirement as when I install my app, app automatically add to BBM connect apps list and how can I show the list BBM connected apps.
Please help....

You can invoke BBM and use the "invite to BBM" feature to add contacts to BBM. Your application can pre-populate the invite list. There isn't a way to do this without some user interaction. Details on the invocation can be found here: https://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/bbm.html
There isn't a way to programmatically obtain a list of BBM connected apps. But you can obtain a list of the user's BBM contacts who also have your application installed. This sample shows how to do that: https://github.com/blackberry/Cascades-Samples/tree/master/bbmcontacts

Related

How does Instagram check if the users contact are using the application?

In the Instagram app you are able to sychronize your contacts and than the app shows which of them use the application. They are probably using the Contacts framework. Are they fetching the numbers of all contacts and than comparing them in their database?
Yes, once you allow to give access to your contacts. Step #1 is to sync your contacts with their server and they checkout in their database, if any of your contact already using the app (registered to app with that mobile number), they show it for you to better getting in touch with them, otherwise shows you an option to invite them to get started.

How do I open the Contacts app Swift

Is there a URL to open the contacts application from within my application? I know you can achieve this with the settings app by using the UIApplicationOpenSettingsURLString constant in Swift; however, I wasn't sure if I could do the same with the Contacts app.
There isn't a deep link for opening the Contacts App.
Apple is very picky when it comes to deep-linking. They have to provide one for Settings since many apps need services like Data, Location, Bluetooth, Wifi, etc.
Unfortunately they do not extend this to the Contacts App.
However if your app needs contact information then for that Apple has provided a Contacts framework to browse through your contacts within your app itself.
Read more about it here.
In order to add/update/delete/merge contacts directly from your app without using the Apple's Contact UI, use the CNSaveRequest APIs. More on that here.
The closest thing you can get to opening a contact is to write them a message in IMessage. From this screen the user can press the contact icon and open the contact page for that particular contact.
You can do this by opening the url sms://+44776382223 where the number is the number of the person that you would like to view the contact of.

How to list all the users belonging to the current application, not the current account in QuickBlox for IOS?

I'm using the Quick Blox ios SDK. I have created two apps in the QuickBlox dashboard. While listing the users in the application its showing all the users belonging to my account[users of both the apps], not the users of the current application.
How can I list the users belonging to any particular application created in my account in QuickBlox.
There is a checkbox named Show only application users

Any way to detect who all use iPhones in the phone contact list using iMessage related or some similar logic?

When I send a sms msg to a friend in my phone book which also uses an iPhone, the message goes as iMessage by default.
Using the reverse logic, is it somehow possible to programatically figure out a list of people in my phonebook who use an iPhone?
Actually I have built an iPhone app and I want to provide a feature to let the user share the info about the app with her other iPhone friends if she likes the app. Now since non iPhone friends have no interest with the msg coz they cant use the app, it makes sense to provide the user a list of only iPhone friends whom she can fwd her msg if she wants to. Therefore I want to provide a list of iPhone users from her phonebook only and then let her iMessage them.
How can I achive this?
I read your post several times and can't see a definite question. But I'll try it:
Is it possible to find out, which of my friends are using an iPhone?
Yes and no. If you want to show only persons who downloaded the app, then it's totally possible, but if you want to find this out just by their phone numbers and using official Frameworks it's impossible to reach this.
Is it possible to find out, which of my friends are using iMessage?
No, except they all download your app and enter if they're using iMessage or not.
Again: If you want to get a list of your friends which are using an iPhone, they would need to download your app which collects the data. (It's called WhatsApp)

Send a message between application users

I want to write a facebook app in which I'll show a list of the people who gave permission to use the app.
Each user would be able to pick another user from the list and send them a message from the app.
Is there any facebook api call I can use? Or I have to develop a stand alone messaging system?