Java Media Framework: how do I install JMF for mac? - java

On the sun Website, there have download options for windows, solaris, and linux.
http://www.oracle.com/technetwork/java/javase/download-142937.html

Check this page - http://www.oracle.com/technetwork/java/javase/setup-138642.html
JMF 2.1.1 -- A cross-platform version
of JMF for Java clients. To set up on
a Java client, you need to download
the Cross-platform Java install
package, which contains only Java
bytecodes (no native code). Note the
Java Sound API reference
implementation is not included with
the cross-platform version of JMF.
Select any platform and proceed to their page.... there you will get a link for a Cross-platform Java version jmf-2_1_1e-alljava.zip

There is an open-source framework called fmj. It supports linux, windows and mac. I gathered good experiences with this framework.
http://fmj-sf.net/index.php

Related

Java mobile for datalogic elf

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.

Tizen Mobile & IPad Linux - Does it allow GCC and Java?

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.

The Java Media Framework isn't cross platform?

I'm using JMF in my Java GUI and before downloading the packages from Oracle, it asks you which version you want:
Linux
Solaris SPARC
Windows
Does this mean my Java (cross-platform by nature) application WON'T be cross platform any more?
There is a 100% pure Java implementation, but that does not support all codecs and doesn't run as efficiently as the version using native code. So, effectively, the JMF is not fully cross-platform.
The developers justify this by considering the JMF an extension to the Java platform itself rather than just a library: just like you have to download a specific JVM for your platform, but can reuse your source and object code unchanged, you need a platform-dependent JMF implementation, but the JMF clients can be reused unchanged.
JMF isn't a pure Java API, so it'll only work where it's officially ported.

Developing JavaME applications on Linux

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/

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