Recommendations for saving user information on Android

I adore noob on Android and I am writing a simple application for my personal training to connect to an external API (Flickr or Netflix). What I want to do is ask the user to enter their login information on any site so that they can view their images or the dvd queue. My question is what is the best way to store user data?

I was thinking of encrypting login / pwd and saving it to the SD card. Any thoughts using this method? Is there a better way?

I am interested in reading another developer's perspective.

I am sure there are many methods. I just do not want to break "Rule number 1" to store information about the user.

Thank.

+3
source share
1

:

ApiLevel >= 5, AccountManager.

SampleSyncAdapter AccountManager. .

+4

Source: https://habr.com/ru/post/1796410/


All Articles