Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-30-2009 03:11 AM
Presently MainScreen Title's background color is Black and foreground color is White.
But when we use custom theme then it may have different color for background and foreground.
Hence I need to fetch those color properties from MainScreen's Title.
How can I achieve this?
Solved! Go to Solution.
04-30-2009 03:22 AM
I think you want to color your application according to the background and foreground color! Override the paint method of the main screen and use graphics instance to call getColor( ) and getBackgroundColor( ) .. Save it to integer variables and use it wherever you need..
04-30-2009 03:26 AM
04-30-2009 03:32 AM
As far as this thing is concerned, I don't think there is an API to do this .. I surfed into Screen, FullScreen, MainScreen and didn't find any appropriate.. Also in to Managers..
And I also personally think that this is needless for RIM to expose it ..
04-30-2009 04:06 AM
Yes, before posting I too searched in the api's. But, cannot found anything relevant. Hence I doubt whether any API is there or not. So, I posted to confirm it.
Sometimes I may try to be perfectionist.