[Q] How to override Task Manager in android?? - Java for Android App Development

how to override task manager ,means to say when open the task manager then my app should be opened not the task manager,
https://play.google.com/store/apps/details?id=com.whisperarts.kidsshell&hl=en
check the above link of an app that dont allow you to go to the taskmanager,,,please help how to achive this feature in my app???

android:excludeFromRecents="true"
Or
android:noHistory="true"
Use any one of them in your manifest.

EatHeat said:
android:excludeFromRecents="true"
Or
android:noHistory="true"
Use any one of them in your manifest.
Click to expand...
Click to collapse
I think he wants to disable the task manager/switcher completely while his app is in the foreground. He doesn't want to exclude his app from it.

nikwen said:
I think he wants to disable the task manager/switcher completely while his app is in the foreground. He doesn't want to exclude his app from it.
Click to expand...
Click to collapse
Looks like he wants both.
@amitgoyal95
Can you please be a bit more specific?

reply
EatHeat said:
Looks like he wants both.
@amitgoyal95
Can you please be a bit more specific?
Click to expand...
Click to collapse
i have made my launcher in which all the installed app of phone exist in my launcher app, i want that my launcher app should not be uninstalled,
and if we go to the task manger(by pressing long home button) then we can easily uninstall the app,so i want that when i open task manager by pressing long home button after opening my app then my launcher activity should be on top inspite of task manager
please check out this app link
https://play.google.com/store/apps/details?id=com.whisperarts.kidsshell&hl=en
you will find out what i want this feature.. please help

amitgoyal95 said:
i have made my launcher in which all the installed app of phone exist in my launcher app, i want that my launcher app should not be uninstalled,
Click to expand...
Click to collapse
That would need your app to be in system, which you cannot do manually from the Play Store.
Or u have to make your own task manager from where your launcher will be excluded.
and if we go to the task manger(by pressing long home button) then we can easily uninstall the app,so i want that when i open task manager by pressing long home button then my launcher activity should be displayed.
Click to expand...
Click to collapse
Showing it in the Task Manager does not require any special requirements. All apps are shown there unless you add any one of the lines in my earlier post.

not necessary
EatHeat said:
That would need your app to be in system, which you cannot do manually from the Play Store.
Or u have to make your own task manager from where your launcher will be excluded.
Showing it in the Task Manager does not require any special requirements. All apps are shown there unless you add any one of the lines in my earlier post.
Click to expand...
Click to collapse
i have given one link of any app which is not a system app you can check it
https://play.google.com/store/apps/details?id=com.whisperarts.kidsshell&hl=en
https://play.google.com/store/apps/details?id=com.zoodles.kidmode&hl=en

check
nikwen said:
I think he wants to disable the task manager/switcher completely while his app is in the foreground. He doesn't want to exclude his app from it.
Click to expand...
Click to collapse
i have made my launcher in which all the installed app of phone exist in my launcher app, i want that my launcher app should not be uninstalled,
and if we go to the task manger(by pressing long home button) then we can easily uninstall the app,so i want that when i open task manager by pressing long home button after opening my app then my launcher activity should be on top inspite of task manager
please check out this app link
https://play.google.com/store/apps/d...idsshell&hl=en
you will find out what i want this feature.. please help

amitgoyal95 said:
i want that my launcher app should not be uninstalled,
Click to expand...
Click to collapse
You can make it a device administrator: http://developer.android.com/guide/topics/admin/device-admin.html

I might be seen as a hater here, but why would you want people to not be able to uninstall your app? Never have I seen an app that needs this functionality...

bassie1995 said:
I might be seen as a hater here, but why would you want people to not be able to uninstall your app? Never have I seen an app that needs this functionality...
Click to expand...
Click to collapse
Well, most times it doesn't make sense. However, it is useful if you develop a kids mode app. So that they are limited to just those apps you allow them to use. Or some security app which has to be prevented from unauthorized uninstalling using a password.

nikwen said:
Well, most times it doesn't make sense. However, it is useful if you develop a kids mode app. So that they are limited to just those apps you allow them to use. Or some security app which has to be prevented from unauthorized uninstalling using a password.
Click to expand...
Click to collapse
Fair enough, had forgotten about those types of apps .
Sent from my GT-I9300 using Tapatalk 4

Related

Annoying background apps

guys i need a trick for stop app that start without permission in background, and close app that i use when i press the home or the back key
please there is a way?
search for task killer.
i don't think that solve the problem
djsolidsnake86 said:
i don't think that solve the problem
Click to expand...
Click to collapse
Its the closest thing he has to solving his "problem" or what he would easily be able to use.
taskiller or something else dont kills services and selfstarting background apps, you can try with startup auditor which has an option to prevent apps to start again but i want an app which can really disable this ****, hope somone knows a better solution
suicide monkey said:
taskiller or something else dont kills services and selfstarting background apps, you can try with startup auditor which has an option to prevent apps to start again but i want an app which can really disable this ****, hope somone knows a better solution
Click to expand...
Click to collapse
Well you can simply uninstall the app/system app then.
If its a system app you want removing use "SystemApp Remover".
I don't see what's the big deal ! this is not something new, it doesn't kill your battery any faster if you kill them, use advanced task killer, set auto kill level to safe, set auto kill frequency to When screen off, only leave important apps on the ap list unchecked, add the auto kill widget to your homescreen, and every time you want just hit that widget killing all apps and go on with your day!!
Try Autostarts: http://www.androidpit.de/de/android/market/apps/app/com.elsdoerfer.android.autostarts/Autostarts
With this app you have not only control of the startup programms, you also can disable apps, that would starts if different events happens. gl
TheATHEiST said:
Well you can simply uninstall the app/system app then.
If its a system app you want removing use "SystemApp Remover".
Click to expand...
Click to collapse
its not about unistalling i just want to disable the services of apps i use, eg news room has an service to refresh the rss feeds, but i have set it to refresh manual so it doesn't need a refresh service...
j4n87 said:
Try Autostarts: http://www.androidpit.de/de/android/market/apps/app/com.elsdoerfer.android.autostarts/Autostarts
With this app you have not only control of the startup programms, you also can disable apps, that would starts if different events happens. gl
Click to expand...
Click to collapse
thx seems to be a nice app but not that easy u have to know what u change
i have to try
roloracer said:
I don't see what's the big deal ! this is not something new, it doesn't kill your battery any faster if you kill them, use advanced task killer, set auto kill level to safe, set auto kill frequency to When screen off, only leave important apps on the ap list unchecked, add the auto kill widget to your homescreen, and every time you want just hit that widget killing all apps and go on with your day!!
Click to expand...
Click to collapse
of course it can kill your battery faster,like an update service witch activates your data, a music player which is watching if ur headset is plugged or things like that and its not enough to kill them with taskiller cause they can restart from them selve!
try multitasking from royerd, its a taskmanger which start when u press homebutton twice,there u can kill apps and u have a tab where u can see active services and kill them trough a shortcut
djsolidsnake86 said:
guys i need a trick for stop app that start without permission in background, and close app that i use when i press the home or the back key
please there is a way?
Click to expand...
Click to collapse
1. The ones running in the background are normally services or any apps which are not closed.
2. You can see service/apps run status using any task manager tool from market.
3. The services are installed as part of the app installed on your machine.
4. They are more often than not harmless as far as battery is concerned but can
be problematic if you have limited RAM on your phone
5. The best bet is to un-install the apps themselves, if you want to get rid of the services.
6. The normal task managers don't kill services running in background as that is what they are meant to do,otherwise the apps they are linking will not work properly.
7. Some apps on market claim to kill services/apps automatically as and when they are started by system, but this counterproductive as a service once installed will always attempt to start at frequent intervals and then the task manager killing them resulting in higher battery drain anyway.
Also, this means the task manager will always be running in the background.
So in short, the best bet for now is to un-install the apps which have background services running if you dont use them much.
Hope this helps.

[TUT] Recent apps on kindle fire HDX!!!

First of all you may have to have Play store installed, unless you can find any of the apps I mention in this thread from different sources. UPDATE: I found one of the apps that is need for this tutorial below at 1mobile.com link will be below. For more info on that search around the threads or visit my kindle fire HDX setup thread. It is targeted for the 7" model but you may be able to download these apps from 1mobile.com on the 8.9" or on a 7" that doesn't have play store.
So, first off, I installed a app from play store called recent apps quick button, which basically activates android's recent apps, I havent found another (legal) link to this besides playstore so please share if you do. then I installed a app from play store called Home2 shortcut, here's a link to Home2 shorcut on 1mobile, I haven't confirmed it works on default ROM so let me know your findings! this lets you assign the resent apps quick button to double tapping the home button so now when i double tap the home button it brings me to recent apps. It's really nice since kindles default Rom doesn't have a recent apps button! let me know what you think and if i works for people without a different launcher (I use ADW launcher). post any questions you have in this thread.
Nice work! Screenshots in recent apps does not seem to work though, but it's a start
Epedemic said:
Nice work! Screenshots in recent apps does not seem to work though, but it's a start
Click to expand...
Click to collapse
Are you using a third party app to screenshot? or is there a button combination to do it that i don't know about.
spaghettiknight said:
Are you using a third party app to screenshot? or is there a button combination to do it that i don't know about.
Click to expand...
Click to collapse
No not that kind of screenshots... I mean the "previews" in the recent apps which is in reallity small screenshots of the apps while recent apps are running.
Does sliding the right side of the screen to the left show the same recent apps?
Sent from my iPhone using Tapatalk
rcartaz09 said:
Does sliding the right side of the screen to the left show the same recent apps?
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
Possibly, but this program he is referring to also allows you to close recent apps by swiping them away. I like to pin this recent apps program to the "W8 taskbar" application which also has a task killer and shortcut to desktop. It makes accessing wifi toggle and reboot/ power off simple to do.
You can use switchr for recent apps. It works and looks good too. Lmt launcher is also working although it fcs. I think fc has to do with root, cause it actually needs root to work properly.
Sent from beneath my invisibility cloak
Hanzo.Hasashi said:
You can use switchr for recent apps. It works and looks good too.
Click to expand...
Click to collapse
Seconded. Switch works great.:good:
thewihlygeek said:
Seconded. Switch works great.:good:
Click to expand...
Click to collapse
I like switcher but it seems like it is more designed for phones and doesn't look very good on tablets, also I like being able to delete apps to free up ram witch you can't do with switchr
spaghettiknight said:
I like being able to delete apps to free up ram witch you can't do with switchr
Click to expand...
Click to collapse
Yeah you can, it's in the options. You can have so you swipe through open apps, swipe down to kill the currently selected one and even swipe to the upper right corner to kill all.
Though that might be the pay version. I can't remember what's in which version off the top of my head.
thewihlygeek said:
Yeah you can, it's in the options. You can have so you swipe through open apps, swipe down to kill the currently selected one and even swipe to the upper right corner to kill all.
Though that might be the pay version. I can't remember what's in which version off the top of my head.
Click to expand...
Click to collapse
Also I like how I can have a close all button in the recent apps page using a module from exposed framwork
Here's a cool recent apps app ported from Omni Rom called OmniSnitch
http://forum.xda-developers.com/showthread.php?t=2637388
Been using it for a couple hours & it works on my rooted hdx.

Is there a way to see recent apps and switch between them?

Is there a way to see recently launched apps and switch between them?
This function should be definitely included in default system. So useful!
Can't test it now but try it with long pressing the home button
Huberer said:
Can't test it now but try it with long pressing the home button
Click to expand...
Click to collapse
that goes to the twitch thingy unfortunately.
xd4d3v said:
that goes to the twitch thingy unfortunately.
Click to expand...
Click to collapse
Ok, didn't know. Thank you
I had the same idea but did not work lol.
I am not sure what you are looking for exactly, but the list of apps on the original launcher is always reorganized to show the most recently used apps first. Or are you using a different launcher?
Sent from my SM-N900V using XDA Free mobile app
The best way of doing this is with LMT Launcher using it's Pie feature. Install it, and set up an item as Activity -> System UI -> com.android.systemui.recent.RecentsActivity. This gives you the recent apps, which is normally non-accessible on the shield. You can then add a few others as you see fit. I've added the power menu for example, which gives you the full power off, reboot and sleep options. Not found that anywhere else. All works best with a mouse, so you're best using an alternative launcher like HALauncher. But I suspect most people are doing that anyway given how restricted and awful Leanback is.
It can be downloaded here.
this is like the third or fourth thread about this

How to find exact version of different installed Google Cam

When I first got my MIA1, I played around with a few versions of different Google Cam mods. I have just looked and didn't realise I still had two installed. I am looking to see if any of these new versions offer me some more benefits but before I do, I want to make a record of the version of the apps and all the settings I have for them.
The problem is they all use the same icon. I am looking to find the exact install that I used for each of these apps. When I go to Settings > Apps > and click on the App Info for the first mod it is just called "Camera" and it is "version 4.4.020.163412804".
The other one is called "GCMod5" and is version number 5.1.016.174405463.
How can I tell what exact installer I used for these cams?
Also, how can I tell what shortcut icon on the home screen is for which cam? When I open the app and look in the open apps, thery are all just called "camera". I wish the mods would call the app the actual mod name, not just "camera."
Just touch and hold the app icon and then select "App info" from the popup menu.
Actually, App Info doesn't show anything relevant as I mentioned clearly in the OP.
If I long click from the home screen I get the option to delete or uninstall. If I long click from the app drawer I get the option to take a selfie or take a video.
If anyone knows how to find this information I would be grateful.
ludditefornow said:
Actually, App Info doesn't show anything relevant as I mentioned clearly in the OP.
If I long click from the home screen I get the option to delete or uninstall. If I long click from the app drawer I get the option to take a selfie or take a video.
If anyone knows how to find this information I would be grateful.
Click to expand...
Click to collapse
From app drawer long press on camera and drag it to home screen without releasing your finger, at the top you will get app info and uninstall option during this process
Or install lawnchair launcher in that directly you will get app info option after long pressing on app icon
SunilSuni said:
From app drawer long press on camera and drag it to home screen without releasing your finger, at the top you will get app info and uninstall option during this process
Or install lawnchair launcher in that directly you will get app info option after long pressing on app icon
Click to expand...
Click to collapse
Thank you. I know how to get the App Info... But there is no relevant information in App info. That is my point.
ludditefornow said:
Thank you. I know how to get the App Info... But there is no relevant information in App info. That is my point.
Click to expand...
Click to collapse
At the bottom of app info, you can see the app version
RavinduSha said:
At the bottom of app info, you can see the app version
Click to expand...
Click to collapse
And that version has no relevance to the Developer or the APK install name.
Seriously does anyone actually read the OP before posting?
ludditefornow said:
And that version has no relevance to the Developer or the APK install name.
Seriously does anyone actually read the OP before posting?
Click to expand...
Click to collapse
Why don't you just uninstall one camera app test whatever you need to test and then install the other one?

Reminder is gone?

Hello, I cant find reminder in phone. Install apk dont work and galaxy apps and google apps dont find anything. Does somebody have working app? Sorry for english
You sure?
The app is there but you think to "need" to use it first. i.e. reject a call with a text etc and that will prompt the phone to launch the app for the first time. After that it will ask you if you wish to create a shortcut. I did this using a Nova Launcher activity widget to start the app and now I have the icon showing under the apps list as usual.
thecrater said:
The app is there but you think to "need" to use it first. i.e. reject a call with a text etc and that will prompt the phone to launch the app for the first time. After that it will ask you if you wish to create a shortcut. I did this using a Nova Launcher activity widget to start the app and now I have the icon showing under the apps list as usual.
Click to expand...
Click to collapse
I have the same issue too. I see the reminder app in the apps installed list but nowhere as an icon or app in Samsung Experiece.
I tried the above method also but no prompt of reminder.
bill_viper said:
I have the same issue too. I see the reminder app in the apps installed list but nowhere as an icon or app in Samsung Experiece.
I tried the above method also but no prompt of reminder.
Click to expand...
Click to collapse
Just ask Bixby to set a Reminder for you, that's what I did and then I had the icon.
Cyclops1055 said:
Just ask Bixby to set a Reminder for you, that's what I did and then I had the icon.
Click to expand...
Click to collapse
I don't have the guts to activate Bixby haha
If you don't want to try Bixby, try "Nova Launcher" and create an Activity widget. Use the widget to launch the Reminder MainUI applet
In settings, under apps, go into the reminder app and in the top right corner you will see the settings icon. Select that, toggle on the online storage and finish configuring. (Add places, etc.) After you do this you will see the app icon in your app drawer.

Resources