How to develop chat application using WAP in j2me ? - java-me

I am new to J2ME and i want to develop a chat application using WAP. I want a chat like screen where it shows both the sender messages and the reciever messages. Most of the examples of chat appliction in j2me uses socket connection.But i want to develop using the MessageConnection property of the J2ME.
Can any one suggest me how can i do this?

You can create an application which uses specific port for sending and receiving the messages.
But you need to have the app to be installed on both the phones and the app will use only the regular SMS tariff.

Related

Python chat server with selectable specific user to chat

I am trying to write simple chat based desktop support app. The gui is not problem, but I have problem with sending messages. The server sends it to all connected clients, but I want request and response to be private between server (or admin) and specific user. I have tried sockets and twisted, but can't figure out how to choose client to contact with.
So if there is any project like what I am trying to achieve on python 3 link or comment for reference. This is my school project for school local network.
Thanx in advance.

What module / service should I use to push message from Node.js server to Mobile App written in Unity?

Here is my set up:
Node.js server with RedisCloud, and client mobile app written in Unity C#.
I'm trying to push message from Node.js server to UnityC#.
At first, I try to get Unity access RedisDB directly but that is too dangerous having Client connecting to DB, and open the port.
So, what module works well between Node.js & Unity for message pub/sub? or 3rd party services that takes data from Redis, and push to Client?
I think socket.io will work but it seems just too much work for Client to write code handling that.
Is there something like Firebase or Photon, but instead using Firebase DB, point to my own RedisDB?
Thanks.
If your mobile client is for iOS then you should use "Apple Push Notifications", if Android, you should use "Google Cloud Messaging".
You can easily find modules for these tasks on npm, for example: https://www.npmjs.com/package/gcm
Use a Cloud service like Pusher or Realtime (the company I work for). Simply subscribe a channel on your mobile app using the Realtime Unity SDK and publish the messages from your server using the Node.js SDK. You don't need to worry about the dirty backend details (security, scalability,...)
More at http://framework.realtime.co/messaging

Receive Push Notification with Node.js webToolkit

I'm developing a desktop application using Node-Webkit.
Now I need to receive push notifications from somewhere.
This is what happens:
1) An android application sends a message to my WebApi server
2) My WebApi server receives that message and forwards it to the Node-Webkit desktop application
The desktop application can't poll the server, so I need a callback that "wakes up"
the desktop application to show the message on the screen.
So I need a service that can send push notifications to an Node-Webkit client.
Is there a way to do it?
Thanks a lot!
You should be able to achieve this by using socket.io
http://socket.io/

Is it possible to connect Node.js and RED5?

I have the following problem.
I have a chat developed with ActionScript3 (AS3), SharedObjects (SO) and RED5. Well, this works correctly. Now, I'm developing a chat using Node.js, and this works correctly too.
My question/problem is how can I connect these 2 chats. Is it possible to send messages between Node.js and RED5? I want that one user that is chatting using Node.js chat and another user that is chatting using RED5 chat, can chat together.
Someone knows some solution? It's possible?
You need to code some server side servlet in Java to proxy your Node.js messages to and from the red5 chat.
Are you familiar with the Red5 API and have some understanding of the Java Servlet Container ? Cause you will need that to implement a solution.
Red5 is a server side technology that runs in the Tomcat Servlet Container. Propably Node.js could send a message to red5 via a simple servlet, that will then forward the message to all connected clients.
The other way round you could catch all chat messages on Red5 server side and then forward the messages to Node.js (however I don't know what incoming message receiver's you can code in Node.js).
Sebastian

How can I receive incoming sms in JavaME?

I'm developing an application in javaME and I'm trying to receive incoming sms but there is a way to catch them that is working only with ports and there must be two applications but I want to send sms in a phone without using javame application to other phone that hasn't javame application.
I want to receive incoming sms without using port. How can I do this, is it possible?
In Java ME, You can't read SMS from inbox. There is a way to read SMS from Inbox, but it is for symbian phone like S60 series ( Nokia E72,E5 ) etc only.
In S60 series phone using API Bridge jar file, you can achieve your requirement. Please check out http://www.developer.nokia.com/Resources/Tools_and_downloads/Other/APIBridge/ page for more details.

Resources