ShortMidiEvent on Nokia phones', does it work?

Hello,
I am trying to send MIDI events on a Nokia series 40 phone.
I tried a little example: it works on the sun emulator
but it's mute on the phone...
(I am quite sure I can send midi notes on on the phone synth:
I've installed Midedit, a free midlet sequencer, and it works pretty well)
see link to the complete app, ready for wtk:
http://www.bad-sector.com/upload/JavaMidiTest.zip
or just take a look at the startApp method:
MIDIControl synth = null;
          Display.getDisplay(this).setCurrent(mMainForm);
          try{
               Player p = Manager.createPlayer(Manager.MIDI_DEVICE_LOCATOR);
               p.realize();
               p.prefetch();
               synth = (MIDIControl)p.getControl("javax.microedition.media.control.MIDIControl");
          catch (Exception e) {
          if (synth != null){
               try{
                    synth.shortMidiEvent(144,60,127);// c3 note on channel 1
               catch (Exception e) {
          }any helps?
thanx

Its a long time since the question appeared, but in case anybody is interested here is a hint.
You should assign an instrument to your channel 1 first.
synth.setProgram(1, -1, 65); // Channel 1 gets Soprano Sax.

Similar Messages

  • I was trying to update and sync my iphone 4, the process stopped, now the phone does not work and itunes appears not to "see" the phone? suggestions?

    I was trying to sync and update my phone with ITunes, about 5 minutes into the process everything stopped.  Now the phone does not work, it will not turn on or off, the screen of the phone shows the Apple Logo and a straight line.  ITunes seems to not "see" the phone.  Suggestions??

    http://support.apple.com/kb/HT3965

  • How do I close programs in IOS7.  The old way with double tapping the button and getting the red X does not work.  Even rebooting the phone does not work.

    How do I close programs with IOS 7?  The old way of closing programs by double tapping on the button, holding down an icon until it started shaking and a red X appears does not work.  Every program I opened appears.  Turning on and off the phone does nopt work.

    I just found out.  Above the icon is a copy of the open page of the program(s).  You slide the pages up to close.

  • Nokia store does not working on c7

    hi, after i formated my nokia c7, nokia store does not working. Is anyone else having same problem??

    Install THIS and give it a go ... To download, you need to log-in using the SAME credentials that you use on this Forum ...

  • My Nokia N9 does not work properly with a camera a...

    Hi guys! Some time ago I noticed that when I turn on the camera, a message appears "CAMERA NOT RESPONDING Close application?". Shortly after the camera is turned on. Almost is the same with the maps apllication. The message is "MAPS NOT RESPONDING Close application?", but the difference is that it does not work at all. Has anyone had such problem?

    Thanks aspergerduy! Of course it was the first step which I made, but unfortunately it did not work. Anyhow, I read some discussion in the Forum and finally I fixed the problem. It seems that the problem is well known. Now my N9 works but I don't know how long it will be. Frankly speaking during reading the discussions I didn't expect so many problems incur by this phone set! It is so pity ...

  • Updated and synced i-phone today, now all it wants to do is restore, i-phone does'nt work now, and since 8.30 this morning I have disconnected, reconnected, reset the i-phone, went into restore several times now and it just stick on restoring

    I updated the i-phone on i-tunes this morning, and since then it has not worked, I have reset the phone, but still wants to restore settings/software. I have done this several times now since 8.30 this morning, the phone as it stands now is fubarred!!!!, until I can restore the software/settings etc.. All i-tunes does is says is restoring but the progress bar is going nowhere, some one please help!!!!!, as I am close to throwing this phone in the bin!!!!.....I have searched the common causes apple site is useless as the reset does'nt work and neither does restoring!!!!

    See Here..
    Unable to Update or Restore
    http://support.apple.com/kb/HT1808
    This will not necessarily work if the Device has been modified...

  • Phone does not work - Help

    we moved our phone  we need help because it does not work when we reconnect... Comcast phone call disconnected twice from my cell phone. And now it rings busy - phone number 800-934-6489 and 800-266-2278. We called again from another cell phone and are not being connected to an agent after 3 minutes.

    herbiep wrote:
    I have tried all day to reach Comcast.  I guess they are getting a dose of their own bad service.  No phones working.Online chat is usually faster than the phone queue....you can do this here:  https://www.comcastsupport.com/ChatEntry/Protected.aspx

  • Samsung galaxy s3 - updated to KK. Now email on phone does not work. Email worked perfectly prior to s/w update. What do i need to do to get email to function again?

    samsung galaxy s3 - updated to KK yesterday. Now email on phone does not receive messages. Email worked perfectly prior to s/w update. Have turned sync on and off - no change. Nothing has changed w/ email settings either. What needs to be done to get email to function properly again?

        raadga Emails are important! Let's get your Comcast account working again. Go to the email account then select the menu for settings. If "sync only over wifi" is on then uncheck the box. If this is not an option, then you would want to delete and readd the email account to the phone. Please keep us posted.
    Sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • Nokia maps does not work off line

    Nokia Maps doesn't work off line but Nokia Drive does on my Lumia 900). Anybody knows why?
    Solved!
    Go to Solution.

    Nokia Drive can use offline maps on WP7.x devices, not Nokia Maps 
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • HT201401 iphone display is stuck in landscape mode in messaging window? how do I fix?  Turning phone does not work

    iphone display is stuck in landscape mode in messaging window? how do I fix?  Turning phone does not work

    issue solved, i turned off phone and then on again and all is well

  • After that I connect my Iphone 4 to the computer for syncronization the phone does not working and it is not possible to connect to i-tunes . On the screen on Iphone it is just an apple and a small frame benite the apple

    After that i connected my iphone to a computer there was some errors and the phone stopped to work and there is just an apple on the screen on the phone and when I connect to i-tunes it is not any phone connected

    Unable to Update or Restore
    http://support.apple.com/kb/HT1808
    iPhone, iPad, or iPod touch not appearing in iTunes
    http://www.apple.com/support/itunes/troubleshooting/

  • Lock/Unlock button on top of the phone does not work

    Lock/Unlock button on top of the phone does not work

    So what would you like us other users to to about it?  Do you really need us to tell you to bring the phone to Apple for  replacement?  If outside the warranty period, you'll pay $269 for the replacement.

  • Nokia 6120 does not work on Vodafone live!

    I purchased the Nokia 6120 classic from the Nokia shop in Slough 2 months ago.
    I was informed by the sales representative that I would be able to use all the functionality on the handset – just as if I had purchased it directly from Vodafone!
    2 months later I am still unable to connect to Vodafone live. This is because the 6120 is currently an unbranded Vodafone Live handset! Vodafone live is in text format only!
    Because the handset is unbranded in the UK – I am unable to use services such as Sky TV, Vodafone mobile TV, Slingmedia, etc, etc.
    That’s the last time I jump the gun – next time I’ll wait for Vodafone to support the handset before I purchase.
    Not impressed Nokia shop in Slough!!!!!
    “Good things come to those who wait”

    It's not as simple as buying a sandwich.
    The phone is fully compatible with vodafone, it's vodafone live that is not compatible with the phone.
    Just because he's a manager does not mean that he will know everything about every network. He probably gave you the answer that he had been lead to believe, and the answer is, yes the 6120 classic is fully compatible with vodafone, which is true.
    It doesn't matter how many times you ask, he can only tell you what he knows. They sell sim free phones, not voda branded phones. It's your job to test it as soon as you've bought it.
    If I go into a shop and ask a question about an electronic item I will accept their answer, do my research on the net and buy the product. If it turns out the information is incorrect I will return it.
    If you had used google as I suggested in my very first post you would have found that there is a way to get voda live fully working on your phone.
    Message Edited by psychomania on 11-Jan-2008 04:08 PM

  • My nokia phone does not support default code 12345...

    Plz help me

    Hi Baliyan4044,
    Welcome to Nokia Discussions.
    If the default code doesn't work it will have been changed at some point. If you can't remember it, please visit a Nokia Care Point where the phone can get reset. If there's no Care Point in your country, please contact your Care line. You can find your nearest Care Point and country's Nokia Care number here.
    Iris9290 
    If my post has helped you in any way, please accept it as a solution or click on the white star, so that other users will be able to benefit from it too.

  • Buying a Nokia 5800, does it work in Europe?

    Hi..
    Im living in the US now and for 4 months more. I need a new phone and was thinking about the Nokia 5800. My question is, if I buy it here in the US, will it work when I move back to Sweden? And do you know if there is any way to get swedish language on a US bought Nokia 5800?
    Thank you!

    It will work as a GSM phone worldwide but it will not work on 3G networks in many countries outside of the US and certainly not in Europe.
    Your warranty will only be valid in the US too.
    Nokia care points can add languages for a small fee, thats the only way.

Maybe you are looking for

  • Java.lang.NullPointerException in MQ adapter in Production Environment

    Hi, My Process like Send the request to ResultsAAA or ResultsBBB (MQ queue) and Dequeue the msg req from the queue(ResultsAAA OR ResultsBBB) basing on the request request goes to either ResultsAAA or ResultsBBB and executing the bpel and we are confi

  • I can hear the music from itunes on my computer but not on my ipod

    I purchased a new ipod nano today and unable to hear the music on it I am showing songs on the ipod so appears it synced ok. When I play the songs in itunes on my computer I can hear them but not through the earphones on ipod Any help would be apprec

  • IWeb not seeing .Mac web galleries

    I just bought Aperture 2.0 in favor of iPhoto. I published a .Mac web gallery via Aperture 2.0 to my .Mac gallery, and fired up iWeb to reference the gallery, but Insert > .Mac Web Gallery shows "No albums or movies available". The web gallery works

  • Locking fields on save

    Hi there, I need to create a simple interactive form for my company. The form contains a few free-text fields and drop-down boxes. The only logic involved will be A) some fields being visible or invisible based on previous selections and B) once the

  • Changing my phone number on Unlimited Plan.

    So I read about the pro-rated amounts and stuff when changing your phone number. So I was wondering what gets affected if you are still on an Unlimited plan. I have Unlimited Text and Data but limited minutes that I don't use anyway.