Determine notification bar height from a service

by Vitaliy » Sat, 19 Jun 2010 03:12:35 GMT

Sponsored Links

The application I'm working on is a service which runs in the
The problem is that I need to determine the height of the notification
bar for some functionality of the service.

I found a number of solutions for this, for regular activities - a
view inside an activity can determine its own height without the
notification bar, based on for example checking its actual view size
from its onSizeChanged event, after it is already drawn. However, this
is not applicable to a service which has no physical view drawn,
nor directly related applications.

I would really appreciate any ideas on getting the size of the
notification bar!
Perhaps at a system level API?

Thanks so much!



Other Threads

1. Developer Challenge closing time.

Do any of you know at which exact time submissions are no longer
accepted? It says August 31:th on the site, does that mean that we've
got the entire day of the 31:st to send in our apps?
I could use every last second for polishing :)


2. My ADC2 entry is not complete yet Can I submit Upgrade.

hi ,
My ADC2 entery is not yet complete can I submit upgrade later and what
will be the deadline for that upgrade submission . as i did submit my
incomplete entry but have to upgradge it before Judging I can see the
upgrade option but my question is what is the deadline for that
upgrade ?


3. Using dom4j in Eclipse

4. MMS manager

5. browser failed because of "Failed to find provider info"

6. Listview populate with Xml file

7. How to update the UI from service