Android Question what is the best way for user register (no login)

Sai Main Seng Kham

Licensed User
if first time user open app
app will ask for phone number only

and the user phone number will store in somewhere.
if user open app again
app will check does the phone number was register early have or doesn't.

What is the best way and fast way and easy way to store user phone number and check.