Walter Lee
Posts: 0
Joined: Tue Aug 20, 2013 4:47 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

Hi,

I am writing a medical mobile apps which my friend suggested to ask user to agree the standard disclaimer page first before they can go to the main screen. How to set up such a splash disclaimer page with two buttons -
1/ ok to continue to main screen
and
2/ do not agree and get out of this app ?

Hope the user can just need to answer this the very first time and then no more such later.

Walter

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

Hello! It might be just a Start screen with two buttons:
first button navigates to another screen on Click event, on second button run JS codenavigator.app.exitApp();/code to exit the app.

Walter Lee6181771
Posts: 0
Joined: Tue Aug 27, 2013 6:50 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

Wow ! Thank you ! Marina !

related q -
1/ any way to store this acceptance so it will not ask in the future ?

2/ what JS or others will it be if I like to call another app from a button ?
e.g. a button to call another app B from a button of app A ?

Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

I created a splash screen having only image from assets. Now I want to navigate second page after some seconds. How can I do that.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

Hi Kirit! You would need to use JS to set timeout.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

[quote:]any way to store this acceptance so it will not ask in the future ?[/quote] use localStorage to store
[quote:]what JS or others will it be if I like to call another app from a button ?
e.g. a button to call another app B from a button of app A ?
[/quote] see http://www.tricedesigns.com/2012/08/1...

Walter Lee6181771
Posts: 0
Joined: Tue Aug 27, 2013 6:50 am

How to Set up a splash screen for user to agree the disclaimer page before going to main screen ?

Thank you ! I am very beginner in JS and others.
So, any more example on how to use the localStorage will help me a lot !

I am thinking to add
1/ events onLoad to see if localStorage var Accept=true or not ?
2/ if not, then display this disclaimer page to ask for Accept button or Quit button
3/ if user hits Accept button, then set Accept=true and goto main screen

right ?

Any JS code will help me this new beginner a lot !
Thank you!

Walter

Return to “Issues”