Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 9
Registered: ‎06-29-2010
My Device: 8900
My Carrier: Vodafone

getBatteryTemperature()

In getBatteryTemperature() there they given temperature but i  not know that they temperature changed every time ?

pls reply me.

Developer
Posts: 16,987
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: getBatteryTemperature()

only http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/system/DeviceInfo.html#BSTAT_T... or http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/system/DeviceInfo.html#BSTAT_T... are available in http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/system/SystemListener.html#bat...(int)

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 9
Registered: ‎06-29-2010
My Device: 8900
My Carrier: Vodafone

getBatteryTemperature()

I using this function but there problem that  they are not given current Temperature so help me .They have static.

Developer
Posts: 16,987
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: getBatteryTemperature()

there is no other way. you could poll the value periodically, but no listener for the temperature

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter