Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating setup wizard on Android

In my application I need to ask the user some information in the beginning. Like Google asks users when they first launch the phone.

Using Java and Android, how do I make the same kind of setup wizard for my application? I could create multiple activities and when moving to the next page in the wizard I'd launch that. That doesn't seem a good way to do it.

I'd like to use Eclipse's GUI builder to design it.

like image 613
MikkoP Avatar asked Feb 09 '13 16:02

MikkoP


People also ask

How do I use Android Studio setup wizard?

To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh. Follow the setup wizard to install the SDK and any necessary SDK tools. If you already have a copy of the SDK, choose Custom Install in the Install Type. In the SDK components uncheck SDK.

What does a setup wizard do?

The setup wizard helps you configure basic network and administrative settings and automatically configures security policies and licensed security services with recommended settings. For more information about policies and services the Quick Setup Wizard configures, see Setup Wizard Default Policies and Settings.


2 Answers

Creating a wizard is explained here, also: https://plus.google.com/113735310430199015092/posts/6cVymZvn3f4

You can get the code here: https://github.com/romannurik/android-wizardpager

like image 51
Leandros Avatar answered Oct 24 '22 01:10

Leandros


The best way to do this is using Shared Preferences in android. http://developer.android.com/reference/android/content/SharedPreferences.html You just need to check if the value is not already set then show your setup wizard else proceed straight to the application.

You can also show the wizard in dialog box or the other way is just develop a separate activity along with UI.

like image 29
AhmedRed Avatar answered Oct 24 '22 00:10

AhmedRed