CDC Personal Profile and XML

Hi everybody,
does anyone here has any experiences with J9 (CDC Personal Profile) and XML document?
Can I use SAX or Dom to parse XML files in CDC Personal Profile?
Any help is appreciated!!

Try kXML. It should work on any Java platform.

Similar Messages

  • Compiling CDC/ Foundation Profile  and Personal Profile in RedHat 7.3

    When I compile the CDC/Personal Profile,in RedHat 7.3,I get this message:
    ../share/rules.mk:235: ../../build/linux-i686/generated/empty.mk: No such file or directory
    ... mkdir ../../build/linux-i686/generated/javavm/runtime
    touch ../../build/linux-i686/generated/empty.mk
    ... mkdir ../../build/linux-i686/generated/flags
    error:compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null
    ,null,null,null,null,null,null
    100 errors
    make: ***[.compile.btclasses] Error1
    And with CDC/Foundation Profile ,the message is:
    error:compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null
    ,null,null,null,null,null,null
    100 errors
    make: ***[.compile.btclasses] Error1
    What can I do now!
    Can you help me to solve this error?

    Just do export LANG=en_US
    also edit the /etc/sysconfig/i18n file entry for LANG to en_US instead of the UTF.8 stuff
    I don't know the exact reason though.. this will work.
    --Prasanna Kumar                                                                                                                                                                                                                                                                                                                                                                                               

  • How could I use native methods in CDC-Personal Profile?

    Hi, I know that CDC-Personal profile doesn�t support JNI (I think so), but i think that must be a way to use native methods in an application written with Personal Profile. Thank you very much

    I'm esperiecing the JBluez executing in a CVM for Linux...all seems work well, and i know that only the CLDC doesn't support JNI but CDC support it. You only need to follow theinstructoins valids for use JNI with J2SE, if i'haven't readed bad, CDC is Java 1.3 compliant...
    I hope this could clarify your ideas
    Andrew

  • Personal Profile and WinCE

    I Have to develop an application intended for Pocket PC running WindowsCE.
    I have readed articles explaining the use of Personal Profile and all the related CDC profiles, but in the download page, there is only a Linux/x86 java runtime environment...
    How can I develop correctly applications for WinCE with Personal Profile?
    Note: I'm new to CDC but I've been working with CLDC/MIDP for 2 years..
    Thanks
    Ricardo

    Ok, after I posted this topic I've noticed there was a huge thread about this problem. I haven't readed all of topics, but I'll try to avoid my problem, once there's no solution this time..
    Thanks to brownb2 to start this important discussion here.
    Ricardo

  • CDC/Personal Profile Platform Emulator

    Hi,
    I am a new J2ME developer. Earlier I was working on Swings in Java. I am working on netbeans 6.0 now. I just want to know what are the emulator/SDK available for CDC/Personal Profile1.0. I have already dowloaded the CDC Toolkit form Sun and integrated with Netabeans. Now I am looking an emulator for Personal Profile 1.0. Please help me in finding emulator and integrating with netbeans.
    Thanks in advance

    Try kXML. It should work on any Java platform.

  • Using MMAPI with Personal Profile...

    Hi,
    I've read everywhere that the Mobile Media API, as an Optional Package for J2ME, is compatible with both CLDC/MIDP and CDC/PP.
    I need to write an application with MMAPI for a device that runs CDC/PP. I can write MMAPI with the Wireless Toolkit 2.2 but it does not feature the CDC. So I tried Nokia's CDC/PP emulator (Nokia 9500 series 80) but it does not contain MMAPI and everybody on the Nokia forum say it's a pity that the Personal Profile cannot use MMAPI...
    So I don't know what I can do. Is there an emulator that allows me to write an application running on CDC with Personal profile, and that uses the Mobile Media API?
    That's quite important for my internship and I'm quite disapointed not to find what I search. Can anyone help me?

    yes,..ive tried the mmapi with creme cdc vm and it works,...but,only for playing wav,..i dont know about video. coz my program isn't working top play video with it...

  • Media API on Personal Profile

    Hi,
    I'm trying to write an appliation which uses the Camera on my PDA. I'm using IBM J9 on the PDA with Personal Profile, and my application uses lots of AWT widgets, so it's not possible to move to Midlets.
    I was trying to add the MIDP library to my application to be able to access the camera. For some reason I can't do this, because J2ME applications can only use one profile. Is there anyways to add the Multi Media APIs to Personal Profile applications ?
    Can anyone give me some advice on how to make this work ? or point me to an alternative way of accessing the camera on my PDA.
    Cheers,

    yes,..ive tried the mmapi with creme cdc vm and it works,...but,only for playing wav,..i dont know about video. coz my program isn't working top play video with it...

  • Personal Profile compile

    Hi all,
    I recently downloaded the cdc personal profile. I've managed to compile the profile on Red Hat 9 ( compiled cleanly...only some minor warnings ). When I try to run the HelloWorld example packaged within the democlasses.zip file ( should display a window with Hello World in big red letters ), I get the following exception:
    java.lang.NullPointerException:
    at java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
    at java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;(Class.java:127)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;(GraphicsEnvironment.java:72)
    So, I traced throught the code. After doing a little debugging, I discovered that the GraphicEnvironment retrieves null for the java.awt.graphicsenv environment variable. Noticing that a doPrivileged call is made, my first thought was that it was a security thing. So I added the java.awt.graphicsenv entry within my java.policy file. Reran the example and still the same exception. I'm baffled as to why a call to retrieve this environment variable is always returning null. I can add a call to System.getProperties() within the GraphicsEnvironment class and it shows that that entry is set to sun.awt.gtk.GdkGraphicsEnvironment. Has anyone encountered this problem? What I'm noticing is that when I call System.getProperty( String name ) it seems to always return null?? I tried:
    System.getProperty( "java.awt.graphicsenv" );
    System.getProperty( "awt.toolkit" );
    System.getProperty( "java.awt.AlphaComposite.SRC_OVER.isRestricted" );
    All returned null! Any suggestions or thoughts would be greatly appreciated. I know there is a rpm version of the personal profile - I've tried it and it works great - but I really need to be able to compile it for myself as I'm going to have to provide some porting libraries and classes.
    Thanks in advance!
    Best Regards,
    Jeff

    I figured it out!!
    It had to do with the makefiles that were responsible for generating those environment variables. More specifically, personal/build/share/defs_basis.mk and personal/build/share/rules.mk. The defs.mk defined a SYSTEM_PROPERTIES variable. It goes through a bunch of if statements to determine which environment variables will be set. Statement looks like this:
    SYSTEM_PROPERTIES += "name=value\n"
    Well, its the rules.mk file that parses that SYSTEM_PROPERTIES variable to generate a system_properties.c file. The line that does this is:
    $(AT) echo $(SYSTEM_PROPERTIES) | sed -e 's/ *\(.*\)=\(.*\)/     PUTPROP (props, "\1", "\2");/' >> .system_properties.c
    This line echos SYSTEM_PROPERTIES and pipes that output to sed which will then parse out each "name=value". Then it will print out PUTPROP( props, "name", "value" );
    The problem that I was encountering was when this line parsed the SYSTEM_PROPERTIES it was parsed as follows:
    name1=value1n name2=value2n .... the \n characters were not being recognized! Therefore all of the name=value pairs were being output on one line. Sed is expecting these things to be on their own line. Therefore the environment variables were not being set correctly by the System. So I made a minor modification to the echo command to interpret the "/n":
    $(AT) echo -e $(SYSTEM_PROPERTIES) | sed -e 's/ *\(.*\)=\(.*\)/     PUTPROP (props, "\1", "\2");/' >> .system_properties.c
    The -e tells echo to interpret any escape characters within the String. Made the fix, recompiled, and everything works great!!
    Regards,
    Jeff

  • J2ME & Personal Profile - HOW LONG MUST WE WAIT

    Hello!
    I� am worry about the shipment off Personal Profile and CDC.
    How long must we wait so that Sun will decide to launch this product?!!!
    And what about Personal Java for WindowsCE 3.0 (not a beta release, a final and stable one)? There are VM that we can buy (Insignia), but the principles of Sun and Java are Open Source and free licenses not Open Source BUY IT?!!!!! Besides that this version do not support the possibility to access to MS Pocket Access Database...
    Does anyone know something about this?
    Thanks
    Marco

    Why don't you use J2SE instead, that way you don't have to wait for J2ME anymore!!!!!
    FYI... SavaJe has developed a new Java Operating System for StrongARM based devices such as the Compaq iPAQ. SavaJe supports all Java 2, Standard Edition, JDK 1.3 APIs, libraries and classes on mobile devices, and is the fastest Java platform capable of running all J2SE and PersonalJava applications at desktop performance. (over 10 times faster than running Java on Jeode based on the tests I have done).
    For more information, please visit: http://java.sun.com/features/2001/06/savaje.html
    For a free evaluation download, visit our website at: http://www.savaje.com

  • Show HTML in Personal Profile?

    i'd like to show HTML (from a file or from a string) in any kind of component in an app running on a PDA. Probably i will use Personal Profile (and WSDD).
    Are there any components I could use to show HTML. Maybe in AWT?
    I know there are components like that in swing, but I don't know if I can use swing on a PDA??

    hi slomoman,
    i am also interested in the answer. Here is my research:
    You can show HTML in swing components like JEditorPane, But not in AWT.
    Also I could not find a way, how to run swing app with WSDD on PDA.
    good luck
    -fatbrain73

  • Personal Profile examples

    Where can I find some examples on CDC/Personal profile? (I don't have Linux)

    I'm also looking for some good examples but haven't found yet.

  • Does CDC(PP profile) supprots ARM 7 platform?

    Hi all:
    Who can tell me the answer of this question, and where to get the cdc and pp profile implementation?

    Yes,it is. I 'm porting CDC(foundation profile), and I encount many problems. If you have some experiences or you want to talk about it with me, please Email with me. [email protected] By the way, I'm a Chinese.

  • Editing Personal Profile?!

    I was trying to enroll to begin developing apps and I hit a roadblock. In the "Review & Submit" step of applying it displays your personal profile and billing information. The personal profile name is used as a seller name. I wanted to change the name on the account! I have been sending emails back and forth with apple for about a week and have gotten nowhere! Any ideas? Thanks in advance!

    yes, skype usernames and display names can be set to different values.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • J2me personal profile

    Hi
    Am a novice to start with j2me personal profile with embedded linux.
    Can you tell me, where I can find about the documents?
    What are the softwares I need?
    I heard about IBM J9 JVM.
    To work with IBM J9 personal profile and embedded linux,
    what are the softwares needed?
    Please help me.
    Thanks
    raja

    I'm looking to gauge Java's GUI capabilities for high
    end PDA devices. Some things that I'm looking at
    are:Personal Profile only supports AWT (not SWING)!
    -MenusAWT Menus.
    -Tree structuresNo SWING JTree!
    -Context menus (can you detect the difference between
    a single click and a click and hold as you can using
    VS.net?)All that you can do using AWT.
    -Screen/Form controls (i.e. close, minimise/hide)Belongs to the Frame and is handled by the Virtual Machine.
    With the menus can you have them at the bottom of the
    screen rather than the top (as with VS.net).Handled by the Virtual Machine. If you use e.g. J9 this is done automatically.
    >
    I'd guess that java is capable of all of these, but
    it'd be nice if someone could confirm it. Also a
    point in the direction of some examples or tutes
    would be great.Just look into an AWT tutorial.

  • Do you share my profile and seach data with Others? If so how can I select not to do so?

    Does Firefox and/or any associated enities, members, associates, employees, share my profiles? Does Firefox and/or any associated enities, members, associates, employees, share my seach date or profiles? If yes, How can I discontinue its continued use? How can I download a version of firefox without allowing any of my personal profiles and search history from being shared, sold or otherwise used? I thank you in advance for your truthfulliness in a full and complete reply!

    Mozilla do not share your user data. Your profile is stored on your computer.

Maybe you are looking for

  • Special character are getting overlap when form is trigger from WEB UI

    Hi Everyone, I am facing one problem in WEB UI CRM Version 2007 when using the Smartform in Web UI. Form is Translated in two languages EN and ES. Form gets triggered through action; when triggered in SAP GUI (CRMD_ORDER) it gets displayed properly i

  • Cursor locking up on me.

    the last few days i noticed after a short while of using the computer, my cursor starts freezing up and then all the buttons on my mouse do the same, it's a logitec trackball that i've had for a couple of years so i don't think that's the problem. af

  • Join files again, after they're split into 1 kb chunks

    I have the below code in my program. It splits a single file into multiple files each 1 kb in size that when put together in the right order will make up the original text file. Anyone got any ideas on how I can write a class to do this? import java.

  • [svn:fx-4.0.0] 13895: TLF Build 595.

    Revision: 13895 Revision: 13895 Author:   [email protected] Date:     2010-01-29 13:11:01 -0800 (Fri, 29 Jan 2010) Log Message: TLF Build 595. Build 595 Fix 2537642 Bug, TLF Text: htmlText is not Rendered Correctly (importer issue with implied paragr

  • Does File Vault only work on Startup Drive?

    I've been reading up on FileVault, but I have a Macpro with 4 drives installed, plus some external HDD's as well. Can FileVault secure them as well, or do I need a separate app? In which case, can anyone throw some recommendations my way? Thank you!