Registration-free solution for Android applications

Source: Internet
Author: User

The purpose of this article is to simplify the standard features of Android apps, such as registration, login, password forgotten, and logout.

The simplified method is to verify the mobile phone, mobile phone card, or mobile phone and mobile phone card instead of the account and password.

1. Mobile Phone: That is, as long as the mobile phone accesses the app, it is considered to be the same user;

2. Mobile phone card: That is, as long as the mobile phone number is used to access the application, it is considered to be the same user;

3. Mobile Phone + mobile phone number: The same mobile phone number is considered to be the same user only on the same mobile phone number;

You can select a specific solution based on the characteristics of the application.

In Android, IMEI is recommended for identifying mobile phone information; simserialnumber is recommended for identifying mobile phone card information;

To avoid exposing user information, we recommend that you encrypt the device information and generate a unique UUID;

Problem:

If a user changes his or her mobile phone number, how can he retain the original account? Although the probability of this situation is low, you still need to consider

Solution:

1. users who pass UUID verification can set their own account and password in the application. After changing the mobile phone or mobile phone number, log in with the account and generate a new UUID, replace the old UUID;

2. users who pass UUID verification can bind their email addresses to the application. After changing the mobile phone number or mobile phone number, the system sends a serial number to the mailbox, after obtaining the serial number, the user can generate a new UUID on the new mobile phone or mobile phone number, replacing the old UUID;

Remarks: traditional account registration/login process

1. Check whether your account has been logged on. If you have logged on, the logon process ends. Otherwise, go to 2;

2. Determine whether the account/password is saved. If the account/password is saved, go to 3. Otherwise, go to 5;

3. Determine whether automatic login is allowed. If yes, jump to 4; otherwise, jump to 5;

4. Perform automatic login. If the login is successful, the login process ends; otherwise, jump to 5;

5. Enter the account and password to log on to the logon page. If the logon succeeds, the logon process ends. Otherwise, you can register or forget the password with one click.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.