How do I know that an Android app has been loaded for the first time? -


How can I find out, if an app is loaded for the first time after downloading, I mean when the app Is bought / downloaded from the market for the first time, how can I find out that this is the first time (has never been played on this phone) it is going to run, so can I remove some registration activity?


Yes, I had thought of declaring a table which is checked to see if it has any lines or not. If the rows are then it was because it was loaded and we had inserted a row.

But I want to avoid this, it has an API that can tell me that the user had used this app before.

Android has an API to store preferences.

In the context you shared a flag, read


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -