• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About
  • Projects
    • GStaticMap WP Plugin
  • Contact
  • Privacy Policy

Lorenz Blog

All About Web & Mobile Application Development

  • Featured Articles
  • Gadgets
    • Android
    • Blackberry
  • Programming
    • Android
    • PHP
    • Java Script
    • MySQL
    • Postgresql
    • Flex
    • Web
  • Software
    • Mac OS
    • Windows
    • Linux
  • Web
You are Here » Home >> Information Technology >> Programming >> Android >> How to Use Multi-User Feature in Android Jelly Bean

How to Use Multi-User Feature in Android Jelly Bean

August 21, 2012 by Lorensius Londa 1 Comment

Have you ever imagine multi user account feature found in desktop operating system (Windows, Mac, Linux) that enable you to login using different user account now can be found on mobile operating system? Yes, Android 4.1.1 aka Jelly Bean, the latest version of Android operating system has this feature  built in hidden code. It means you will never use this feature by default because this is not intended for general use. Google never announce it, there wasn’t any discussion about it during Google IO 2012. It might be still in beta and under testing and might be announced in next version of Android.

But if you have a rooted Jelly Bean, you will be happy because with a few extra command line on Android shell terminal, you can use this feature. Under android shell command line, you can create new user, view list of available users and delete users.

How to use:

  • Using adb command, go into android shell terminal using adb shell command
    > adb shell
  • Enter root mode by typing su:
    shell@android: /$su
  • To create a new user, use commnand: pm create-user <username>
    shell@android: /#pm create-user Guest
  • To switch user, press and hold Power Off button
  • To view list of available users, use command: pm list-users
    shell@android: /#pm list-users
  • To delete a user, use command: pm remove user  <user id>
    shell@android: /#pm remove-user 1
  • User id can be found when you view list of users. The number on the left of user name is the user id. For example, UserInfo{1:Guest:0}, user id of user Guest is 1.


[ad]
Every user has different configuration for each application and also has different Gmail account. It means you can create additional user for use by others (eg.  friend or family) with separated Gmail account. This allow you to limit the access to Play Store if you have Gmail account linked to Credit Card so other user can not buy applications without your permission. The additional users (non primary) also have limited access to Settings menu. They can only access Wifi, Bluetooth, Sound, Display, Security and About menu.

Facebooktwitterredditpinterestlinkedinmailby feather

Related posts:

  1. How to Enable Android Jelly Bean OTA Update on Nexus S
  2. How to Manually Update GSM Nexus S to Android Jelly Bean (Android 4.1.1)
  3. How to Root Galaxy Nexus Jelly Bean with SuperSU
  4. Two Most Useful Features on Android 4.2.2

Filed Under: Android, Featured Articles, General, Information Technology Tagged With: adb, Android, Android 4.1.1, android terminal, Jelly Bean, multi-user, root, su

About Lorensius Londa

Passionate web and mobile application developer. Co-founder of TRUSTUDIO, loves programming, Android, aviation, travelling, photography, coffee and gym mania.

Reader Interactions

Comments

  1. Yuri Charles says

    October 23, 2012 at 12:03 pm

    Excellent you offer this publish which i was looking for use of multi-user in Android operating system Jelly.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

About Me

A husband, father of two, passionate software developer, diy lover and home baker who loves to learn new things. Read More…

  • Facebook
  • GitHub
  • Google+
  • Instagram
  • Twitter
  • YouTube

Featured Articles

How to Setup MQTT Server Using Mosquitto and Libwebsocket on Freebsd

Blue Bamboo P25 Printer Android Demo Application With Source Code

Simple JSON RPC Client for Android

How to Send Message to Google Cloud Messaging (GCM) Server Using JSON and PHP

Footer

Recent Comments

  • Aditya Dabas on About
  • Ayten Göksenin Barutçu on How to Make Android Map Scrollable Inside a ScrollView Layout
  • mang jojot on About
  • Hussain on How to Programmatically Scan or Discover Android Bluetooth Devices

Recent Posts

  • How to Fix Blank Screen on WordPress Add/Edit Post Page
  • How to Programmatically Restart the ESP32 Board
  • How to Get Hardware Info of ESP32
  • How to Setup MQTT Server Using Mosquitto and Libwebsocket on Freebsd

Latest Tweets

  • @tricahyono_bowo @infobandung @infobdg Wah kejauhan om 355 days ago
  • Wilujeng enjing sadayana..Mohon info tempat powder coating dan sandblasting yg recommended di Bandung dunk @infobandung @infobdg359 days ago

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in