Best place/area to store file for Trail period

Posted by hotveryspicy on Stack Overflow See other posts from Stack Overflow or by hotveryspicy
Published on 2012-06-06T10:05:56Z Indexed on 2012/06/06 10:40 UTC
Read the original article Hit count: 145

Filed under:
|
|
|

I need to have a trial period (7 days) in my application. From this I came to know that you can do that by keeping permanent file, database or shared preference.

Where do I keep that file so that the user isn't able to see/delete it.

If I put that logic in Sharedpreference or a file with a path "data/data/packagename", when the application is uninstalled then all history will be lost.

Any other workaround/ideas?

Note: there is no server, application works locally with no Internet.

© Stack Overflow or respective owner

Related posts about android

Related posts about file