September 8, 2006

 

J2ME Socket via HTTP implementation

I've decided to wide area of supported phones for my GoTalkMobile application. The main point is that not every phone support socket:// protocol. So it's the problem, because jabber/xmpp requires sockets, not raw http. So the idea was to tunnel in/out streams in a http requests and responses. Yes, we need to open a lot of connections, but.. it's possible ;)
The implementation is now work, but with some unexpected disconnects :( I am working on it. I will describe some details as it come working stable. Now it's implemented in GoTalkMobile's Alpha version, available at (direct link for phone browser) http://wap.gotalkmobile.com/alpha/ . Enjoy!

This page is powered by Blogger. Isn't yours?