This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a desktop application that I would like to convert to a mobile application, But I don't have any idea about J2ME. How can I do this? Should I rewrite the program or can I convert it by just doing some minor changes.
I don't even have a drop of idea about J2ME. Please help me in this regards
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
--- Martin Fowler
The first question would be: why JME? JME is dying. If you want to learn how to do mobile development using Java, then Android is your ticket. If you want to learn mobile development for any professional reason, then either Android or iOS would be the platform to go with. (Unless you're being paid to learn some platform like BlackBerry, Windows Phone or JME, of course - but then I would question the long-term chances of business survival of whoever is paying you.)
Secondly, the changes will be major, not to say fundamental. Mobile apps have a completely different programming model than desktop apps. For example, the GUI will be completely different - neither AWT nor Swing are available on either JME or Android.
We need our application as jar files to implement in all java enabled phones. That is why we are using J2ME. I need to create a chat application in J2ME using Internet as WhatsApp, Viber and so on. I did my chat application using sockets but I don't want it to be a server-client connection. I want it to be a freeway chat ( that is anyone can chat with anyone) and thanks to this socket connection application. I learned a bit of J2ME. Can you guys help me out with this? Provide me some simple guidelines to start with.
Joined: Mar 22, 2005
How will clients discover one another if there is no central server? Also, it sounds a bit as if you think that having a server involved somehow limits any client conversing with any other - that is not the case.