Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
0 answers
66 views

Using multi user, I created two user profile: I have two apps. One is admin app and another is guest app. User1 profile [Admin app installed] User 2 profile[Guest app installed] In admin app, I have ...
Star's user avatar
  • 667
0 votes
0 answers
59 views

I created the multiple User app in which there are User and Admin. So i want send the User Enrollment request, if user click on Enroll the form should fillup by the user(Name,email,contact). and after ...
TYIT_511_JEET's user avatar
1 vote
1 answer
237 views

My requirement is to create a sqlitedb which can be shared with any user who logs into the application. Looks like ContentProvider can be used only to share the db with other applications. Is there ...
Anil Arrabole's user avatar
2 votes
0 answers
162 views

I'm developing an app (Android, Kotlin) that allows the user to register different documents with specific information in Room database. I'll implement in the app to only be able to display the files ...
Tods's user avatar
  • 37
0 votes
1 answer
79 views

I am using jmeter to test the performance for the ride booking app.I need to run the while controller which runs the events fetching api continuously until the ride is completed or if driver is not ...
Snehal Matharu's user avatar
0 votes
2 answers
5k views

As stated in the official document, it is possible to enable android multiple user feature at build time, but there is no document about enabling it on an exiting android image. Is there a way to ...
mahdi's user avatar
  • 892
0 votes
0 answers
408 views

I have an application where a user logs in to their account and stores data according to their account. The user then logs out of their account and logs in with another account and stores other data ...
Hussein Yaqoobi's user avatar
1 vote
2 answers
1k views

Is there a system setting table or API I can check to see if the "Multiple users" setting is turned on in Settings -> System -> Advanced -> Multiple users? Thanks!
Flyview's user avatar
  • 2,001
2 votes
1 answer
6k views

In Android 29, I want to be able to share large files between multiple Android users. Is it possible to make a shared directory that users can access? And can that directory be made browse-able by ...
Jayae's user avatar
  • 79
2 votes
0 answers
562 views

I am a beginner in Android. I am trying to make an app that can switch the user between the primary and secondary without root. I found DevicePolicyManager.switchUser useful in my case. So I ...
nobody-74185's user avatar
2 votes
0 answers
2k views

Strangely there isn't a question on SO regarding this topic. At least I couldn't find one. Like Windows & Linux, Android too allows us to have multiple user accounts on the same device/computer: ...
Yash Sampat's user avatar
  • 30.7k
6 votes
3 answers
3k views

When I run my app from Android Studio and install it on the primary user on a device, I notice that it gets installed on the secondary user as well. In the first place, why is this happening? The ...
Yash Sampat's user avatar
  • 30.7k
27 votes
5 answers
4k views

If I want to retrieve an ApplicationInfo list for all apps of the current user, I can just run: PackageManager pkgmanager = ctx.getPackageManager(); List<ApplicationInfo> installedApps = ...
Forivin's user avatar
  • 15.8k
0 votes
2 answers
604 views

I've made registration and login activity in an android using shared preferences. User is able to registered and logged in successfully. But my problem is when new user is registered, it delete the ...
SsssZ's user avatar
  • 21
1 vote
2 answers
1k views

I'm trying to enable the device administration, so I can create secondary users in Android 9. First is to send an intent with ACTION_ADD_DEVICE_ADMIN like this below : // Launch ...
spico's user avatar
  • 130
1 vote
3 answers
582 views

Is there any way to install in the same android mobile a debug version of my app AND a google play store version of my app? I try to setup on my android multiple users, but when from another user than ...
zeus's user avatar
  • 13.3k
0 votes
2 answers
132 views

My app uses an SQLite DB, wrapped with a SQLiteOpenHelper and a ContentProvider. I added a sign-in feature to the app, and now I want every user to only be able to see his own data. The way I thought ...
talz's user avatar
  • 1,250
1 vote
0 answers
772 views

I would like to know how to make the app and his services available for all device users, including guest mode and users added after it's installation. Kiosk mode and root the device are not an option....
Lano's user avatar
  • 653
6 votes
0 answers
261 views

We recently integrated with Crashlytics in Firebase and found that our app was facing this crash: Fatal Exception: java.lang.SecurityException get application info: Neither user 1010170 nor current ...
Prateek's user avatar
  • 139
2 votes
1 answer
10k views

According to Google's introduction https://developer.android.com/work/managed-profiles.html, personal files in SD cards are not accessible by work profile application. However, we can see all files in ...
Yong Hu's user avatar
  • 41
4 votes
0 answers
1k views

Backstory I'm trying to implement Android's inapp billing for subscriptions. Surprisingly, It's going relatively smoothly, but I've hit a wall. What I'm trying to do is have multiple possible ...
DMT's user avatar
  • 83
1 vote
2 answers
329 views

How can I create a multisession with shared preferences so that two users can login and logout in the same session? I have the following code. public class Session { SharedPreferences prefs; ...
stone edge's user avatar
5 votes
0 answers
1k views

I tried to get the multi-user support for my Android 7.1.1 AOSP emulator build on Ubuntu 16.04 64bit. The build gets run with lunch aosp_x86-eng and following the emulator with emulator64-x86. I ...
Fabman22's user avatar
  • 195
7 votes
1 answer
6k views

I'm getting this weird crash. It seems like AlarmManager.set() cause this but I don't understand how nor why. Stack trace: Fatal Exception: java.lang.RuntimeException: Unable to create application ...
Rotem Matityahu's user avatar
1 vote
2 answers
2k views

I am working ionic(1.7.15) in ubuntu. My project works fine until i try to implement calendar plugin. After installing this plugin to my project and i try to build with ionic build android command ...
Mohan Gopi's user avatar
  • 7,746
2 votes
1 answer
2k views

I'm using the following code to get the device id: String androidID = Settings.Secure.getString(getActivity().getContentResolver(), Settings.Secure.ANDROID_ID); According to the doc here, ANDROID_ID ...
Song's user avatar
  • 514
1 vote
1 answer
708 views

I want to get a list of all apps installed on my device. My code is below: PackageManager pm = getApplicationContext().getPackageManager(); List<PackageInfo> list = pm.getInstalledPackages(0); ...
Song's user avatar
  • 514
-5 votes
1 answer
447 views

I have an app in which i have done some work like updated database with some records. Now i want to generate its .apk file so if i send that .apk to another user he or she can continue work from where ...
farhan678's user avatar
0 votes
1 answer
682 views

Android has Multi Users feature: I'd like to identify on my application on some part of the code which is the actual activated user. For example if the activated user is the First, Second or Guest. ...
JonasOliveira's user avatar
1 vote
0 answers
494 views

The android application I am working on involves two activities(parent(P) and child(C)).The issue is that on a profile switch (say from Normal mode to Restricted Profile Mode), the parent activity is ...
Shyama Prasad Mohanty's user avatar
1 vote
1 answer
324 views

I am developing photo Editor in android Studio . I have images and icons on my screen which is not fit to other screens(different sizes). I have included following support screen code in my manifest....
user3566029's user avatar
1 vote
1 answer
572 views

I'm having problems to handle in-app billing inventory on devices with multiple accounts. DEVICE 1: only one account on the device (user = X) logged with account X on google play logged with account ...
thiagolr's user avatar
  • 7,026
1 vote
0 answers
686 views

I am developing an Android App in Android Studio. The application is essentially a 1 vs 1 game where gameplay is as follows: A 10 second joint planning phase where the players both plan their moves ...
tcatchy's user avatar
  • 869
1 vote
0 answers
175 views

Currently on my code I'm doing the following to obtain the preferred APN on a device: public static final Uri PREFERAPN_URI = Uri.parse("content://telephony/carriers/preferapn"); Cursor cursor = ...
Jota's user avatar
  • 92
0 votes
1 answer
1k views

I am trying to make a multi-client application in which somebody is the host and other people join into the game. I need this to be possible without port forwarding so that users can easily set up ...
verymessi's user avatar
  • 117
1 vote
1 answer
298 views

The new Android 4.2 offers a feature called multiple users where users can have separate accounts, settings, and data. I was wondering if there is a way for this API to be used remotely. For example, ...
Rubylover's user avatar
2 votes
1 answer
636 views

I'm working on the AOSP with multiple-user. I need to change the default system language (or locale) to single user, all my attempts change the entire system language for all users. I use the ...
Raz Tourgman's user avatar
1 vote
1 answer
352 views

Is it possible to use google's in app billing mechanism for purchasing subscriptions for multiple user in my application? I have login/register mechanism implemented on my own server and users can ...
user1943012's user avatar
  • 2,053
21 votes
1 answer
11k views

I have a service running in foreground mode and I'd like to detect switching between user sessions on tablets running Android 4.2 or above. Is there any broadcast receiver I can register to get ...
Xavi Gil's user avatar
  • 11.6k
3 votes
3 answers
2k views

Android 4.2 supports multiple user spaces "on shareable devices such as tablets"(http://developer.android.com/about/versions/android-4.2.html#MultipleUsers). How do I know if a specific device is a "...
prograde's user avatar
  • 2,760