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 Developer
ridvanbaluyos
Posts: 6
Registered: ‎02-09-2010
My Device: Curve 8300
Accepted Solution

Show Network Signal, Battery Life, and Time

Hi, 

 

I seem can't find this in the forums. But is there anyway how I can show the Network Signal, Battery Life, and Time in the screen?

 

TIA.

 

Ridvan

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Show Network Signal, Battery Life, and Time

you can obtain these information from the DeviceInfo or RadioInfo class.

there is no component to display them, you have to do it yourself, for example using an own field and direct drawing with the graphics class.

 

 

----------------------------------------------------------
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
Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Show Network Signal, Battery Life, and Time

lets see if the attachment works, its an old sample by jonathan, his site is long gone unfortunately.

i think it needs some added code to cancel the timer onUnexposed and restart it onExposed.

----------------------------------------------------------
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 Developer
ridvanbaluyos
Posts: 6
Registered: ‎02-09-2010
My Device: Curve 8300

Re: Show Network Signal, Battery Life, and Time

thanks simon! exactly what i needed. :smileyhappy: