Shay Well-Known Member Licensed User Longtime User Jun 21, 2014 #1 Hi In which Library I need to use if I wish to create chat app, that can work on Android / Iphone / Windows mobile .. Thanks Shay
Hi In which Library I need to use if I wish to create chat app, that can work on Android / Iphone / Windows mobile .. Thanks Shay
L Linostar Member Licensed User Longtime User Jun 21, 2014 #2 What communication channel will you use for your chat app? If it is bluetooth, you can see how it is done in this tutorial: http://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/ Otherwise, if the channel is a LAN, or the internet itself, you'll have to use something like the Websocket library. See this: http://www.b4x.com/android/forum/threads/websocket-client-library.40221/ and this: http://www.b4x.com/android/forum/threads/custom-websocket-based-push-framework.40272/#content Upvote 0
What communication channel will you use for your chat app? If it is bluetooth, you can see how it is done in this tutorial: http://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/ Otherwise, if the channel is a LAN, or the internet itself, you'll have to use something like the Websocket library. See this: http://www.b4x.com/android/forum/threads/websocket-client-library.40221/ and this: http://www.b4x.com/android/forum/threads/custom-websocket-based-push-framework.40272/#content
Shay Well-Known Member Licensed User Longtime User Jun 21, 2014 #3 <The Internet> Thanks I will try your links Upvote 0
Shay Well-Known Member Licensed User Longtime User Jun 21, 2014 #4 Do I need to create both Client and server on each app? (I wish to do chat from client to client) Upvote 0
L Linostar Member Licensed User Longtime User Jun 21, 2014 #5 Yes, you'll need both client and server in each app if it is 2-way chat. Server for listening to incoming messages, and client for sending messages to the listening server. Upvote 0
Yes, you'll need both client and server in each app if it is 2-way chat. Server for listening to incoming messages, and client for sending messages to the listening server.
KMatle Expert Licensed User Longtime User Jun 21, 2014 #6 I'm working on this at the moment. I think, you want to build an app like WhatsApp. Problem is that de devices don't know the other devices ip adress and there are restrictions (provider). So you need an instance between them (server). I connect to a database and store the message. The other device takes a look and downloads the message. I will upload an example when I have time (including automatic registration by mail). Upvote 0
I'm working on this at the moment. I think, you want to build an app like WhatsApp. Problem is that de devices don't know the other devices ip adress and there are restrictions (provider). So you need an instance between them (server). I connect to a database and store the message. The other device takes a look and downloads the message. I will upload an example when I have time (including automatic registration by mail).
S Sub7 Active Member Licensed User Longtime User Jun 21, 2014 #7 You better look at this: http://developer.android.com/google/gcm/index.html Upvote 0
P PaulR Active Member Licensed User Longtime User Jun 21, 2014 #8 For Android + Windows Phone+ iOS compatibility you'd need to either write/build for each platform separately or use cross platform development tools. I don't know what the best options are for an SDK that targets all three (I'm using JUCE at the moment, but that doesn't do W8P), but there are shadows on the horizon that look like there will be a b4A equivalent for iOS in an unknown length of time. Having said that, it's worth getting your hands dirty with a few other SDKs just to make using b4a even easier when you come back to it. Upvote 0
For Android + Windows Phone+ iOS compatibility you'd need to either write/build for each platform separately or use cross platform development tools. I don't know what the best options are for an SDK that targets all three (I'm using JUCE at the moment, but that doesn't do W8P), but there are shadows on the horizon that look like there will be a b4A equivalent for iOS in an unknown length of time. Having said that, it's worth getting your hands dirty with a few other SDKs just to make using b4a even easier when you come back to it.