Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I know multi-user functionality is available in Android 4.2 JellyBean:

I have gone through THIS and THIS.

But I want to test this feature on my emulator and not on the actual device.

My Questions:

  1. Is it possible to test multi-user feature on an emulator?

  2. If yes, how it can be?

share|improve this question
    
Highly dubious that this is possible at the moment right now, best to wait and see what Google does, perhaps in the next release of their SDK, there will be an emulator by then, wait and see.... –  t0mm13b Dec 19 '12 at 21:15

1 Answer 1

up vote 6 down vote accepted
+50

The Android emulator doesn't currently support this, unfortunately. There is a configuration file in the build system that determines whether or not to enable the user accounts feature, and it is disabled in the emulator images distributed by Google. You can star this issue on the bug tracker in the meantime.

However there are two alternatives you can look at:

  1. You can alter the configuration file and build a new emulator image from the AOSP source and use that in place of the system image that the AVD uses by default. The file in question is in /frameworks/base/core/res/res/values/config.xml within the Android source. There should be an option named config_multiuserMaximumUsers which needs to be set to a value greater than 1.

  2. You can try the Jar of Beans emulator package. It has experimental support for multiple user accounts. Note, however, that this is an x86 emulator, not an ARM one.

share|improve this answer
    
Thanks for your Support. but i could not able to find the "/frameworks/base/core/res/res/values/config.xml" path in my ubantu 11.10 could you help me? –  Bhavesh Dec 20 '12 at 7:47
1  
@Bhavesh: Do you have all of the source code synced to your computer? What steps did you use to set it up? –  eldarerathis Dec 20 '12 at 18:03
    
which source code i should have for it? could you please give me link for it? –  Bhavesh Dec 21 '12 at 4:48
1  
@Bhavesh: You need the full Android source. It's pretty large, but the instructions for setting it up start here if you'd like to try it: source.android.com/source/initializing.html –  eldarerathis Dec 21 '12 at 13:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.