Ipaq Speculation: Java vs MS C++

Hi,
I am starting a project for a Compaq Ipaq 3870 with PocketPC 2002, and am debating between developing using Java or MS C++. If at all possible, I would rather take the Java route, since I've developed in both, and am less than humored by how non-standard MS's version of C++ is.
After doing some research, I've come to the conclusion that the Jeode VM is reasonable for running Java, unless I'm willing to swap out the WinCE OS. Also, as my application is likely to have an extensive UI, I would definitely like to have AWT (and Swing support if at all possible). Further, I've tried the Forte4j Mobile Edition to see how IDE support is in this realm.
So, given my rather limited knowledge, here are some questions:
- Since J2ME has supposedly encompassed the older PersonalJava, yet the Jeode VM was built to support the latter, will applications written to the J2ME specification (for CDC, I believe) run on Jeode? If not, is there an alternative VM for the Ipaq/ARM?
- Is there an emulator/skin for the Ipaq available that may be added to the list of emulators for Forte? Or, how may one be created?
- What other Ipaq emulator alternatives for Java development are present? - What API (J2ME / PersonalJava) should the Java code be written to?
Thank you,
SP

Hi prsheila,
My name is Lee Graham, I'm very much a newbie when it comes to Java programming,
but I'm giving it a whirl. I found your messages on the Wireless Developer site regarding
your attempts to code for the iPaq. I'm in a similar situation and I thought you might be
able to help. I have some code for an application which I would like to port over to J2ME
for the iPaq wireless device. I've downloaded Forte (or "ONE" as it's now called) but it
seems to be forcing me to use MIDP and to create Midlets and Midlet Suites. But, from
what I've read, Forte ME should allow me to compile and emulate for Personal Java, which,
if I understand correctly, is just a subset of JDK and is not as limited as MIDP (for example,
it can use AWT). Do you know, precisely, how I can create a new project in Forte (or
other IDE, I'm open to suggestions) and load my old code so that I can compile and emulate
for the iPaq?
Also, I understand that Swing will have to be tossed when I port over to the new
environment. Are there any other major concerns like that I'll need to be warry of?
Thanks a lot for any help you might be able to provide,
-Lee

Similar Messages

  • Capturing audio on iPAQ with java

    Hello,
    Does anybody know a method of capturing audio data from the built in microphone on the iPAQ using java?

    Hello,
    Does anybody know a method of capturing audio data from the built in microphone on the iPAQ using java?

  • JDBC+Lite+WinCE : java.lang.UnsatisfiedLinkError: no oljdbc40 in shared library path

    Greetings,
    I'm trying to work with Oracle 9i Lite on PocketPC and I got one
    exception when I try to use jdbc package (oljdbc40.jar):
    java.lang.UnsatisfiedLinkError: no oljdbc40 in shared library
    path
    Since I didn't made the dll (is an Oracle product), I can't make
    much about the dll or the native class file where the call take
    place.
    my standard definitions are:
    -PocketPC (ipaq)
    -Personal Java 1.1 beta
    -I have my application in a JAR-based file in "\Program
    Files\App"
    -Oracle Lite installation in "\ORACE";
    -dll files installed by oracle in "\Windows";
    -wince registry classpath for JAR/CLASS file aimed
    to "\ORACE\oljdbc40.jar"
    So, what should I do to run my application that uses a jdbc
    package from oracle based on a dll file?
    I'm hopeful to solve this and avoid my thought from using any
    Microsoft Visual tool...
    thanks,
    Pedro Salazar

    Hi Pedro,
    Did you ever get this problem fixed? I'm seeing the same issue running Personal Java 1.1 beta for StrongARM on PocketPC 2000 with Oracle 9i Lite 5.0.2
    Any help much appreciated!
    Thanks,
    Simon.

  • How to access iPAQ address book (Contacts)?

    Hi,
    Does anyone know how to add an entry to the Contacts on iPAQ using Java? Is there any tool to do that?
    Thanks
    -J.

    Hi,
    Does anyone know how to add an entry to the Contacts
    on iPAQ using Java? Is there any tool to do that?
    Thanks
    -J.i'd like to know this too. or perhaps how to add something to the
    toDo list using jeode

  • How do I run a Java Application on Pocket PC 2003 (iPAQ 2210)

    I am writing an application for the iPAQ 2210. It will need to commuunicate over GPRS sending POST requests to a server (I think I will be using the Java.net package) the user interface will be very simple (a few buttons and text boxes) and will capture the data entered and send it back to the server (via the POST HTTP request) and read the response from the POST.
    I believe I need to use the Personal Profile version of J2ME and I am only using the classes that it says are supported. How do I run the App on the Pocket PC. Having spoken to HP they have said I shouldn't need a virtual machine and that pocket pc 2003 has one built in! Is this so or should I get myself the Jeode Virtual machine?
    Is the Jeode machine the best one?
    Sorry to ask so many questions in one go, I'm a little lost at the moment!!
    Jon

    Hello Jon,
    I will suggest you using IBM WSDD. Although it uses its own version of JVM(J9), but it suits to your needs well.
    I think you should base your project on foundation profile(as you need some gui as well as java.net).
    regards
    -fatbrain73

  • Free Java Development in IPAQ: My Experience...

    Hi all,
    I just finished testing my java application in a totally free platform, the only thing I payed for was my PDA.
    I have two PDAs here at my work, a HP Ipaq 3870 and an HP Ipaq 5500. The challenge was to be able to run Java applications and also to use Bluetooth.
    I started by searching the VM to use on my PDA.
    On the WinCE side I tried Creme (very good) and tried IBM J9 or WSDD like it is called now (good). With Creme 4.0 or J9 i was able to run applications until JDK1.3.1, the difference is the Creme 4.0 already supports swing and in J9 u need an external package.
    For Bluetooth i tried the avetana JSR82 stack with WIDCOMM driver for Bluetooth dongle, which was designed for CrEmE VM and I managed to setup connections using RFCOMM and SPP between my laptop and my PDA. On J9 i havent tried to setup bluetooth connections.
    This would do the trick, but since i am involved in a academic research project.... to pay for software is not really what we want to do. So the next step was to evaluate the Linux side on the PDA. I installed Familiar OS v0.8.1 (today they released Familiar v0.8.2) in my Ipaq 5500 and I started searching for VMs to install on Familiar.
    I found three VMs, BlackDown, SableVM and JamVM. JamVM i didnt tryed at all and BlackDown is not supported after Familiar V0.7.2, so i installed SableVM. It is hard to tell what JDK this VM implements. I sent some posts in the SableVM list and they told me that it has already some parts that is totally compatible with JDK1.3.1 and others are still being developed, like for example swing support. With SableVM i was able to run my JDK1.3.1 application with AWT, no swing was supported. Although seams like a valid platform for someone that wants to develop applications that use JDK1.3.1 and AWT for GUIs.
    So my next step was to validate BlackDown VM wich is JDK1.3.1 compatible and already supports swing. In order to do so I had to install Familiar v0.7.1 in my Ipaq HP 3870 (this because the H5500 hardware is only supported in Familiar 0.8 and BlackDown VM is not supported in this version of Familiar OS). The installation was easy and i was able to run, once again my JDK1.3.1 application this time with a Swing GUI. I was very pleased.
    As for Bluetooth in Familiar, well no problems because Familiar already cames with BlueZ stack which is more complete then JSR82. For example BlueZ stack already implements the PAN profile. There is also a JBlueZ that is a Java API that works on top of BlueZ. In my case, since i had the PAN profile in order to communicate with my Laptop I pared the two devices and used the PAN profile to establish a connection. This profile gives IP addresses to the two devices which allows to use normal Java Sockets to send and receive information over Bluetooth.
    So resuming.... With Familiar it is easy to setup a platform to use Java (until JDK1.3.1) using or awt or swing (depending on the ipaq you have) and use Bluetooth to communicate totally FREE. On the WinCE side you can do almost the same (i didnt found any bluetooth stack that implements PAN profile in Java) but u need to pay for the VM and for BT Stack.
    Now i am using on my Ipaq HP PocketPC 3870, Familiar v0.7.1 with BlackDown VM (JDK1.3.1 fully supported including swing) and BlueZ PAN Profile. On the Ipaq HP PocketPC 5500 you can use Familiar 0.8.1 with SableVM (JDK1.3.1 only AWT is supported) with BlueZ PAN Profile.
    Hope this helps someone, if someone has diferent experiences please share them!!!
    Cris

    Hello CrisBento.
    I have problems with iPAQ and Bluetooth JRS-82 API using avetana.
    You have wriiten:
    "For Bluetooth i tried the avetana JSR82 stack with WIDCOMM driver for Bluetooth dongle, which was designed for CrEmE VM and I managed to setup connections using RFCOMM and SPP between my laptop and my PDA."
    I am trying to develop a client/server application via Bluetooth. The server will be the PC running Windows 2000 SP5 or WIndows XP.
    The client will be an iPAQ H3970.
    I test two VMs. The Jeode Insignia and crEme 3.26 and also crEme 4.00(beta).
    Unfortunately, the avetana lib is running properly at my PC side( my USB Bluetooth Adapter is 1.4.12 Widcomm driver) but at the iPAQ side I receive the following exception:
    "Could not find own library avetanaBTCE. Will try from ld.library.path
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no avetanaBTCE in java.library.path
    at java.lang.ClassLoader.loadLibraryInternal()
    at java.lang.ClassLoader.loadLibrary()
    at java.lang.Runtime.loadLibrary0()
    at java.lang.System.loadLibrary()"
    I received the above exception in all 3 VMs I used.
    It is very strange that you run properly the avetana JSR82 API to you iPAQ 3870, thus it is older than mines.
    I also tried in the main class of the programs I tested to include the following line:
    System.load("/Windows/AveatanaBT/src/avetanaBT.dll");                        
    //Include the absolute path of the dll
    or
    System.load("/Windows/avetanaBTCE.dll");I have got in touch with both crEme Support team and Avetana Support team.
    The most possible problem is that my Bluetooth Stack is very old.
    However, it is very strange that I read you have succeded to run the avetana API at iPAQ 3870.
    If you have some comments I really appreciate to tell me.
    Regards,
    kalgik

  • IPaq, Java & 3D Compatibility Question

    Note: First off, I'm not entirely sure if this is the right forum to post this in, so I apologise if it's in the wrong place.
    Basically, I creating an application that involves creating a 3D landscape via Java 3D and also runs fine on the PC, with the overall aim being to hopefully have it working on a PDA. However, because there's no Java 3D support on any of the JVMs I came across, I'm uncertain as to how to get the whole application working.
    I noticed that there's possibly JSR-184, but I'm not entirely sure if it's compatible with PDAs, since I'm somewhat new to Java programming for mobile devices.
    What I want to ask is are there are any Java 3D libraries or such that can work on a PDA (more specifically an iPaq rx3715, which uses Windows Mobile 2003, if that helps)?
    Any help given is appreciated.

    First , i can sure to tell you ,that java 3d can't use in cdc or cldc ,because the library of java 3d is too large , so the jsr-184 or M3G is build for cldc.
    But i don't know wether this is compatible with cdc.
    And i am from China , a coming graduate , very glad want to make a friends with you .
    [email protected]

  • Starting IExporer.exe from java with J9 in an IPAQ

    Hi all,
    I'm trying to run IExplorer.exe from a java program in a IPAQ with j9 cvm.
    I did try it in Windows 2000 and it works fine but when running it in the IPAQ with Windows CE it throws an exception.
    Looks like the Exception is thrown because it can not find the file, but I think I'm writing the correct path and file name.
    Here is the code and the exception. Can any one try it and tell me what Am I doing wrong.
    Thanks a lot.
    String s = "\\Windows\\iexplore.exe";
    //String s = "\"C:\\Program Files\\Internet Explorer\\IEXPLORExx.EXE\"";
    try
    System.out.println("s: " + s);
    Runtime runtime = Runtime.getRuntime();
    Process p = runtime.exec(s);
    catch(IOException ioEx)
    ioEx.printStackTrace();
    java.io.IOException: Unable to start program
    Stack trace:
    com/ibm/oti/lang/SystemProcess.create([Ljava/lang/String;[Ljava/lang/String;L
    java/io/File;)Ljava/lang/Process;
    java/lang/Runtime.exec([Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)L
    java/lang/Process;
    java/lang/Runtime.exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Lj
    ava/lang/Process;
    java/lang/Runtime.exec(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Proce
    ss;
    java/lang/Runtime.exec(Ljava/lang/String;)Ljava/lang/Process;
    com/gestorPosicion/inicio/InicioCliente.main([Ljava/lang/String;)V                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The problem is that on PocketPC you cannot redirect input or output and the exec() call will not work as expected so it instead throws the exception to indicate this doesn't work on PocketPC.

  • Java on HP Ipaq hx7400

    Is it possible to get java on a hp ipaq hx7400? I downloaded IBM's WebSphere Everyplace Micro Environment 5.7.1 but it dosent seem to work.

    Have you tried checking out http://www.hp.com/java ?

  • IPAQ how to use hardware buttons in java

    Hi,
    Does anyone know how to be able to use the iPAQs harware buttons and joystick in Suns Personal Java?
    I moved a Tetris applet i have written for PC's to the iPAQ and it works except for the arrow keys that i use to control it with.
    Any help would be greatly appreciated!

    I have the same problem.
    Does anyone know how to use the buttons of the iPAQ for your java applications?
    Thanks
    Hector

  • Personal java and iPAQ

    Hi, I am confuse after reading all these stuff about personal java. I want to know, what do I need to do if I want to download personal java on my ipaq that uses windows CE. do I need to download jeode too or not. I appreciate any help.

    I don't know if I'd go that far exactly...
    I've had the most success with Jeode, but there is also Sun's pjava (beta, and not a full implementation), as well as CrEme: http://www.nsicom.com/products/creme.asp
    -Brad

  • JAVA SDK on IPaq

    Is it possible to install the J2SE on an iPAQ (win 2003 mobile OS)?
    Aidy

    A few JVMs are availible..
    http://compaq.handango.com/PlatformProductDetail.jsp?platformId=2&siteId=1&productType=2&productId=17215&catalog=30&homePath=COMPAQ&sectionId=0
    http://www.savaje.com/products/savajexe.html
    http://java.sun.com/products/personaljava/
    Hope this helps...
    Kirk

  • Linux + Personal Java on StrongArm(iPaq or SA1111)?

    I have watched the discussion here, it seems that mostly run the personal java in WinCE, so anybody successfully getting it work in Linux? As my SA1111 or iPaq is running in Linux and want to run with Personal Java with AWT support.
    Can anybody help?

    This was announced a while back...
    The Blackdown Java-Linux Team is happy to announce the availability of
    the release candidate 1 of Java2 SE v1.3.1 for Linux/ARM:
    Please choose one of our FTP mirrors for downloading:
    http://www.blackdown.org/java-linux/mirrors.html
    Besides the J2RE there's a second file: additional-ipaq-stuff.tar.gz
    It contains libraries and other files which are required to run Java
    but are not part of the standard familiar distribution (libXp.so,
    libXm.so, libBrokenLocale.so, 'standard symbols l' font)
    The unmodified J2RE needs about 18m, if you remove one of the two
    included VMs (classic green & classic native threads VM) and files you
    don't need (candidates are for instance soundbank.gm, i18n.jar
    libJdbcOdbc.so, libpreemptive_close.so, libioser12.so, ...), you may
    get it down to 12 or 13M. You should be able to save even more space
    by removing unneeded classes (e.g org.omg.*) from rt.jar.
    * No SDK yet, I didn't have time to run the compiler testsuite yet
    (the test-run will take approximately two weeks)
    * MouseEvent.isPopupTrigger() and JPopupMenu.isPopupTrigger() are
    somewhat useless on the iPAQ as they are bound to the right mouse
    button. Any idea for a more sensible trigger?
    * The default fonts are too large for the small display
    * The default maximum heap size is 64m, you may want to reduce that
    with to a smaller value (e.g. -Xmx20m)
    * Some stuff is terribly slow (e.g. HTML rendering). If somebody
    feels like writing a JIT compiler or porting HotSpot to ARM let me
    know...
    * No Mozilla plugin yet ;-)
    * A small demo is available from http://blackdown.de/~jk/arm/IPAQDemo.jar

  • Personal Java on IPAQ

    Hi Everyone. Could anyone tell me how to use personal java as a runtime environment on my ipaq 3870?
    I downloaded a bunch of personal java files for win32(assuming these are the ones i will need to use on my windows ce device), but i have no clue on what to do with them to use it as a runtime environment on my ipaq. There are a bunch of build directories and source directories, an emulation environment and osme other stuff. I see no way i can use all this to run java class files on my ipaq. Could anyone tell me what i should do to have a personal java runtime environment on my ipaq?
    Thanks,
    Vinod

    This was announced a while back...
    The Blackdown Java-Linux Team is happy to announce the availability of
    the release candidate 1 of Java2 SE v1.3.1 for Linux/ARM:
    Please choose one of our FTP mirrors for downloading:
    http://www.blackdown.org/java-linux/mirrors.html
    Besides the J2RE there's a second file: additional-ipaq-stuff.tar.gz
    It contains libraries and other files which are required to run Java
    but are not part of the standard familiar distribution (libXp.so,
    libXm.so, libBrokenLocale.so, 'standard symbols l' font)
    The unmodified J2RE needs about 18m, if you remove one of the two
    included VMs (classic green & classic native threads VM) and files you
    don't need (candidates are for instance soundbank.gm, i18n.jar
    libJdbcOdbc.so, libpreemptive_close.so, libioser12.so, ...), you may
    get it down to 12 or 13M. You should be able to save even more space
    by removing unneeded classes (e.g org.omg.*) from rt.jar.
    * No SDK yet, I didn't have time to run the compiler testsuite yet
    (the test-run will take approximately two weeks)
    * MouseEvent.isPopupTrigger() and JPopupMenu.isPopupTrigger() are
    somewhat useless on the iPAQ as they are bound to the right mouse
    button. Any idea for a more sensible trigger?
    * The default fonts are too large for the small display
    * The default maximum heap size is 64m, you may want to reduce that
    with to a smaller value (e.g. -Xmx20m)
    * Some stuff is terribly slow (e.g. HTML rendering). If somebody
    feels like writing a JIT compiler or porting HotSpot to ARM let me
    know...
    * No Mozilla plugin yet ;-)
    * A small demo is available from http://blackdown.de/~jk/arm/IPAQDemo.jar

  • Free Personnal Java VM for Linux Familiar on ipaq H3800

    I would like to known if there is a free virtual machine and personnal profile to download for arm familiar linux on Ipaq H3800?
    Otherwise, I am interrested by speaking with someone that has always compiling the sun Personnal Profile source for this device and OS?
    Thank

    me too
    thanks

Maybe you are looking for