Skip navigation.
Home

J2ME Tips

We have good news for people who record or transfer voice on not-strong machines and/or a small bandwidth (like bluetooth ;) ). If U use wav or PCM, Quality is good, but the size of voice is large, So, when you transfer it into MANET (Mobile Ad-hoc networks), it will take a large time. But if U use AMR, Quality is less good, but the size is compressed into approximately 1/10 of wav size. P.S. For people who don't know about AMR AMR stands for "Adaptive Multi Rate" :) AMR is an audio codec for very low bit rates, which was standardised by the European Telecommunications Standards Institute (ETSI) in 1999. For people who using MMAPI's in Java, as we tested today, you cannot use else one player at a time; If you want to use multi-players, you can allocate then deallocate in sequence (TESTED!)

but you can create it

That's right we can't use more than one player (also RecordControl) but I think we could create more than one player.

Can you explain in

Can you explain in details? -------------%%% __Ahmed Hashim__%%%

Well,

Well, I mean it is possible to create more than one player but without starting all of them. Only one should be started.The question is: Is there a real need for that (I mean creating without using)? The answer is : Yes, as each player has a limit. and creating another player during the runtime causes noticable delay. Also deallocationg a player causes noticable delay. So as a solution for this problem, you could assume a number for the needed players and then create them before begining recording then use them when needed. I hope that I clarified, if not just tell me.

Just a small comment, AMR

Just a small comment, AMR sometimes make a Strange behaviour, sometimes it work some times no!! I don't know the problem in the capability of the device or on the format itself, but the results I got is that it didn't usually work.