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
Related
I've been given the opportunity to develop an application to collect data including scanning and generating bar codes on a Datalogic ELF. The os is windows mobile 6.5, and the SDK supports java, however there seems to be very little in the way of examples or help etc. I would be grateful for any advice, links, tutorials for Java development.
Datalogic does not offer there SDK for JAVA only. Did you download and install there SDK from http://www.datalogic.com/eng/support-services/automatic-data-capture/downloads/software-utilities-sw-2.html?search_cat=27&search_prod=144.
The site states SDK for C++/.Net/JAVA and I assume it is coming with usage examples.
Further on you need a JVM runtime installed on the device. Does it really come with a JVM pre-installed? Normally you have to buy and install CrEme or J9 JVM for handheld devices running WEH6.5.
I would go with .NET (WEH65 comes with CF 3.5) or C++ and not install an additional Runtime, except for you are really in the need to do it in JAVA. Mostly the JAVA support of handheld SDKs is very limitted.
https://www.tizen.org/ Tizen Mobile & IPad Linux very exciting.
Its allowing GCC. But does it run Dalvik JVM or OpenJDK?
Will then it will be compatible with 32-bit or 64-bit compilers?
Or we need to convert our source to be re-compiled using ARM compilers? of GCC?
Will it be easier to port C, Java code's now to Tizen? Where its complex and not natively available under Android phones/platforms?
As far as I know, it will be possible to package applications as DEB or RPM packages, you will be able to include an embedded VM (for example Avian VM) if you want, probably no JVM will be installed by default. JavaSE Embedded and OpenJDK should work (maybe with small modifications) under Tizen even though the documention only mentions C/C++ for native apps and HTML5/JavaScript for web apps. Moreover, there is no Java binding to its native APIs yet except those already available for Linux ARM and for APIs supported in any Linux distribution (for example JOGL 2.0). If you really need some help to use Java under Tizen, please contact the JogAmp Foundation here. Xerxes already succeeded in running JOGL 2.0 under Meego as you can see here, why not doing the same thing under Tizen?
N.B: Don't expect official Java support under Tizen.
If you check this two presentation from May:
Tips and Tricks: Designing Low-Power Native and Web Apps on page 3.
and this
Implementation of Standard Accessibility APIs for Tizen on page 9.
You see that basically Tizen will have two APIs and hence two types of applications:
Native;
Web(HTML5) pretty well documented already.
So no JVM or OpenJDK, don't know the Native API apps binaries will be compiled to but probably will know soon.
Since Tizen is pretty much in development you can check from time to time the official site.
I'm mainly developing in .NET since a year (even if I start coding in Java during my studies) and I have to port a .NET application (more precisely an agent running as Windows Service which call a web service to transfer information and files) to Mac OS X.
My first idea was to develop a Java version of the application. But I read some articles about the future of Java on Mac OS X and I'm a little perplexed about this choice.
What do you think?
The future of Java on Mac is fine. Apple is contributing their code to the OpenJDK project, which has also started a project (starting Java 7) to build binaries for Mac. So, in the near future, we Mac users will be able to install JREs and JDKs pretty much the same way that Windows and Linux users do.
Have a read here and here.
Do you know about the Mono project? It's an opensource .NET framework that runs cross platform
http://www.mono-project.com/
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/
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