(keitai-l) Re: T720 Sound API

From: dc <dc_at_gamelet.com>
Date: 07/29/03
Message-ID: <MJEJICKIOHLOGHNJOPGJOEKADDAA.dc@gamelet.com>
 
> Could anyone please tell me where I'm able to find API 
> information for T720?



all the docs come with the dev kit you can get from motos dev site 
www.motocoder.com
(run by metrowerks)

> I also would like to know if it is possible to create a sound for T720.
> Any suggestions and help would be appreciated.
> Thank you.

T720 is midp 1.0
the T720 doesnt support many MOT or APIs outside midp1.0
except the LWT (lightweight windowing toolkit). some of their older
phones played MIDI but the 720 doesn't afaik.

but wait! you can play an alert sound!

playSound

public boolean playSound(Display display)

Alert the user by playing the sound for this AlertType. The AlertType
instance is used as a hint by the device to generate an appropriate
sound. Instances other than those predefined above may be ignored. The
actual sound made by the device, if any, is determined by the device.
The device may ignore the request, use the same sound for several
AlertTypes or use any other means suitable to alert the user.

Parameters:
    display - to which the AlertType's sound should be played

Returns:
    true if the user was alerted, false otherwise

Throws:
NullPointerException - if display is null

> 
> Nao
> 
> This mail was sent to address dc@gamelet.com
> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ 
> 
> 

-- 
david 'dc' collier
dc@gamelet.com
Received on Tue Jul 29 17:27:42 2003