J2ME (through CrEmE) and MMAPI problem on PDA

I am using Creme from nsicom as vm for deploying java applications on a pda device (hp ipaq 4700hx).
I am trying to reproduce some sound (.au) through the default implementation of mmapi in j2me and all i get is an exception that realize(), prefetch() and start() methods do not exist. I have checked the /lib directory of creme on the pda and the VMclasses.zip file contains the player class with all the methods available. Any ideas?
The code i am using is the following:
try
   InputStream is = getClass().getResourceAsStream("/sample.mp3");
   Player player = Manager.createPlayer(is,"audio/mpeg");
   player.realize();
   player.prefetch();
   player.start();
catch(Exception e)
{System.err.println(e);}

Hi thanks for your reply. I had thought i had to use a vm like creme to run a java application on a pda? Is there another way?
My code is below for a simple test program im trying to run:
import javax.swing.JOptionPane;
public class tempConverter
     public static void main(String[] args)
          double celsius, fahrenheit;
          String celsiusStr;
          // Getting user to input the temperature they want to convert
          celsiusStr = JOptionPane.showInputDialog("Enter the temperature (in celsius) you wish to convert:");
          celsius = Double.parseDouble(celsiusStr);
          // Performing the conversion
          fahrenheit = ((celsius*9)/5)+32;
          //Displaying the result
          JOptionPane.showMessageDialog(null, "The temperature in fahrenheit is:" + fahrenheit);
          System.exit(0);
}

Similar Messages

  • I am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!

    i am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!
    When i press command+I (Get Info) i see that there is 140 GB "Available Space" on my hard disk but when i click on my hard disk icon on the desktop, and then press "space" i only see 102 GB free!! What the f*???
    Please HELP!!!!!! Getting second thoughts on Lion!!!!

    Hi b,
    Have you restarted yet?

  • HT4623 Hi,        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be ac

    Hi,
        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be activated because the activation server is temporarily unavailable,try connecting your iphone to itunes to activate it,or try again in a couple of minutes.i tried many times but it again shows the same message,
    after installation,when i connect my iphone to itunes it shows a message that we are unable to activate your iphone at this time please try again or contact customer care.please reply me urgently to resolve this problem.

    That is usually a symptom thet the phone was hacked or jailbroken. Was it?

  • I bought my iphone 4 through ebay and its unlocked. the problem is that my phone does not sync straight away. I sync my music file through autofill. I want to sync ringtones but its not working

    i bought my iphone 4 through ebay and its unlocked. the problem is that my phone does not sync straight away. I sync my music file through autofill. I want to sync ringtones but its not working.
    I saw cidya aap so i m not sure if it was jailbroken or not before but it is back to normal settings.
    My problem started when I tried to sync my music files. I pressed 'sync' all it says is waiting for sync start, preparing to sync and then waiting for the changes to be applied. but it does not sync at all.
    I found a way to sync my music files through autofill but I really wanted to sync ringtones but its not syncing and I really wanted to put ringtones in my phone please help.

    If you see the cidya app, your iPhone is hacked with the cutsie term for this being jailbroken. This also means all the built in security has been removed making the iPhone as insecure as an android device.
    Restore the iPhone with iTunes as a new iPhone or not from the backup to get rid of that hacking garbage. If the iPhone has hacked to be unlocked, the iPhone will no longer be unlocked when doing so.

  • I can not send my Note through email and it used to work. The same problem to send picture from iPhone message

    Can't send Notes through email and it used to work. The same problem of sending picture from iPhone message. Did the reset twice but still not working

    Try a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • Having a problem when scrolling through one clip: a different clip scrolls through point and time simultaneously. Can you please assist us?

    Having a problem when scrolling through one clip: a different clip scrolls through point and time simultaneously. Can you please assist us?

    First question: this is a Captivate forum, are you sure that you have a Captivate problem (with cpvc or an imported video)?

  • Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    I'm not sure I understand the connection between iCloud and this problem.  Is it simply a problem of coincidental timing (ie, the problem happened after you set up iCloud)?  If so, there's almost certainly no connection between these two events.
    Where are you getting the files you're trying to open, and what specifically happens when you try to open them?

  • Hello I just found a problem with my Ipod nano 6th generation. It worked fine an hour ago but then the screen turned a dark grey. Did the restore through Itunes and then it went white. But now it's totally unresponsive and seems to be off even when it is

    Hello I just found a problem with my Ipod nano 6th generation. It worked fine an hour ago but then the screen turned a dark grey. Did the restore through Itunes and then it went white. But now it's totally unresponsive and seems to be off even when it is plugged into itunes. Can't even restore it. I get Error 1415?

    Hi clarity,
    Welcome to Apple Support Communities.
    You may want to first try removing and reinstalling the latest version of iTunes by following the steps in this article:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    If you continue to receive the error message when connecting your iPod, see this article for more troubleshooting tips:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/TS1814
    Best,
    Jeremy

  • New good J2ME and MMAPI article...

    hi guys,
    check out this fresh article
    http://www.javaworld.com/javaworld/jw-09-2007/jw-09-mobilevideo1.html
    for Mobile video with JME and MMAPI...

    Hi Guys,
    Thanks for your advise. Unfortunately I'm a little
    disappointed about having to use an MS solution. Even
    though our organisation is MS based the API's have
    only matured in the latest framework.
    Ok, so I'm happy, to some extent, if I have to use a
    windows mobile 5 device that uses the .NET compact
    framework 2.0. I was wondering if any of you guys of
    heard of or used a tool called PocketBuilder from
    sybase?
    http://www.sybase.com/products/developmentintegration/
    pocketbuilder
    This mobile application development tool promises to
    abstract the hardware elements and simplify
    development. I think they've wrapped up the device
    specific API's and built a generic API for use around
    this tool. Its windows devices only but it gets round
    us having to re-develop the hardware interfaces on
    devices that have specific API's and that run on pre
    windows mobile 5 (I think).
    Do you think this a completely unrealistic as a tool
    or do you think it could answer my problems?
    Thanks for all your help guys.The .net API's will abstract you from the Hardware. That link just looks like its promoting a RAD tool. All the Benefits they state are the standard blar, blar, blar� Points any RAD tool would say it�s good at.
    Build a prototype.

  • My computer continually asks me to enter my password for Keychain access. This problem is continuos and I am having trouble with eliminating it. I have changed my password through Security and my Accounts numerous times to no avail.  Is there anythin

    My computer continually asks me to enter my password for Keychain access. This problem is continuos and I am having trouble with eliminating it.
    I have changed my password through Security and my Accounts numerous times to no avail.
    Is there anything I can do other than Resetting the entire computer and re installing all of the software, apps, etc.etc.

    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select
              Change Settings for Keychain "login"
    In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
              Keychain Access ▹ Preferences... ▹ First Aid
    There are four checkboxes in the window that opens. Check all of them. if they're not already checked. Close the window.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.
    If you use iCloud Keychain, open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.

  • I bought an iPad in June 2012 and have it worked fine, but after 2 weeks of purchase, he began to hang up, then the sound disappeared and the screen became black. I updated all through itunes, but the sound is still absent, and still problem with sound an

    I bought an iPad in June 2012 and have it worked fine, but after 2 weeks of purchase, he began to hang up, then the sound disappeared and the screen became black. I updated all through iTunes, but the sound is still absent, and still problem with sound and iPad still doesnt work.

    Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • Problems importing through log and transfer

    anybody know why i cant import canon elph 100HS video files through log and transfer in final cut pro 7?
    thanks

    Does Canon have a plugin for working with that camera and FCP like they do for their larger DSLRs?  If so, download and install it and then try Log & Transfer again.  If not, you'll need to convet the files from the camera using other apps like MPEG Streamclip or possibly ClipWrap.
    -DH

  • Install Creme and MI Client on SD Card

    Hi All,
    Due to low memory in my device, I have tried install creme and mi client on SD card follwing the below instructions suggested by some one.
    +Refer the steps mentioned below for MI Client + CreMe on SD Card.....+
    Installing MI and data on SD ROM:
    1. Copy the CrEme cab and the MI cab on to the device and install them. Register the MI Client.
    2. Assign the application/addons/patches to the device, sync to get the appliation along with the data. (I have copied whole MI folder which is working in another device having db2e etc and data)
    3. Move the CrEme folder present in WindowsCrEme to the SD Card directory.
    4. Move the MI folder to SD Card directory.
    5. Move the following dlls present in Windows to SD CardCrEme in
    • CryptoPlugin.dll
    • DB2e.dll
    • DB2eJDBC.dll
    • gfw.dll
    • gfwconf.dll
    • jscp.dll
    • jscpconf.dll
    • License.dll
    6.Edit the crème_listOfJars.txt which is present in SD CardMI, change all the paths which are present in it to point to the new path. eg. MIlib ME.jar to SD CardMIlibME.jar. Also add a ‘ (quote) after -classpath and also at the end.
    ie. –classpath ‘SD CardMIlibMDSD2.0CD.jar;SD CardMIlibdb2ejdbc.jar;SD CardMIlibME.jar;’
    7.Move the MobileEngine.lnk file present in WindowsStartUp to SD Card
    8. Edit MobileEngine.lnk file. The new content should be as given below:
    +255#"SD CardCrEme inCrEme.exe" -Of -ml 64000 -bcp 'SD CardMIlibSapBigDecimal.jar' -cf 'SD CardMI
    lfont.txt' -cf 'SD CardMIcreme_listOfJars.txt' com.sap.ip.me.core.Startup '-home:/SD Card/MI'+
    9. Click on the MobileEngine.lnk file
    10.CreMe and MI should load.
    But when I gave the URL "http://localhost:4444/me...." a pop up message displaying as Cannot Connect with current connection settings. To change your connection settings, tap settings.
    Can any please suggest how to install these in SD card.
    Regards,
    Murthy.

    Hi Murthy,
    this error is a usual thing!
    You installed MI on the SD card. Problem with the WinCE operating system: the files in the startup folder are processed, before the SD card is available. So you want to start Creme, but the creme is on SD card and the sd card is not available. Unfortunately this is the problem.
    Well, either you start the MI link manually after restarting the PDA from the startup folder. When you can do that the SD card is available as well and then it should wor fine. If it is not working, then you have done some errors in the configuration (misstypo), but usually ths is the problem. Make t worse: this error occures only in 90% of the PDAs, 10% of the PDAs work absolutely fine
    On the other hand, use it like Victor said - but even then you could run into problems, cause Creme tries to start files in the MI folder. But cause Creme itself needs some time to init, usually this works fine.
    Hope this explains you the reaon of your problem.
    Regards,
    Oliver

  • LG Ally text message and gps problems

    hello. ive been with verizon for about 10 years maybe. ive been overall happy with the service and customer service. but the prices should be alot lower.lol. i started out with the motorolas then switched to the lg phones. only problem with the motorola was the speakers. not loud enough. could never hear the phone ring. the lgs usually suffer from the same problem.
    i had a few phone problems but nothing like this lg ally. im on my second one and about to be my 3rd one in about 3 months. 1st phone i had every problem under the sun. this phone i am suffering from text message problems and gps problems. i suffer from what everyone else has problems with. the messages wont send. they will eventually lock up. it will show the envelope with the red explanation point ( i think thats the graphic). then usually everytime when i sent a text the texts will close. it will send then bounce back and show up as a draft and i have to resend it and wait for it to go thru. finally the last problem with the texts. when i send a text a phone number from my contacts shows up and freezes on the screen. its in white text with a black background. its the same number every time. it stays on the screen until i restart or pull my battery out.
    gps. when i open up google gps that comes with the phone i make sure the gps is on... when the directions are found and the map pops up 9 out of 10 times it just keeps saying searching for gps. the turn by turn never is found. the 1 time it does it takes a good 10 minutes to be found. atleast on my first one ally the gps did work 8 out of 10 times. it just took a good 5-10 minutes for gps to be found and show turn by turn.
    anyone else have these problems? where you able to fix them or did you need to get a new phone? the 2.1 update was supposed to fix problems. i think they just made it worse. the ally is supposed to have 2.2 froyo. where is it. is it ever going to get it. i got this phone because i like the lgs and the keyboard. also the sales representative on the phone was giving the lg ally rave reviews. why couldnt he say dont buy this go with a motorola droid. this phone is the biggest junk ever made

    I do apologize you are having trouble with your device I looked in our information system on the LG Ally in reguards to issues you are having it states if you have the Free Droid Security anti virus protection application down loaded it will cause the phone to lock up or freeze. Check and make sure you do not have the application on your device. Check you GPS settings and make sure correct. Go to Settings; Location & Security; make sure GPS is on wireless network. If this does not fix issue you can try doing a Master Reset on your device. Make sure your contacts are saved in your G-mail account or through Back Up Assistance.
    Master Reset/Soft Reset:
    Factory Reset option 1
    From the main screen, touch menu tab
    Touch Settings
    Touch Privacy
    Touch Factory Data reset
    Touch Reset Phone
    Warning: This will erase all data from your phone, including:
    Your Google account
    System and application data and settings
    Downloaded Applications
    It will not erase: Current System software and bundled applications; SD Card files, such as music or Photos
    Factory Reset option 2  - Warning this will reset device back to original factory settings.
    Turn off the phone
    Press and hold "home" + "end" + "volume up or down" keys together for a few seconds when the device is power off
    Once device displays boot information, release keys.
    Soft Reset
    Press the Power key.
    Touch Power off.
    Touch OK.
    Press the Power key to power on the device.
    or
    Remove battery cover, remove battery and reinstall.Also there is a new update for LG Ally it will be the Froyo 2.2 but there is not release date available at this time it will post on your device when available. Hope this Helps. Leslie

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

Maybe you are looking for

  • FAX Sending - Link between SOST items and PO Data

    Hi all, We have a message type to send FAX to the vendors. This is tracked in SOST. There are some FAXes which get failed and are to be tracked individually in SOST. We need to make a report which gets all the failed PO #s. We are not able to arrive

  • How do I back up multiple drives to one drive?

    What ever happened to the standard back up software that used to scan the volume(s) you want backed up and would then back them up to one location (back in the day it was tapes) then would update changes to the backup for subsequent backups after the

  • How to set up logical components for ChaRM?

    Hi, we do have the following system landscape. One DEV and two separate QA and PROD systems. DEV-> >QA1  -> PROD1 >QA2  -> PROD2 For these we want to transport parallel from DEV to QA1/QA2 and then parallel to PROD1/PROD2 via ChaRM. My questions are:

  • Repair or Change Motherboard

    Hi, I've got a Lenovo 3000 N200 0769-AH9 Laptop with a T9300 Penryn-CPU and broke my Mainboard(CPU-Cooler doesn't work any more).  I saw a Mainboard for 150 €, which is very cheap, as there are no replacement mainboards to buy under 400€. I would buy

  • How to upload company code data related to Company Code BP01?

    How to upload company code data related to Company Code BP01 FOR CIN?