[Q] hiding notification bar. (Noob) - Java for Android App Development

I need to make an app that hides my notification bar and shows it when i need it.
How can i make the app with AIDE or eclipse?!
I know how to make an app but i dont know how to make a usefull background app.
I would need help how it is done.
Any help is appreciated.
Tried googling about apps that show ui etc. etc.
2hrs no answers. Im really bad with googling.

Fatsodonkey said:
I need to make an app that hides my notification bar and shows it when i need it.
How can i make the app with AIDE or eclipse?!
I know how to make an app but i dont know how to make a usefull background app.
I would need help how it is done.
Any help is appreciated.
Tried googling about apps that show ui etc. etc.
2hrs no answers. Im really bad with googling.
Click to expand...
Click to collapse
Well, I think that this is simply not possible.
You can hide the notification bar in your app but you cannot do this while other apps are in the foreground. You would need to use a custom ROM for that.
However, what would probably be possible is creating an overlay which is shown on top of the notification bar. Nevertheless apps will not be fullscreen, just your overlay will be displayed instead of the notification bar. (If you want to do this, have a look at the RoundR sources on github.) I do not think that this is what you want.
Modifiying the system UI from an app is not possible!
(And it is good that it is not. What would you say if an app removes your notification bar without your agreement? )

nikwen said:
Well, I think that this is simply not possible.
You can hide the notification bar in your app but you cannot do this while other apps are in the foreground. You would need to use a custom ROM for that.
However, what would probably be possible is creating an overlay which is shown on top of the notification bar. Nevertheless apps will not be fullscreen, just your overlay will be displayed instead of the notification bar. (If you want to do this, have a look at the RoundR sources on github.) I do not think that this is what you want.
Modifiying the system UI from an app is not possible!
(And it is good that it is not. What would you say if an app removes your notification bar without your agreement? )
Click to expand...
Click to collapse
I understand what you are saying.
But how is Smart Statusbar done?!
http://www.xda-developers.com/android/smart-statusbar-gives-you-easy-statusbar-access-in-full-screen-apps/
Im trying to create a similar but more simplistic.

Fatsodonkey said:
I understand what you are saying.
But how is Smart Statusbar done?!
http://www.xda-developers.com/android/smart-statusbar-gives-you-easy-statusbar-access-in-full-screen-apps/
Im trying to create a similar but more simplistic.
Click to expand...
Click to collapse
Looks like the dev is really clever. :good:
I have got an idea how he could have done it:
Create an overlay on the screen (look at some souce at github: https://github.com/MohammadAdib/RoundR , https://github.com/sukso96100/SidePanel)
If it is clicked, launch a transparent activity with this attribute in Android manifest: android:theme="@android:style/Theme.NoTitleBar"
After some time or after a click on the screen close it.
(No need for the status bar permission. It seems to be a one created by himselft.)
I think that this should work.

nikwen said:
Looks like the dev is really clever. :good:
I have got an idea how he could have done it:
Create an overlay on the screen (look at some souce at github: https://github.com/MohammadAdib/RoundR , https://github.com/sukso96100/SidePanel)
If it is clicked, launch a transparent activity with this attribute in Android manifest: android:theme="@android:style/Theme.NoTitleBar"
After some time or after a click on the screen close it.
(No need for the status bar permission. It seems to be a one created by himselft.)
I think that this should work.
Click to expand...
Click to collapse
Thank´s!
I´ll try this!

Fatsodonkey said:
Thank´s!
I´ll try this!
Click to expand...
Click to collapse
You're welcome.
Good luck! :good:

There is fullscreen mode, gallery and some other apps use it

GR0S said:
There is fullscreen mode, gallery and some other apps use it
Click to expand...
Click to collapse
Yes, but you cannot tell the system how other apps should be shown.

Related

HD2 Android gurus. Is it possible to change folder icon?

Is it possible to change folder icon from the default "folder" looking icon to something else? Is there an icon app? Thanks.
metamorph can change things like that. there is also another program i just forgot the name at the moment.
check out the evo forums a lot of the stuff they use we can use.
hazard99 said:
metamorph can change things like that. there is also another program i just forgot the name at the moment.
check out the evo forums a lot of the stuff they use we can use.
Click to expand...
Click to collapse
Thanks. I will check it out.
Solution found guys. There is an app on Market called "Folder Organiser Lite". Got everything customized through that app. Hope this helps those that were in my shoes.
I believe it only change shortcut icons, every icons in app drawer still the same.
justwonder said:
I believe it only change shortcut icons, every icons in app drawer still the same.
Click to expand...
Click to collapse
You create "Labels" which equate to folders and then add apps to that label/Folder and assign an icon to that label/folder. Worked for me.

[Q] Prevent hiding status bar ?

hi,
how to prevent the hiding of the status bar in games etc ?? (fullscreen..)
I'm not lookingfor an app which can make it to reappear
thanks !
aLeda said:
hi,
how to prevent the hiding of the status bar in games etc ?? (fullscreen..)
I'm not lookingfor an app which can make it to reappear
thanks !
Click to expand...
Click to collapse
People are you usually trying to give the game/app onscreen more importance. ParanoidAndroid and CyanogenMod both hide the navigation bar too now. You are definitely going in the opposite direction. I have never heard of an app that would make it reappear, why you would you want it too?
hhairplane said:
People are you usually trying to give the game/app onscreen more importance. ParanoidAndroid and CyanogenMod both hide the navigation bar too now. You are definitely going in the opposite direction. I have never heard of an app that would make it reappear, why you would you want it too?
Click to expand...
Click to collapse
ah ... :/
it(s nice to don't miss notifications, get infos fasters like the time etc...
aLeda said:
ah ... :/
it(s nice to don't miss notifications, get infos fasters like the time etc...
Click to expand...
Click to collapse
i know what u mean, for specific apps that doesn't need to go full screen it would be nice to show status bar
someone should make an app that allow you to manually enables/disables status bar in specific apps would be great
joshtrader said:
i know what u mean, for specific apps that doesn't need to go full screen it would be nice to show status bar
someone should make an app that allow you to manually enables/disables status bar in specific apps would be great
Click to expand...
Click to collapse
yes this would be great, or an app that simply prevent hiding stat bar
(sorry for my english)
aLeda said:
yes this would be great, or an app that simply prevent hiding stat bar
(sorry for my english)
Click to expand...
Click to collapse
ParanoidAndroid may have that option, since they have the option to force full screen.
joshtrader said:
i know what u mean, for specific apps that doesn't need to go full screen it would be nice to show status bar
someone should make an app that allow you to manually enables/disables status bar in specific apps would be great
Click to expand...
Click to collapse
In synergies codefire SR15 it is impemented.
If you drop town the upper side of the screen twice in fullscreen, you are able to access into the statusbar.
I really love it, because im always able to use fullscreen and have access to the statusbar.
Sent from my Nexus 4 using Tapatalk 2

[Q] Beans ROM

Anyone know whether Beans' ROM (or stock, for that matter) is capable of disabling/hiding the notification toggles entirely? I'd inquire within his thread, but not permitted to because it's for devs only...
No, I don't see anything like that.
pcss911 said:
Anyone know whether Beans' ROM (or stock, for that matter) is capable of disabling/hiding the notification toggles entirely? ...
Click to expand...
Click to collapse
Not sure I totally understand the question, but you can hide the status/notification bar easy enough if you use Nova Launcher??
pcss911 said:
Anyone know whether Beans' ROM (or stock, for that matter) is capable of disabling/hiding the notification toggles entirely? I'd inquire within his thread, but not permitted to because it's for devs only...
Click to expand...
Click to collapse
If you use Exposed, there is a module called NotifyClean that will hide what ever you want.
jmorton10 said:
Not sure I totally understand the question, but you can hide the status/notification bar easy enough if you use Nova Launcher??
Click to expand...
Click to collapse
Thank you, but to clarify, what I was talking about was within the notification pull-down, at the top there is normally a row of toggles with items such as wifi on/off, bluetooth on/off, etc. While I realize that you can customize the order of the items that appear within this bar, as well as which items display, I am interested in knowing whether the entire bar can be removed/hidden.
thanks
millerd79 said:
If you use Exposed, there is a module called NotifyClean that will hide what ever you want.
Click to expand...
Click to collapse
Much gratitude; I wasn't aware that existed, and that sounds like it would do the trick.
pcss911 said:
Much gratitude; I wasn't aware that existed, and that sounds like it would do the trick.
Click to expand...
Click to collapse
That only hides the notifications, not the toggles (I use it myself & it works perfect for what it's intended to do but hiding the toggles ain't it)
jmorton10 said:
That only hides the notifications, not the toggles (I use it myself & it works perfect for what it's intended to do but hiding the toggles ain't it)
Click to expand...
Click to collapse
Thanks for dashing the false hope! Back to original question: anyone? Might some other xposed module do this?
*bump* in hopes of someone knowing whether achieving this is possible (removing/hiding the toggles bar in the notification pulldown)
Message beans and ask him if it's possible. Beans is a very nice person and one hell of a dev. Just be polite and not demanding and he will probably at least respond
Sent from my SM-N900V using XDA Premium 4 mobile app

[Q] Android Icon app drawer

I am in the process of completing an android icon pack. I have all the icons complete and know how to apply each icon to their app, But I cannot find an activity for the app drawer Icon to apply my icon to. I tried DDMS but that did not show any activity when pressed. I have see many Icon packs have a custom Icon for the app drawer.
So how would I use my icon on the app drawer icon for my icon pack.
View attachment 2625769
From another thread on the same subject:
sy224048 said:
You can't change the icon, and even if you were rooted it would be very difficult. The status bar requires root to do anything with it.
Click to expand...
Click to collapse
So I'm not quite sure you can actually change it. Even Nova, one of my favorite launchers, doesn't change it from default. I think that short of writing your own ROM, you may be out of luck.
Sorry, I really wish I had a better answer than that.

[Q] Block recent apps and status bar

Hi,
I installed "One Locker" from the Play Store ( https://play.google.com/store/apps/details?id=com.mobile.onelocker ) and I noticed when I press the home button, the app don't close. Also, I can't pull down the status bar.
How is this possible without setting the app as a launcher, like many other lockscreen apps are doing?
Question is also in the following post.
Auroratic said:
Hi,
I installed "One Locker" from the Play Store ( https://play.google.com/store/apps/details?id=com.mobile.onelocker ) and I noticed when I press the home button, the app don't close. Also, I can't pull down the status bar.
How is this possible without setting the app as a launcher, like many other lockscreen apps are doing?
Click to expand...
Click to collapse
It is possible by overriding the onUserLeaveHint() method of the activity class and using the AlarmManager class. But as a security feature, the task u want to perform starts after 5 seconds. If u want to remove this delay then ull have to write ur own HomeLauncher.
OkieKokie said:
If u want to remove this delay then ull have to write ur own HomeLauncher.
Click to expand...
Click to collapse
I want to avoid that because if I use Nova launcher for example and set my lockscreen app as launcher (Nova will be opened by my app), then Nova will be in the recent apps and I really don't like this.
Auroratic said:
I want to avoid that because if I use Nova launcher for example and set my lockscreen app as launcher (Nova will be opened by my app), then Nova will be in the recent apps and I really don't like this.
Click to expand...
Click to collapse
Well can't think of any other way to do it! If u manage to find out anything then do let me know! All the best :good:
OkieKokie said:
Well can't think of any other way to do it! If u manage to find out anything then do let me know! All the best :good:
Click to expand...
Click to collapse
Hi,
I found a way to hide the launcher from the recent apps.
Please tell me more details on hide the recent app list and block the status bar from pull down.

Categories

Resources