Multi-User add logout button - Android Q&A, Help & Troubleshooting

Hi
I have multiple users on my Lineageos 19 android.
Is there a way to enable a logout button for Secondary Users? Would be great not having the apps running on other user profiles than the main user.
found this: https://developer.android.com/refer...abled(android.content.ComponentName, boolean)
how to call this DevicePolicyManager setLogoutEnabled? is it possible on any console?

psunix said:
Hi
I have multiple users on my Lineageos 19 android.
Is there a way to enable a logout button for Secondary Users? Would be great not having the apps running on other user profiles than the main user.
found this: https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setLogoutEnabled(android.content.ComponentName, boolean)
how to call this DevicePolicyManager setLogoutEnabled? is it possible on any console?
Click to expand...
Click to collapse
Hello and good afternoon, @psunix
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Rehi
I figured out how to connect to the console by using adb.
The page about the enable logout user function seems to be related to centralized android admin. https://developer.android.com/refer...abled(android.content.ComponentName, boolean)
is there a way to apply this locally? so just on my phones console?

Related

Best framework to develop simple app to open list of browser links?

Hi. What would be my options for writing a simple program that would:
1) open different browsers on my Android device
2) open a list of URLs for each?
Dougmeister said:
Hi. What would be my options for writing a simple program that would:
1) open different browsers on my Android device
2) open a list of URLs for each?
Click to expand...
Click to collapse
@Dougmeister
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Chrome how many open tabs without root?

Hello everyone.
Please, I would like your help to the following...
Having on my Android tablet (Android 8.0 and no more updates) on Google Chrome too many open tabs, is there any way to find the number of the tabs that are open? Just the number of open tabs, without going on each tab separately and adding one by one. I want only the open tabs number.
No root.
Thank you for your time.
johnyb98 said:
Hello everyone.
Please, I would like your help to the following...
Having on my Android tablet (Android 8.0 and no more updates) on Google Chrome too many open tabs, is there any way to find the number of the tabs that are open? Just the number of open tabs, without going on each tab separately and adding one by one. I want only the open tabs number.
No root.
Thank you for your time.
Click to expand...
Click to collapse
@johnyb98
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to General Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
Thank you for your welcome message, the information given and query movement.

question - how to hide phone id, imei, etc?

Hello.
I can not find an answer to my question neither in google nor on the xda forum.
Question to specialists. I am looking for an application / hack for android, thanks to which the open application will not be able to read on which cell phone it is running.
I am looking for something in the form of a "phone generator" or it will hide the phone data.
I have a problem with the application, after using the discount code, I cannot use the same phone again.
Lock on the phone, not on the application user.
Best regards.
adiadi007 said:
Hello.
I can not find an answer to my question neither in google nor on the xda forum.
Question to specialists. I am looking for an application / hack for android, thanks to which the open application will not be able to read on which cell phone it is running.
I am looking for something in the form of a "phone generator" or it will hide the phone data.
I have a problem with the application, after using the discount code, I cannot use the same phone again.
Lock on the phone, not on the application user.
Best regards.
Click to expand...
Click to collapse
Hello and good afternoon, @adiadi007
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A. Thanks for your cooperation!
Regarding your question I suggest to take a look into this application by @M66B
[CLOSED][APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager [UNSUPPORTED]
XPrivacyLua Really simple to use privacy manager for Android 6.0 Marshmallow and later (successor of XPrivacy). Revoking Android permissions from apps often let apps crash or malfunction. XPrivacyLua solves this by feeding apps fake data...
forum.xda-developers.com
Regards
Oswald Boelcke
Senior Moderator

Is it possible...

Hi folks, this forum is really different to when I last visited so I am not sure where to post this...
I have the DJI RC Pro, screened remote control that's running a very slim Android 10.
The RC does not have Google services installed so I'm sure you can understand the issues that this leads to.
I am not even sure how one would even go about rooting the RC but ideally I would like Google services added, any advice please?
bashy said:
Hi folks, this forum is really different to when I last visited so I am not sure where to post this...
I have the DJI RC Pro, screened remote control that's running a very slim Android 10.
The RC does not have Google services installed so I'm sure you can understand the issues that this leads to.
I am not even sure how one would even go about rooting the RC but ideally I would like Google services added, any advice please?
Click to expand...
Click to collapse
Hello and good morning, @bashy
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Oswald Boelcke said:
Hello and good morning, @bashy
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
My apologies, I am on my phone, whilst it's not much of an excuse, I will try to post when in the laptop so I can check things 1st, again, my apologies.
I don't know anything about the device but if your main goal for right now is simply services, maybe you can look into "microG" to get the services, or there is an option called the "aurora store" both of which you can download on your android device without having to setup adb or fastboot.
MicroG's Website
I wrote some knowledge on aurora here
if you have adb and fastboot access that opens you to being able to just flash gapps normally but idk your situation

configuring android for Telegram registration

I am looking for a specialist who can configure android to automatically register telegram accounts and automatically change the device identifier. payment is negotiable
alexairo1 said:
I am looking for a specialist who can configure android to automatically register telegram accounts and automatically change the device identifier. payment is negotiable
Click to expand...
Click to collapse
Hello and good afternoon, @alexairo1
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources