Hi all, sorry my english :P
I want to create on player in a classic way
InputStream is= getClass().getResourceAsStream("/sound.mid");
Player p = Manager.createPlayer(is, "audio/midi");
And it works fine in all phones, but for some nokia phones 6131..6234, the aplication crush. But I dont get any kind of exception, it just crush in the createPlayer line.
Debugging whit netbeans, whit WTK emulator and watching the imputstream I get something like this:
+is
....handle | int | 0
....pos | int | 0
....size | int | 9342
....name | String | sonido.mid
+ inherited
....lookahead | int | -1
....moreToRead | int | -1
but whit Nokia S40 5th edition emulator i got this:
+is
....dz | | null
....pos | int | 0
....size | int | 9342
....mark | int | 0
Why are they differents?
I Belive this field "dz" is wrong.. but I dont know why
Like I said, I dont get any Exception, the emulator and the phone just crush..
I test the same version on N70 device and its work fine.
Could somebody helpme whit this?
Again, sorry my english
and... THANKS!!


Reply With Quote


