I want to develop a socket based chatting app in Titanium compatible with Android, iPhone and Blackberry.
Please give me suggestion about it
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want a “socket based chatting app”, then you’ve already made decisions about the implementation, and so you really just need to know the interface for implementing it. Try reading the fantastic manual, it is very detailed on how to use sockets.
http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.Network.Socket.TCP
You’ll need to roll your own server side to accept the socket connections, and your own protocol for the communications. Or adhere to an existing protocol.
Or you can use the existing, working Ti.Cloud sample I created. It is the Titanium specific version of what Hini linked at nodeacs.cloud.appcelerator.com —
https://github.com/appcelerator-modules/ti.cloud/tree/master/commonjs/example/windows/chats