Motorola E398 supports MIDP 2.0, but not Manager.playTone?

I am a newbie J2ME Developer who wants to write a J2ME game because of a very simple motive: to write something that runs on my Motorola E398 Mobile phone, and to impress my friends. Nice motive, Err :-P
Anyway, I was wondering:
- Is there any discussion group or forum which Motorola mobile phone developer mostly hang out at? I don't know if it's appropriate for me to ask machine specific question here.
- I wrote a simple music keyboard application using Java Wireless Tookit 2.1. The application ran fine on emulator, but failed to run on my E398 phone. I suspect that it was the following lines that cause trouble:
     try {
     Manager.playTone(ToneControl.C4, 100, 80);
     } catch (Exception ex){}
E398 supports MIDP 2.0, and MIDP 2.0 provides javax.microedition.media.* for tune playing. Then how come the above code failed?
Deecay

Sorry, here's more info:
(1) When I tried to run my application (MobilePiano) on the mobile, it started, and within 1 second, popup a message saying "Application Error" and then back to the Java app selection menu.
(2) The application WORKS under the "Run MIDP Application ...) that comes with J2ME Wireless Toolkit.
(3) the application FAILED under the "Motorola Launchpad for J2ME", which is part of the Motorola SDK v4.4.2 for J2ME (http://www.motocoder.com/motorola/pcsHome.jsp?rNum=-1001393858&node_name=SDK)
The founding (3) is important, because now I know that there's one emulator that behaves sort of consistant with my Motorola E398. I also looked into the documentation in the Motorola SDK and found one sound test sample code, and was puzzled when I found out that the sample app use the following lines to play sound:
     AlertType.ALARM.playSound(myDisplay);
     AlertType.CONFIRMATION.playSound(myDisplay);
     AlertType.ERROR.playSound(myDisplay);
     AlertType.INFO.playSound(myDisplay);
That doesn't work for the piano app I want to write.
Deecay

Similar Messages

  • WHY IS S.M.A.R.T STATUS SUPPORTED ON ATA BUS BUT NOT ON SCSI?

    I have 4 internal HD's on a G4 733 S-Drive (Digital Audio) running X.4.4
    and my question is:
    Why is S.M.A.R.T STATUS supported on the ATA bus but not on the SCSI bus?
    Is there something wrong with my computer if only 2 of the 4 internal HD's read "Verified" and the other two state "SMART STATUS NOT SUPPORTED"?
    The only reason I noticed this is because I decided to clone my main HD running X.4.2 (supported) to a larger 7200 rpm HD connected to the SCSI. My Main HD is in position one on the ATA Bus. All four internal hard drives are currently running well although the SCSI bus was a bit slower upon startup only. So I updated the cloned HD to X.4.4 and then loaded iLife '06 to the cloned drive just to make sure all runs as expected. Which it did.
    I ran apple's DU on all four internal HD's and all of them showed the green writing with No red lettering. But can someone please help me interpret the following from apple's DU on each HD which reads follows:
    Disk Description : IBM-IC35L060AVER07-0 Total Capacity : 57.3 GB (61,492,838,400 Bytes)
    Connection Bus : ATA Write Status : Read/Write
    Connection Type : Internal S.M.A.R.T. Status : Verified
    Connection ID : Device 0
    Disk Description : WDC WD1200JB-00HUA0 Total Capacity : 111.8 GB (120,034,123,776 Bytes)
    Connection Bus : ATA Write Status : Read/Write
    Connection Type : Internal S.M.A.R.T. Status : Verified
    Connection ID : Device 1
    Disk Description : ATA WDC WD1200JB-00G Media Total Capacity : 111.8 GB (120,034,123,776 Bytes)
    Connection Bus : SCSI Write Status : Read/Write
    Connection Type : External S.M.A.R.T. Status : Not Supported
    Connection ID : SCSI Target ID 0, Logical Unit 0
    Disk Description : ATA Maxtor 6Y120P0 Media Total Capacity : 114.5 GB (122,942,324,736 Bytes)
    Connection Bus : SCSI Write Status : Read/Write
    Connection Type : External S.M.A.R.T. Status : Not Supported
    Connection ID : SCSI Target ID 2, Logical Unit 0
    Thanks in Advance.
    SDMacuser

    Hi, SD!
    I haven't found anything specific on this, but I have always been under the impression that S.M.A.R.T. simply doesn't work with SCSI or externals. In my own experience, if I switch a drive from FW to my IDE bus, it reports. If I switch from the IDE bus to FW, the drive's S.M.A.R.T isn't supported.
    Other than being unable to actually run and verify S.M.A.R.T. on your SCSI or external drives, I really don't think that you need be concerned with the "not supported" message, which simply is telling you that the particular drive or bus can't run S.M.A.R.T. (man! I hate typing all those "periods"...).
    It also isn't supported on some old hard drives, even if they're connected to the IDE bus (like those 6-10 giggers I scrounge from ancient PCs that my friends and relatives junk when they finally switch and get new Macs...)
    Regards,
    Gary
    1GH DP G4 Quicksilver 2002, 400MH B&W rev.2 G3, Mac SE30   Mac OS X (10.4.2)   5G iPod, Epson 2200 & R300 & LW Select 360 Printers, Epson 3200 Scanner
    1GH DP G4 Quicksilver 2002, 400MH B&W rev.2 G3, Mac SE30   Mac OS X (10.4.2)   5G iPod, Epson 2200 & R300 & LW Select 360 Printers, Epson 3200 Scanner

  • Why OSX Lion supports Lao, Khmer, Myanmar, but not Thai???

    Quoted from the Apple's OSX Lion - over 250 new features - web,
    " Expanded language support
    Twenty new font families for document and web display of text provide support for the most common languages in the Indian subcontinent, including Bengali, Kannada, Malayalam, Oriya, Sinhala and Telugu. Devanagari, Gujarati, Gurmukhi, Urdu and Tamil have been expanded. And three new font families support Lao, Khmer and Myanmar. "
    Lao, Khmer, and Myanmar, but not Thai??  Come on, seriously, you guys in Cupertino...  No offense but Macs are sold more in Bangkok alone than those three countries combined !  not to mention iPhones, iPads, and lots of apps from App Store!  Normally we've been getting along with English-based version, but now don't cram those three while leaving out Thai.  Please don't let everyone here start thinking about discrimination agains one nation (it's pretty clear if you look on the map).  Please, seriously consider adding another one, even as a patch.
    Thanks.

    Chatchalee wrote:
    Thai support so far has limited extents; namely word-wrap particularly in Pages, grammatically checking, etc. 
    I don't remember seeing any complaints about Thai word breaking in these forums before.  OS X does include a special dictionary to try to regulate that.  See this note:
    http://support.apple.com/kb/HT1180
    I suggest you send Apple feedback with details about improvements you would like to see in that:
    http://www.apple.com/feedback/macosx.html
    Does Office for Mac have a word-breaking dictionary for Thai?  My impression is No.  I think it is mainly for that reason that Office for Mac does not even include Thai on the list of input languages it officially supports, which is listed in the Help for that app.

  • Is oracle 10.3.4 only support toplink (or eclipselink), but not hibernate?

    as captioned, is oracle weblogic 10.3.4 or 10.3.5 only support its own persistence provider, but not others like hibernate?

    Hi,
    To enable JPA 2.0 support in WLS 10.3.4, you must download and install a WebLogic Server patch 9923849
    You should download hibernate jar and place in classpath
    WebLogic Server includes a lib subdirectory, located in the domain directory, that you can use to add one or more JAR files to the WebLogic Server system classpath when servers start up. The lib subdirectory is intended for JAR files that change infrequently and are required by all or most applications deployed in the server, or by WebLogic Server itself. You can use the lib directory to store third-party utility classes that are required by all deployments in a domain. If you update a JAR in the lib directory, you must reboot all servers in the domain in order for applications to realize the change.If you need to share a JAR file or Java EE modules among several applications, use the Java EE shared library feature.
    For using hibernate as a persistence layer, you should change persistence.xml like this:
    <persistence-unit name="reviewService"
              transaction-type="JTA">
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <jta-data-source>TestDatasource</jta-data-source>
              <properties>
                   <property name="hibernate.transaction.manager_lookup_class"
                        value="org.hibernate.transaction.WeblogicTransactionManagerLookup" />
              </properties>
    </persistence-unit>
    Thanks & Regards,
    Murali.
    =============

  • Yoga 13 Supports 500gb Boot drive but not running as SATA III?

    Hi All,
    I had previously installed a 250gb Plextor drive in the second mSata slot and upgraded the RAM to 8gb in my Yoga 13 IdeaPad which I purchased early in 2013. I followed the installation instructions and guidance offered by the Community so thanks to all who posted and other than the occasional skipped heartbeat as I removed cables it went well.
    As SSD prices are now dropping I decided to try adding a Samsung 840 EVO 500gb. I was a little skeptical about taking the chance after reading the comments posted here and elswhere regarding the 256gb "ceiling" for both slots but decided "no pain, no gain" and went ahead anyhow.
    I'm happy to report ( I think) that I was able to install the drive. First, in the secondary slot and then finally, as the boot drive in the primary slot. I had originally installed it in the 2nd slot after removing the Plextor drive and leaving the original 128gb boot in place. I entered the bios and it was recognized, I saved the settings and then initialized and formatted the drive with the disk management tool. No problems.
    I then wanted to move the Plextor drive to the primary so that I would have a larger boot drive. Since the old primary was a Samsung I though I might be able to use the Samsung migration utility to clone the old boot drive to the Plextor. Following suggestions from others I put the Plextor into slot one and then put the old boot drive into an external usb3 housing.  I tried several times to boot from the old boot drive through the usb but couldn't get it to work so I reinstalled the old boot drive back into slot 1.
    Just for kicks I ran the migration utility with the Plextor attached though the usb. It didn't recognize the plextor drive but it did offer the option to clone to the 500gb in the second slot. I figured I had nothing to lose so I went for it. The clone finsihed and I then swapped the 500 gb into slot 1, put the plextor back into slot 2, started the bios, verified the drives were present and that the 500gb was the boot, and saved the changes. Presto, it booted just fine and everything appears to be ok. However...
    Went I started the Samsung performance tool it told me that my drive was not connected to a sata III controller. The performance benchmark would back that up as my read/write and iops performance are pretty poor compared to what I was hoping. I've confirmed that the Intel C216 chipset that is installed does indeed support sata III 6gbs rates but the drive doesn't seem to think so.
    There doesn't appear to be anything posted on the board about the controller or any similar issue - can anyone offer some guidance?
    Thanks,
    Paul

    Well dont worry as to whether the Tranfer Mode is Reporting you S-ATA Drive at, as the UDMA Modes do NOT apply to S-ATA Drives, so if it is Reporting UDMA-5 or UDMA-6, there is No Difference with the Transfer speeds as far as S-ATA Drives are concerned........And I would Try to Enable the RAID Option in the BIOS, If indeed you are running a RAID Array ...............Sean REILLY875

  • Flash Player 11 Supports Win 7 64, but not Vista 64?

    I use Windows Vista 64-bit, and I've been enjoying using the beta versions, and release candidate, of Flash Player 11. I've been using the 64-bit ActiveX version, and it has worked excellently with IE9 64-bit. When I found out that Flash Player 11 was finally released, I quickly went to the download page to download it. When I got there, and noticed that Vista 64 is not supported, I was very disappointed. Why would Adobe do this, when the pre-release versions work perfectly fine with Vista 64?

    download the 64-bit installer in this FAQ: http://forums.adobe.com/message/3952360
    it has direct links to the one you want...

  • MacBook Pro mid-2010 15-inch Supports Monitor at 720p but not 1080p

    Hello all,
    Systems Specs:
    MacBook Pro (15-inch, Mid 2010)
    Processor: 2.53 GHz Intel Core i5
    Memory: 4 GB 1067 MHz DDR3
    Startup Disk: Macintosh HD
    Graphics: NVIDIA GeForce GT 330M 256 MB
    I am attempting to connect my MBP to a new Asus VE278Q, 27inch 1920x1080. I use a mini-display port to HDMI monoprice cable. I can connect at 720p and the display looks fine. When I switch to 1080p the monitor flickers and turns to snow within a few seconds. My parents' 2013 MBP, using the same cable, can connect to the monitor and display perfectly.
    The technical specs for a mid-2010 MBP say that it can support  "up to 2560 by 1600 pixels on an external display." It should be able to support this monitor easily. I have also tried to connect it to a Sony 1080p TV, where it registered as black screen.
    Does anyone have any idea what is going on? Is there something wrong with my graphics card?

    Hi stan,
    Read about it here:
    http://support.apple.com/kb/TS4088

  • Managing Computers with 10.5 Server, but NOT managing Local accounts?

    I'll try my best to be clear here - I'm new to 10.5 Server and a functioning Open Directory environment! (formerly used 10.3 Server and never had the OD working).
    Environment:
    School (K-8), with old iMac G3's (10.3.9), eMacs (10.4.11) and a smattering of Mini's and iMacs (10.5.x).
    Server:
    10.5 Server, OpenDirectory and DNS appear to be working perfectly.
    User Accounts:
    Staff members have accounts for logging into sharepoints.
    No one (yet!) has server based home directories except a couple for testing.
    On each computer there is a "staff" account and a "student" account.
    These are LOCAL accounts, and do NOT have same-named accounts on the Server.
    I have bound client computers to the Server by OpenDirector
    dsconfigldap -v -f -a servername.domain.org -n configname -u diradmin -p adminpass
    Now comes the trouble;
    I have added the computers to the Workgroup Manager computers list.
    I have applied computer preference settings for the Energy Saver preferences ONLY. THey appear to have worked (managed computers slept/shut-down/started up according to the managed preference).
    NOW comes the real problem;
    The "staff" account on the managed computers is denying access to most applications on the computer!
    Note: this "Staff" account is local ONLY, and is NOT a server-hosted account.
    I have NOT tried to manage the computer preferences for applications on these computers.
    I can resolve the problem by unbinding the computer from the OD Server - but I'd prefer not to do that. I just got them all bound! And, it screws up my migration plan TOWARDS server-hosted home directories.
    I have tried managing application prefs for a COMPUTER, only to have both the STaff and Student account lose ALL of their local-only application managment settings (all of a sudden, Students can open terminal, grading programs, etc).
    I am obviously missing something!
    At this point, I'd like to back up... to NOT having my Server interfereing with the local accounts until I'm further along mapping out my migration from local-only accounts with file sharing access to Server hosted accounts and server managed preferences.
    (I will also admit I'm a bit confused about when to manage USER preferences, vs when to use managed COMPUTER preferences.).
    Tips appreciated!

    Your last question - using managed user vs. computer preferences got my attention. Mostly, I use Group managed preferences. I do use computer preferences for a laptop cart, other than that I use group preferences. Perhaps your situation calls for managing users, but using group preferences allows me to change the settings for a bunch of people all at once rather than changing settings for each user.
    In any event, check all the managed preferences for your computer level settings. And since you're using a 10.5 server, you have to check the settings for clients that are running 10.4 and earlier as well as the settings for 10.5 and later clients, as they are different.
    At the user level, if you have an OD account and a local account with the same name, the local account will determine what the user can do - I honestly don't know if managed computer prefs will override local settings, but you should look into it. This could be your problem.
    At the very least, you should avoid "testing" with systems that folks are using if you want to avoid the frustration that you are now encountering (speaking from experience i.e. similar mistakes, not preaching).

  • Network devices discovered but not managed

    SCOM 2012 R2 management group. A dedicated network monitoring resource pool consists of two MSs. These two MSs have been removed from AMSRP and other two default resource pools (AD.., Notification...) - is this correct?
    Two discovery roles:
    role1 runs on GWS1 discovered (explicitly) 5 devices and shown all "healthy". This rule was using AMSRP to monitor, but changed to the dedicated pool after it was created.
    role2 (added after the dedicated resource pool was created) runs on GWS2 discovered (explicitly) 2 devices but shown as "not monitored"
    How to find out what's wrong? (log files etc?)
    Anything need to check with the resource pool settings?
    Thanks.

    Hi,
    Do you mean that you have discovered the two network devices on your Management server, but it is not monitored.
    This issue maybe caused by the proper management pack was imported, please go through the below article to get more information about how to monitor network device by using SCOM:
    http://technet.microsoft.com/en-us/library/hh212935.aspx
    Network Monitoring using System Center Operations Manager 2012
    http://blogs.technet.com/b/rohitkochher/archive/2011/11/26/network-monitoring-using-system-center-operations-manager-2012.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Want to see substituted workitems in inbox but not Manage Substituion optio

    HI guys,
    Our users want to view the substituited workitems in the UWL. Thus, to display, we configured "Display substituted user selector" in uwl iview. However, this also displays "Manage Substituition" option in the context menu, which we do not want them to view at all. Anyway to remove this option in the context menu?
    Thanks.

    Anyone able to help on this?

  • Cannot uninstall addons, addon mager button opens web page but not manager

    why I cannot uninstall addons, tools-manage addons opens webpage to get more addons, not addon manager.
    (Firefox has lately really become less responsive and more stupid this is only an example maybe I need to switch to chrome?)

    The page that opens is just the first in a row of pages, you can tab through using left and right buttons in the top left corner (see below). Press Right once, and you will get to the page, where your installed add-ons are listed.
    Regards
    smo
    PS: If the answer has solved your problem, then mark the question as "Solved". This way you will help others in a similar situation.

  • I have a motorola s305 bluetooth that pairs with iphone but not iMac. any suggestions?

    I have a motorola s305 that pairs with iphone but not imac. I want to use with Skype. Any suggestions?

    Unpair it from the phone and try again.

  • ACL found but not expected.................

    I powered up my iMac (intel) and I got a blank white screen - up until this point it would be up and running in a second or two so this was a shock. I forced a shut down and had to restart a couple of times before I got a white screen with the apple and then it started up. I repaired permissions thinking it might need it (don't know why - nothing had changed that I know of) but I got this mess:
    ACL found but not expected on "System/Library/User Template/English.lproj/Sites".
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    ACL found but not expected on "System/Library/User Template/English.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/English.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/English.lproj/Downloads".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/MIDI Drivers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Compositions".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Input Methods".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Screen Savers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Voices".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library".
    ACL found but not expected on "System/Library/User Template/English.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/English.lproj/Music".
    ACL found but not expected on "System/Library/User Template/English.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/English.lproj/Public".
    ACL found but not expected on "Library".
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    Is this a sign of something fishy? Or not?

    It is normal for Leopard according to the guys at the Genius Bar. According to them, in disk utilities, once you run verify and then repair, everything is fine and dandy, no matter what is left written. You can run this command in the terminal and then run disk utilities and it does remove most of the lines that you see.
    :sudo chmod -R 755 /System/Library/Extensions && sudo chown -R root:wheel /System/Library/Extensions
    You must have administrative previleges to run the command. It worked for me, but not for long....

  • My ripped .mp4 movies will play in QuickTime and AppleTV 3; but not in iTunes?  Anyone else have this problem?

    I used Make MKV and Handbrake to rip 2 purchased DVDs to mp4.  Both will play on my AppleTV 3 and in QuickTime.  But in iTunes I can only can see a still-frame, and use the slider to fast-forward and rewind them.  They won't play. 
    If iTunes incorporates QuickTime into playback, I don't understand, as I can play them in QuickTime. I really didn't understand after I watched one of them on my AppleTV 3.
    Anyone else having this problem?

    What's your output settings in Handbrake?
    MP4 is a container format that can be encoded with H.264, MPEG-4, Xvid, Divx, etc. iTunes support common MP4 files but not work with all the codecs.
    Try some other settings and rerip it. H.264 is mostly recommended.

  • Droid 2 Global: OGG supported as ringtone, but not as a playable music file?

    I've been having some trouble playing .ogg music in the music player (by trouble I mean it comes back as mostly static), though Android 2.2 is supposed to support ogg natively. Motorola's site on the Droid 2 Global shows something interesting: http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/ci.DROID2-Global-US-EN.alt
    It lists ogg under supported ringtones but not under Playable formates. Huh? What gives? I've even tried different players that are supposed to support ogg on this phone but they do nothing. Is anyone else experiencing the same problem? How is it that the ringtone can play it but the player cannot, even though Android 2.2 supports the formate?

    Oh me of little faith. The replacement phone syncs both ways. I guess there must be some data corruption that persists past a hard reset.

Maybe you are looking for

  • BOM Explosion where Material Type is set to X0 to X9

    Hi All, Trust you are well. I am finishing of the detailed design for Production Planning and have come across an issue which I was wondering you might be able to help with. In my design the sales quantities plan in BI will be used as a basis for the

  • Password protect custom sites within iWeb/Sites

    I have a custom sites within iWeb/Sites in a separate folder. Is it possible to password protect this site? Thank you.

  • Validate PrePrint

    Hi experts How stop form users from printing before required fields are completed. (I have AdobeReader 9.0 and LiveCycle 8.1) I tried add "validate prePrint" code to XML source: <config xmlns="http://www.xfa.org/schema/xci/2.7/">    <agent name="desi

  • Can not download CTM 4.7.0.296.1Patch.tar

    Is there anybody who can help to fix problem on downloading "CTM 4.7.0.296.1Patch.tar" from "http://www.cisco.com/cgi-bin/tablebuild.pl/ctm-47", cause the file might be broken.

  • CD Sharing with two macbooks

    Hey, I don't really know too much about computers but hopefully someone can help me out....my mom and I are trying to upgrade our macbooks to Snow Leopard, but unfortunately my optical drive is no longer functional...however I think there is a way to