Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
tushar886
Posts: 75
Registered: ‎08-15-2013
My Device: blackberry curve 9630
My Carrier: Airtel

Blackberry Messenger Issue in Blackberry 10 Simulator

Hi All,

 

I am using blackberry 10 simulator via VM Ware Workstation for development purpose and i am writing apps in Blackberry Native SDK using cascades.

 

Well problem which i am facing is i am unable to configure BBM on Simulator. While i set up the configuration following error is coming as :-

 

 

Capture.JPG

 

Internet connection is up on the simulator and i am able to open web browser and sites are opening in it.

Please tell me how to resolve this error. 

 

Also is it the case that we cant configure BBM on simulator ?

 

Thanks & Regards,

Tushar

Please use plain text.
Administrator
MSohm
Posts: 14,517
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Blackberry Messenger Issue in Blackberry 10 Simulator

Have you performed all of these steps?

 

Testing your BBM connected app in the BlackBerry 10 Device Simulator

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
tushar886
Posts: 75
Registered: ‎08-15-2013
My Device: blackberry curve 9630
My Carrier: Airtel

Re: Blackberry Messenger Issue in Blackberry 10 Simulator

Thanks a lot i was able to connect to BBM using the steps mentioned in above post.

 

Also please tell me where can i finf the sample code snippet for a chat application on BBM in native sdk.

Please use plain text.
Administrator
MSohm
Posts: 14,517
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Blackberry Messenger Issue in Blackberry 10 Simulator

You can use the Invocation framework to use the BBM chat card in your application.  More details can be found at these links.

 

Using the Invocation Framework with BlackBerry Messenger

 

Invoking core applications

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
bryanwang
Posts: 22
Registered: ‎03-01-2010
My Device: Z10
My Carrier: Bell Canada

Re: Blackberry Messenger Issue in Blackberry 10 Simulator

Is there an instruction for setting this up on OS X? Thanks.

Please use plain text.
New Developer
tushar886
Posts: 75
Registered: ‎08-15-2013
My Device: blackberry curve 9630
My Carrier: Airtel

Re: Blackberry Messenger Issue in Blackberry 10 Simulator

Hi Mark,

 

By using the Invocation framework i will simply start BBM chat application from my application.

 

But thats not what is required. Actually i want to send message to a BBM contact but before sending that message i want to modify that string, append something in that String i.e. Modify the message by my own algorithm.

 

After going through Invocation framework i cant find related api/method there which can send message to a particular contact. 

 

Also i went through MessagingService api but there also there was no method to send the message.

 

Please help me in accomplishing my objective.

 

Thanks & Regards,

Tushar

Please use plain text.
Administrator
MSohm
Posts: 14,517
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Blackberry Messenger Issue in Blackberry 10 Simulator

You can use invocation to start a chat session with a message pre-populated and ready to send.  But it's up to the user to press the send button to send that message.  You can't programmatically force the sending of the message.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.