Developing JavaME applications on Linux - java

I have been tasked to develop a mobile application with java technology. So i went to oracle's website to download the toolkit, then i figured out that Java ME SDK 3.0 is only available on windows and mac.
Now my question is, does it mean that Linux users can't development Java Me applications since the development kit is only available to Windows and Mac users alone?
If a Linux user wants to develop a Java ME application, how would he go about it ?

The last Java ME SDK I successfully used on linux was the Sun Java Wireless Toolkit 2.5.2. Found here. I'm not sure what is holding up 3.0, but if 2.5.2 doesn't pan out, I'd try the Android SDK (Note on the Android SDK: It wouldn't be a Java ME application, but it would be a mobile application using java technology).
I hope this helps.

As Beanz said, 2.5.2 is fine. You can download the Eclipse mobile package which has everything. Also check out LWUIT - a fantastic UI toolkit for J2ME (also supported and provided by Oracle/Sun).

Find eclipse pulsar (for mobile developing) and import the library LWUIT. See the manual:
http://jimmod.com/blog/2010/04/basic-lwuit-tutorial-with-eclipse-pulsar/

Related

Is it possible to develop for Windows Azure from another OS?

Is it possible to develop for Windows Azure using Java from OS X (Eclipse)?
I've installed the Windows Azure Plugin for Eclipse, but it seems the plugin relies on batch files in order to deploy the app to Azure.
If this is possible, are there any guides on this?
The development tools, including the Compute and Storage emulators and the packager, require Windows.
For the applications themselves, the requirement is being compatible with Windows Server 2008 R2. So it is possible, for instance, to develop an application on Linux or OS X without using the Azure SDK or tools, and to prepare a virtual image of a Windows Server with a Java application server and a pre-deployed and pre-configured application, and to deploy this image as a Virtual Machine Role. The application could access Windows Azure services via HTTP or by using the Java libraries included as source code in the SDK.
This approach would be a better fit for porting existing applications, though. For developing new ones, the tooling available on Windows would make for an improved experience.
The tools required to build the Windows Azure service package only run on Windows. So, while you can easily build Java apps in Eclipse on Windows, you cannot do the same with OSX.
If you're developing with node.js, you can develop using the Cloud9 IDE, which is browser-based and cross-platform. See this MSDN article for more details around this, as Scott Guthrie demonstrated this at the Node Summit in San Francisco in January, doing all coding and deployment via a Mac.

How do you setup a Nokia Apps development environment?

Seems that Nokia Developers website isn't keen to give solid information on how to set up a basic programming environment for Nokia Apps.
I tried the Carbide C++ pathway once and couldn't even get the HelloWorld to compile & run. So my question is this: How do you setup Nokia Apps development and which platform to use? (C++, Java, QT?, QML)
My guess is that once this is done you just copy the .SIS or .SISX file to your phone and it should work there.
The environment that you should use depends on the device platforms that you want to target, e.g. Java for S40, Qt for Symbian 3, etc. There is a summary page on Forum Nokia which gives an overview.
I'm not too familiar with Java development for S40 but if you want to target S60 or S^3 then by far the easiest path is to download the most recent version of the Nokia Qt SDK (currently 1.1). This package contains the Qt Creator IDE, including debugging and deployment tools, and all of the platform components needed to develop Qt-based apps. There is also emulator support and the ability to use remote compiler services to cross-compile binaries for various different platforms.
QT would probably be the easiest to get going. Not everyone like Symbian C++, and S40 is a very limited platform

What are the available J2ME SDK using Java code?

I am a Java J2SE developer, and i want to learn J2ME to start creating mobile applications.I see i can use the default Oracle Java ME SDK. Do you know other Mobile SDks that are Java based, as i want to write Java code ?
IMHO Android is the way to go if you want to do java for the mobile, even better than j2me.
see Android SDK
Here's a list of Java ME SDK suppliers / vendors that I was able to find using Google:
Motorola
LG
Nokia
Samsung
Sony Ericsson
RIM
and probably more
Netbeans Java ME plug-in is kinda the same than Java ME SDK, but obviously with all the options Netbeans include. That's the one I use.
And if you're decided to go on with Java ME, I suggest you to have a look to LWUIT, in order to make nicer interfaces within the own Java Me technology.
Eclipse works just fine for this purpose. Have a look at Mobile Tools for Java (formerly known as EclipseME).
From the eclipse me link:
EclipseME is an Eclipse plugin to help develop J2ME MIDlets. EclipseME does the "grunt work" of connecting Wireless Toolkits to the Eclipse development environment, allowing you to focus on developing your application, rather than worrying about the special needs of J2ME development.
If you want Java for mobile and not necessarily J2ME, you can also try Android and Blackberry development.

blackberry application develpment

Is java the only language available to develop applications for blackberry. Though i have
checked phonegap but its not properly documented.
As far as I know, yes. Alternatively, you can develop web applications what will work on BlackBerry.
See BlackBerry developers site for more information.
You could develop a BlackBerry Widget, which uses Javascript instead of Java. It's still deployed and installed in the same way as a native Java app.
Yes, you can use HTML5, CSS3 and JS to create apps for BlackBerry using tools such as PhoneGap Build or BlackBerry WebWorks.
Here is a new book in Amazon that provides a PhoneGap Build example that was targeted on BlackBerry OS 6.0 devices.

Java ME 3.0 SDK on Linux?

Is it possible to develop java me applications on linux? It appears that there is no linux version of the sdk. Otherwise what would you suggest as a good language to develop mobile applications?
Use the 2.5.2 SDK. It works pretty well under Linux, actually.
I'd also second the recommendation for Android, where Linux is definitely not a second-class citizen.
I was able to install (an earlier version of) the SDK on a Windows machine and then copy the relevant libraries to my Linux development environment. I wish sun would provide the all the JDKs in zip/tar format. I hate having to INSTALL software just to get .jar files out of an archive. I should note that the SDK includes a mobile device emulator that doesn't work under Linux but you just need the .jars to compile code.
The Sun Java Wireless Toolkit 2.5.2 runs under Unbuntu 6.x, more details here:
http://java.sun.com/products/sjwtoolkit/download.html
We use WinXP for J2ME and Ubuntu for Android. Though that's more down to the preference of the coders than any limitiations.
Otherwise what would you suggest as a
good language to develop mobile
applications?
Well, you can still use the Java lang.
But maybe develop some Android apps.
virtual box can be a great help here, for OSX and Linux users, unfortunately most of the emulators and sdks, in particular the preverifiers are geared for Windows first, a prime example being Blackberry
Our flow tends to be to develop the bulk of the application in the std wtk environment, then do the final porting and tweaking under a virtualised Windows environment

Categories