B
B
buksttabu2016-12-20 21:15:50
Android
buksttabu, 2016-12-20 21:15:50

Autocomplete Forms in Android?

There was an idea to create (as a good practice) an application that would store pairs of login-password-site_address, and automatically fill out an authorization form when entering a certain site.
The following questions arose during the design

  • How does the Android OS identify the necessary forms for autofill? (That is, how the system knows that this field should contain a login, and the other should contain a login)
  • How to store a database with security-critical authentication information?
89f778e03f8040538a36c39ae3687559.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WQP, 2016-12-20
@WQP

1. Not android determines, but the browser itself. He remembers simply, namely, there is a certain dictionary of fields. For example, for login it is: email, login, user, username. And if there are several of them on one page, then priority is given and the most important one is selected.
2. Store the database in encrypted form (it is best to come up with your own encryption algorithm), and when you ask for a password, then decode it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question