I want to create a semi-transparent demo screen that is launched only when a user first installs my application. I looked in the internet and I found this How do you create a transparent demo screen for an Android app? which is the thing I want to do but not with phonegap
Asked
Active
Viewed 609 times
2
-
1Just create an div as an overlay and put the elements in it. – Joerg Nov 02 '15 at 13:19
-
and how to make it appears only the first time the user installs the app? – Amirado Nov 02 '15 at 13:22
-
Create a flag (variable) e.g. firstRun and save the value in localStorage and check this value on every app start. If the value is e.g. 1 then show the overlay. – Joerg Nov 02 '15 at 13:26
-
emm, thank you very much. I'll give it a try. – Amirado Nov 02 '15 at 13:31