Home > Tricks & Tips > Expand the status notification bar

Expand the status notification bar

This is a really nice trick.

If you’ve ever tried some Launcher like: ADW Launcher, Go Launcher EX….you may pay attention that when you fling down on Home screen, it will scroll down the status notification bar.

Here what it  looks like..in my phone while scrolling down if you can’t imagine what I’m talking about.

Expand Status Bar

Expand Status Bar

About the implementation:

Object service  = getSystemService("statusbar");
Class<?> statusbarManager = Class.forName("android.app.StatusBarManager");
Method expand = statusbarManager.getMethod("expand");

Also you need to add a required permission, that is: "android.permission.EXPAND_STATUS_BAR"

Happy coding!


Pete Houston

  1. hanoun
    April 20, 2012 at 9:18 pm

    Hello, can you help in comparing two images?
    i insert image as byte in db and when i try to compare it with one in image view /or in drawble they give me wrong result?(Bimap.equls(bitmap),encodeBase64)..
    Caan you give a method that can i compare images?
    i need it urgent?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: