Sony Mobile has opened up its API for the illumination bar found in a number of Xperia devices including the recently launched Xperia SP. The “experimental API” as Sony calls it, will allow developers the chance to utilise the bar’s functionality in apps and/or custom ROMs. However, Sony is providing no support for the API and it will only come with limited documentation.
Sony plans to introduce other “experimental API’s” if there is enough demand from the community. API’s under this badge will not come with full documentation or support but will be targeted to those niche developers who like to experiment with some of Sony’s features.
The API will give developers control of the LED illumination bar to change the colour, the frequency of pulses as well as various pre-defined fading patterns. It can also be used to illuminate to a beat in the Xperia SP’s music player. See a full list of supported phones below.
Supported phones
The following phones are fully supported by the Illumination bar API:
Xperia SP
Xperia ZL
Xperia ZR
Xperia UL
Xperia A
The following phones are also supported by the Illumination bar API, but the support for the pre-defined fading patterns is less extensive on these devices:
Xperia U
Xperia L
Xperia S (only white colour supported)
Xperia SL
Xperia P (only white colour supported)
Xperia sola
Xperia ion
Xperia acro HD
Xperia go
Xperia M
Xperia M dual
Via Sony Mobile Developer World.