Disable click event for status bar in android - android

I want to disable the click event for status bar in android.how TO DO THIS.
Thanks in advance.

If by that you mean the notification bar then you cannot disable it. However what you can do is to make you application fullscreen and that should hide the notification bar.

I think you can't do this. Google didn't recommand to do this for security.

Related

Android how to totally disable scrolling status bar down

I am trying to disable the status bar and not allowing the user to expand it at all.
I tried a few methods and it is working good but not on resume!
On resume, if I quickly tried to expand it i could do that!
Any help!

Toggle Notification Bar programmatically Android

I want to pull down notification bar if it is not and if it is already down then want to close it programmatically.
I tried performGlobalAction(GLOBAL_ACTION_NOTIFICATIONS);
But is only bring down the notification bar does not close it.
but I want to toggle it.
I know it is possible because there are some apps that are doing this.

Implement search bar like in play store app

I want to add a search bar functionality top at the action bar like in Play Store app.
EditText should be expanded on click of the search button
How can I achieve this ?
Sorry if my question doesn't show any research effort, however i googled it & didn't find any result.
Thanks in advance
Here what I found https://github.com/Quinny898/PersistentSearch. Voice recognition is also available.
This functionality is called Action View. It allows you to embed widgets into the action bar, and the widgets will substitute the action button when you click it.
Here is the Google's tutorial on how to embed SearchView into an action bar: http://developer.android.com/guide/topics/search/search-dialog.html#UsingSearchWidget

How should I show default silent notification in status bar?

Sorry if it seems childish but I searched everywhere and I couldn't find any answer to this,
I need to show the crossed-melody ,which is shown when you use silent mode in android phones on status-bar.
Anyone can help me?
You cannot simply show a icon on the status bar!
You have to create a Notification in the Notification bar
Which will show you a Icon of your app or you can set your custom icon which will show up on the Status Bar
example
http://www.javacodegeeks.com/2013/08/android-notification-with-sound-and-icon-tutorial.html

Android status bar icon

How do I put an icon into the android status bar? I don't want any notifications to be associated with it. Just the icon and nothing more.
Thanks
The only way to put an icon in the status bar is to start a notification.
Don't know how to add them but read this on designing them.
Also, http://www.youtube.com/watch?v=e74z0_Z5QWI

Categories

Resources