| Reply | « Previous Thread | Next Thread » |
|
Hi!
I wrote this code, to play a midi song while my application runs: public void startApp() { display = Display.getDisplay(this);} The "Reproductor" method "run" is like this: public void run(){ try { InputStream in = this.getClass().getResourceAsStream("/res/pp.mid");} My problem is that in the emulator runs correctly, but in my phone appears the splash screen, and the menu list, but the midi don't sound! If I don't use threads, and copy/paste the code of the "Reproductor" class below the "new PantPresentacion(display, miInterfaz);" line doesn't work either. Why? |
|
Hi,
On which phone r u testing ur application?? Please check whether the sound setting for application is on. while on the phone does it throw any exception?? Regards, Wang |
|
I'm using a Nokia 6630. If I Start the midi in the first menu list, the midi plays, but if I enter in some option of the menu, then I can't ear nothing, and if I return to the 1ºst menu, then the midi starts from the first note.
If I start the player in the startApp, I can ear one note, and later nothing, for that reason I use a Thread, that execute the player at the same time that the application, but I can't ear nothing :( only if I copy paste the code of the "run" method below the code that creates the 1ºst menu. Thank you a lot! |
|
I've tested the application in a Qtek and in a motorola v3, and works fine, but in the nokia doesn't :( WHY?
|
|
Hi,
I’m a newcomer to the “Java universe” and therefore in this forum too. I’m currently learning Java ME (after becoming Sun Certified Java Programme past year) Since a few weeks, I try to get a solid overview around Java ME … So I use also Nokia 6630 mobile device and try to learn developing Java applications for it. I try to give you an idea (maybe wrong!): It seems, your MIDlet on Nokia 6630 encounters the mentioned problem within scope of your UI.-code. Nokia Series 60 SDKs include “Nokia UI APIs”. May be it’s a useful indication (because your MIDlet runs on devices of other vendors)! If you in a new project (using your current code) make use of Nokia UI APIs and test the new distribution jar on 6630, y<ou may get the target result also for Nokia device. I hope so… bye AskiToday |
|
ok, but I tried compiling my project under the s60 platform, and the app runs exactly :(
|
|
Hi,
No help here, sorry!! But... at JavaOne this year, Nokia demo next release of Carbide.j. Next release of Carbide.j, version 1.5 that will support remote debugging on the phones. It look nice and it is very good to have in this situations. - ove |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Anyone with a nokia 3330? Can anyone help me to copy phone memory to the sim? | pabmania | General Discussion | 1 | 2006-10-29 23:34 |
| How to initiate a GPRS connection to the mobile phone from a remote server? | VigenIssahhanjan | Symbian Networking & Messaging | 2 | 2004-11-22 09:50 |
| 7610 Contacts - Formatted Phone Numbers | padlon | General Discussion | 2 | 2004-11-12 19:02 |
| App. runs OK on emulators, failed on phone. | rex567 | Mobile Java General | 1 | 2004-09-20 02:53 |
| Phone Lock-Up Using Bluetooth (requires battery pull!!) | cyberabi | Bluetooth Technology | 1 | 2003-05-05 19:40 |