Android Question At app start only

Alansari

Member
Licensed User
Longtime User
Hi all

I want to appear message when app start in the first time only

How to do that ?
 

Emme Developer

Well-Known Member
Licensed User
Longtime User
Hi all

I want to appear message when app start in the first time only

How to do that ?
In main activity check firsttime, and write a simple file in dir.internal folder.
You should check in firsttime if this file exist. If yes, don't display the message, otherwise display it and write the file
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…