Statusbar height

i have tried several ways to detect the height in android.
like

display.statusBarHeight
display.contentHeight - display.viewableContentHeight
display.screenOriginY
but they didn’t work!!

so my screen is overflow …
can somebody tell me how to detect the screensize (minus the statusbar) in android?
(by the way…in iphone there’s no problem) [import]uid: 25057 topic_id: 22806 reply_id: 322806[/import]