If I were making a lightweight API, I would leave out the ‘String filename’ constructor.
My exact question is: the constructor has only one parameter? Is it for sure that it works with mmf file type?
yes, yes.
This can’t be, I tried it this way and it gives me an “unexpected error” on the phone, and the byte[] is created correctly cause I verified it.
I think the play(int) function is the problem; I didn’t call it now and it didn’t show the “unexpected error” anymore.
hmm, perhaps a boolean return type to indicate if the playback was successful or not would be useful ;D (sorry :S)
boolean play(int loop)
loop==0, play once
loop!=0, loop forever
10X, I’ll see if it works this way
YEEEEYYYY
Thanks a lot man, you made a man happy to heaven
Would a BenQ phone get upset if I asked too many questions??? Cause I’d also like to find out if it has a method for full screen work, with the possibility of still being able to use the soft keys.
I work on a game and it throws this exception when calling RecordStore.openRecordStore(filename, true): javax.microedition.rms.RecordStoreException: error opening record store file.
Could anyone tell me how to resolve this problem please? I need an answer really urgent!!! :-\
check your PMs