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

Web and WebWorks Development

Reply
Developer
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB
My Carrier: Bags are useful

Cross Platform Chat

Hi,

 

I was wondering if it is possible to create a cross-platform chat app in HTML5/Javascript. If it is can anyone point me in the right direction?

 

And if it isn't, in what programming language can it be done in.

 

Regards,

Flow

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

Developer
Posts: 172
Registered: ‎05-01-2010
My Device: Z10
My Carrier: O2

Re: Cross Platform Chat

Hi,

 

should be possible with html5 and webworks, but never done that before...

 

best bert

 



----------------------------------------------------------
find my widgets -> http://blackberry.itbert.de
Developer
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB
My Carrier: Bags are useful

Re: Cross Platform Chat

Thanks for your reply,

 

But can you point me in the right direction for this. Like an API or tutorial or something?

 

Regards,

Flow

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Cross Platform Chat

I'm not aware of any tutorials on doing this exact app, however I would encourage you to look into HTML5 sockets, which offer developers a way of enabling real-time communication between devices.  It requires a server component to act as a dispatch between connected devices.  Check out http://socket.io/ or http://pusher.com/

 

I have a sample published here:

http://blackberry.github.com/WebWorks-Samples/kitchenSink/html/html5/websockets.html

 

Don't forget about BlackBerry Messenger.  If you are targeting the WebWorks Smartphone SDK (BB5 - BB7) then there is also a BBM API to consider:

https://bdsc.webapps.blackberry.com/html5/apis/blackberry.bbm.platform.html

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.