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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
ridvanbaluyos
Posts: 6
Registered: ‎02-09-2010
My Carrier: SMART Communications Philippines
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

Please use plain text.
Developer
simon_hain
Posts: 13,830
Registered: ‎07-29-2008
My Carrier: O2 Germany

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
Please use plain text.
Developer
simon_hain
Posts: 13,830
Registered: ‎07-29-2008
My Carrier: O2 Germany

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
Please use plain text.
New Developer
ridvanbaluyos
Posts: 6
Registered: ‎02-09-2010
My Carrier: SMART Communications Philippines

Re: Show Network Signal, Battery Life, and Time

thanks simon! exactly what i needed. :smileyhappy:

Please use plain text.