want to retrieve blackberry messenger contacts category wise - blackberry

new on blackberry messenger api, I want to retrieve the blackberry messenger contacts category wise, and want to broadcast particular message to the selected categories through blackberry messenger.(working with JDE_sdk-5.0)
can anybody help me to know how to retrieve the contacts from blackberry messenger application
category wise?

try to use BB Messenger SDK:
read Getting Started Guide - BlackBerry Messenger SDK - 1.3,
especially requirements part
use BBMPlatformContactList.getAll() to retrieve all
messenger contacts
choose you way to interact with contacts
then, if you want to broadcast message within several contacts, you can try to:
host public session
invite contacts to your session
broarcast a message to all participants
UPDATE
In BB Messenger SDK v. 1.3 (beta), in class BBMPlatformContact which represents BBM contact, as well as in class BBMPlatformContactList there is no way to access BBM contact groups or categiries. Seems like it's not possible in current version.

Related

Save a contact on iOS using QR [duplicate]

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.

Detecting a new user in sendbird Open channel

I am creating a chat system using sendbird and want to online users in an open chat room on my view. The problem is whenever a new user "joins" an "open channel", sendbird sends me System Message without the user's object.
The only way currently is to call the MemberListQuery to find all online users.
SendBird SDK V3 now triggers "userDidEnter" callback with SendBird user object.
Please take a look at our SDK documentation!
https://docs.sendbird.com/ios
https://docs.sendbird.com/android
Thanks!
Jin

Fetch Google plus news feed in native ios

i am working on ios app, and i want to fetch Google Plus news feed like friend list, user detail, in my ios app.
in facebook its possible to fetch the active user's profile feed, but for google pluse i didnot found any thing to show user feed.
if any one know how to do this for iphone application then please help me.
thanks in advance.
After you have signed in a user with Google, you can access the user's age range, language, public profile information, and people that they have circled.
If you request the plus.profile.emails.read scope, you can also get their email address. With this rich social data, you can build engaging experiences and an instant community in your app.
For example, you might connect your user with their friends that also use your app or you might make suggestions based on their friends' activities within your app.
Please look at Getting people and profile information

Is there an iOS API that can identify which of your contacts are likely other iOS users?

... for example, by finding your contacts that have iTunes logins.
Why? We're launching an app on iOS. We'd like a feature to allow users to connect with their friends who can download and install the app.
No. The closest you might get (from the top of my head) is Game Center. All your friends on there are guaranteed to have an iOS device. Of course, not all iPhone owners use Game Center.
It is possible because Apple uses it in their own apps:
Messages - when typing in an email. The text will appear red if the email you want to iMessage is not setup with iMessage
Find My Friends - same kind of thing
However it's probably a closed API that they're using. It's possible that they use the now deprecated udid retrieval method.
You could try to query an Apple Server for the Apple ID and see what kind of response you get (just a shot in the dark there). Or you could search through GameCenter for a list of friends. Facebook might have some information on which users are iOS users too, take a look at their API and some Facebook profiles to see if theres anything you could check there.

How to add new place/location to facebook places with API of iOS

We are developing iPhone application for nature lovers. We want to add feature to report new place or location if it does not exists in facebook places.
Is there any way to add places with facebook API?
Thanks,
Adil

Resources