[Q] Block recent apps and status bar - Java for Android App Development

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.

Related

HELP:How to wipe/remove icon labels without using a app?

I wanted to remove all icon names permanently, but i don´t want to use a app like desktop visualizer, instead i would like to flash a mod or something like that. Is that possible? I am running a stock rom. Thanks.
voidvader said:
I wanted to remove all icon names permanently, but i don´t want to use a app like desktop visualizer, instead i would like to flash a mod or something like that. Is that possible? I am running a stock rom. Thanks.
Click to expand...
Click to collapse
Use Holo launcher and u can hide icon labels there easily.
samir basnet said:
Use Holo launcher and u can hide icon labels there easily.
Click to expand...
Click to collapse
Or u can use ADW ex,that launcher also have option to hide icon labels.
no bloatwares
pustinjak said:
Or u can use ADW ex,that launcher also have option to hide icon labels.
Click to expand...
Click to collapse
My idea is to not bloat my stock with launcher or apk for this. i wanted a way to edit or flash something to remove the icons names/labels from the rom. i Did not found how yet...
voidvader said:
My idea is to not bloat my stock with launcher or apk for this. i wanted a way to edit or flash something to remove the icons names/labels from the rom. i Did not found how yet...
Click to expand...
Click to collapse
To do that you would have to edit touchwiz launcher .. no easy task... use holo.. delete touchwiz.. adw ex is paid app.. you can try that too
____________________________________
Falling Doesn’t Make You a Failure, Staying Down Does

What is this widget installed?

This widget has been installed on one of my friends S4. What is it? And how do I remove it?
Notice the annoying bar to the left of the first picture. See screenshots:
re: annoying bar
IsonNick said:
This widget has been installed on one of my friends S4. What is it? And how do I remove it?
Notice the annoying bar to the left of the first picture. See screenshots:
Click to expand...
Click to collapse
That bar you are talking about is for the MULTI-WINDOW feature.
If you don't want or don't like it you can simply disable it,
Here is how, go to the phone's Settings>Display>Multi Window
Uncheck the box for the Multi Window and it will be disabled.
Good luck, have a great day!
Misterjunky said:
Here is how, go to the phone's Settings>Display>Multi Window
Uncheck the box for the Multi Window and it will be disabled.
Click to expand...
Click to collapse
I'm not sure it's the Multi Window feature. It was disable. Here's a new screenshot, with it activated. I don't get it :/
IsonNick said:
I'm not sure it's the Multi Window feature. It was disable. Here's a new screenshot, with it activated. I don't get it :/
Click to expand...
Click to collapse
Its probebly an app that you've installed.
Look through the apps that you've installed when that showed up.
Did you install any apps recently? recall the app you've installed recently and remove it?
Other way is to install and scan your phone with antivirus. Good luck
That is some kind of Push notification add-on that was installed by some application.
What I suggest is: Go to the Play Store and find an app called "Addons Detector".
Run it and let it scan the device. It will tell you what apps are using what add-ons.
Uninstall everything that uses Push Notification and Icon Ads.
Then if you want, you can uninstall Addons Detector or just keep using it every now and then (it's quite good and free!)
Simonetti2011 said:
What I suggest is: Go to the Play Store and find an app called "Addons Detector".
Click to expand...
Click to collapse
Thanks for the tip.

how do you disable the info in others screens?

As the title say, want to disable the "draw an app or widget" note on the empty screen so i can have a good full size wallpaper, thanks in advance
Gemc666 said:
As the title say, want to disable the "draw an app or widget" note on the empty screen so i can have a good full size wallpaper, thanks in advance
Click to expand...
Click to collapse
Are you talking about your home screen? If yes, then you should try using different launchers such as Apex or Nova.
tunichi01 said:
Are you talking about your home screen? If yes, then you should try using different launchers such as Apex or Nova.
Click to expand...
Click to collapse
Yeah, the home screen, so, that's the only solution? No way to remove that notification? I dont like launchers
Gemc666 said:
Yeah, the home screen, so, that's the only solution? No way to remove that notification? I dont like launchers
Click to expand...
Click to collapse
Well if you somehow find a modified LGHome.apk or an Xposed Module that removes the "drag an app.." message, then you're in luck. If the reason why you don't want to use launchers is that the icons looks different then you can easily apply this LG launcher theme so you can feel "at home"
https://play.google.com/store/apps/details?id=indie.devs.lgG2theme&hl=en

Some questions regarding BlissPop ROM

Hello everyone, i recently installed BlissPop ROM on my D-802.
I was wondering:
1) Can i remove the "Get now cards" ?
2) Can i use smaller icons like the others on bottom tray ?
Image URL: s21.postimg.org/anycthrp3/Screenshot_2015_10_29_11_44_34.png
Futhermore, were could i find stock apps like Dialer and Contacts ? Most of them listed on "G2 THEMES AND APPS" have broken links.
Hi,
1. I'm assuming that's a widget, if so, you can just long-press it and throw it to the "Remove" / "Delete" option that pops up.
2. If you're using Nova launcher, witch I guess you're using, you can go to Nova settings--> Desktop--> Icon layout and from there you can adjust the size of the icons in the desktop.
Edit: Oh and about the stock apps, here's a link to some stock lollipop apps
http://www.idroidspace.com/download-android-5-lollipop-stock-apps/
Nearly all the stock lollipop apps are there, however if you want the messenger app then just search for it at the play store, Google already published it there.
But if you meant stock LG apps, then I don't believe there is a way to use stock LG apps in an Aosp ROM such as Cyanogenmod/blisspop/AICP etc...
Have fun!
Sent from my LG-D802 using Tapatalk
Thank for your reply!
1) This is not a widget. That's why i am asking if there any way to remove it.
2) I am using the launcher which come with BlissPop ROM. Should i use Nova instead ?
I was searching for stock LG Contacts and Dialer apps because i prefer them than Google's.
I prefer LG apps over the stock as well, but sadly, I did not manage to make them work in the BlissPop ROM.
And I recommend you to use a different launcher, as he said, Nova would suffice. But I personally preffer Apex Launcher, it just fits my style a bit more. Any of these two should be able to handle your situation anyway.
eptanisioz said:
Thank for your reply!
1) This is not a widget. That's why i am asking if there any way to remove it.
2) I am using the launcher which come with BlissPop ROM. Should i use Nova instead ?
I was searching for stock LG Contacts and Dialer apps because i prefer them than Google's.
Click to expand...
Click to collapse
Yes, use Nova or Apex or whatever launcher you want, I prefer Nova. I've used so many launcher in the past but nothing could beat Nova IMO.
Even though I'm recommending Nova, witch will, by using it, remove that ugly "Get now cards" thingy, I'm gonna have to ask you to tell me what happens when you long press that thing? Does it say anything? Does it let you view "app info" or let you know what app that is?
And for the stock apps, I searched and tried some but none worked (as expected). That's why some people choose to stay with stock systems because of these apps. Personally I've gotten over that ;D
Sent from my LG-D802 using Tapatalk
Purchased Nova Prime few minutes ago
Is there any way to install LG stock widgets like flashlight and RAM cleaner ?
eptanisioz said:
Purchased Nova Prime few minutes ago
Is there any way to install LG stock widgets like flashlight and RAM cleaner ?
Click to expand...
Click to collapse
You can set up task manager in your status bar, it should be in the blisspop settings, under status bar OR under the quick settings menu.
It will add a buttom for the task manager to your quick settings, see for yourself
danek731 said:
You can set up task manager in your status bar, it should be in the blisspop settings, under status bar OR under the quick settings menu.
It will add a buttom for the task manager to your quick settings, see for yourself
Click to expand...
Click to collapse
A screenshot or something ? I can not find this option :/
Sure, Settings - Bliss interface - Notification drawer - Task manager.
When you turn that on, an icon will appear in your quicksettings (when you slide down notification bar completely, it will be next to the settings shortcut and battery shortcut).
danek731 said:
You can set up task manager in your status bar, it should be in the blisspop settings, under status bar OR under the quick settings menu.
It will add a buttom for the task manager to your quick settings, see for yourself
Click to expand...
Click to collapse
You are awesome man! Thank you very much!

Moto Launcher settings: Add more dock apps

How can I configure the settings for the moto launcher? I want to add more apps to the dock. The limit right now is 5. I want to add a 6th or 7th to the dock. When I drag and drop it says "no more room in favorites tray"
I want these on my dock:
1. Phone
2. Txt
3. Chrome
4. Photos
5. Camera
6. Bluemail
I briefly tried Microsoft and Nova launcher and didn't like them.
Thanks!
skald89 said:
How can I configure the settings for the moto launcher? I want to add more apps to the dock. The limit right now is 5. I want to add a 6th or 7th to the dock. When I drag and drop it says "no more room in favorites tray"
I want these on my dock:
1. Phone
2. Txt
3. Chrome
4. Photos
5. Camera
6. Bluemail
I briefly tried Microsoft and Nova launcher and didn't like them.
Thanks!
Click to expand...
Click to collapse
I think in Moto Launcher is Not Possible...
But you can try another app launcher.
marcelo_jake19 said:
I think in Moto Launcher is Not Possible...
But you can try another app launcher.
Click to expand...
Click to collapse
I tried some other launchers. i didn't really like them, but i didn't play with them enough. Evie launcher and liked that besides not being able to remove their search bar.
skald89 said:
I tried some other launchers. i didn't really like them, but i didn't play with them enough. Evie launcher and liked that besides not being able to remove their search bar.
Click to expand...
Click to collapse
Lawnchair, Hyperion Launcher, CPL, there's a bunch of them. And what part did you not like about Nova? Most likely you just didn't want to take your time and configure it to your liking, that's all.
corlatemanuel said:
Lawnchair, Hyperion Launcher, CPL, there's a bunch of them. And what part did you not like about Nova? Most likely you just didn't want to take your time and configure it to your liking, that's all.
Click to expand...
Click to collapse
I only tried it for a few minutes. Im happy with the basic launcher besides for its lack of adding more than 4X5 and 5X5 grid.

Categories

Resources