Archived

This topic is now archived and is closed to further replies.

rizwanahmed24

sound in MIDP1.0??

Recommended Posts

rizwanahmed24    122
hi i want to develop a gaming engine, i have decided to use MIDP 1.0 for this instead of MIDP 2.0. i want to implement those classes myself which MIDP 2.0 provides us like SPRITE,TILED LAYER , PLAYER and other classes which relates to Sound and graphics. plz tell me that can i implement these classes on my own, i have done little work in J2ME before and i have no idea how i CAN i implement classes like "PLAYER", "PLAYER LISTNER" which are for sound, AND if there was no support for sound in MIDP 1.0 then how the games built on MIDP 1.0 have sound support, did their sound was mobile specific, was there no cross compability across different mobiles. bye

Share this post


Link to post
Share on other sites
Sneftel    1788
There''s no native sound support in J2ME 1.0. However, various manufacturers have addon APIs that support sound. For instance, the Nokias have the com.nokia.mid.sound package.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Also check out JSR135 extension to MIDP1.0

Some phones support theses extensions, and (should) be upwards compatible to MIDP2.0

Other than that, it''s device specific extensions for sound implementation.
Also be wary of limitations the manufacturers may have built into the phones.
For example, Nokia series 40 phones do not allow java to access any of the sound capabilities of the phone except for the most basic, monophonic bytecode ringtones.
(which don''t really work on the emulators, BTW)

It is a world of pain.
Enjoy

Share this post


Link to post
Share on other sites