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. m-gadget 1.0 release

m-gadget, review gadget android apps,
update content daily..

bagi yg berminat silahkan dicoba.. :)



2. Ticker

Hi there,

I follow the codes in the link below and Ticker doesn't work. I can't
find ticker interface or anything about ticker in the reference at
Android Reference. Please help!,3

Thank youv ery much.


3. Increment field Via Content Values?

4. Android+Google Docs

5. Google representation on the lists

6. Global Variable extended Application Class causing ClassCastException

7. Unhandled algorithm md5 requested