gigi38660
gigi38660

Reputation: 1

Store permanently an information

fisrt sorry for my english...

How is it possible to know if an user has installed the application for the first time ? I explain my need : when the user install my application, he has for example 10 credits for free. But after, if he needs more credits he has to paid... My problem is that if he deletes the application and he install again, he has 10 credits for free... How to store the number of credits permanently ?

I already try to use sharepreference, but data are deleted if I clear the application

thank you

gigi

Upvotes: -1

Views: 31

Answers (1)

Dave
Dave

Reputation: 37

you can use sessions and cookies and write than , if cookie close, delete credit card or another logic.

Upvotes: 0

Related Questions