• Post Reply Bookmark Topic Watch Topic
  • New Topic

Does android have any wizard style frameworks?  RSS feed

 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff,

Does android provide anything out of the box to assist with developing wizard style applications?

For example, your application gathers data from a user, such as first name, address, and some other things

You decide to put them onto different pages (views) to keep it nice and clean

Does android help you navigate between those views? If your familiar with the Stripes MVC framework, it provides @Wizard annotation which makes the flow of control easier between processes, and also persists your data between them so you dont have to keep putting/getting from session (technically it just whacks it all into a hidden field, but meh)

I've had a little play tonight, and this is what I've come up with :



I must say, its pretty crude, and this is just for a 3 stage wizard, if it was any longer it could get messy. As you can see I've created different layout files, and when a button is clicked then one of these methods gets invoked (using androidnClick in the button XML description)

Can it be done any easier/cleaner?

Cheers
 
Jeff Friesen
author
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

I haven't discovered any kind of builtin API to make it easy to develop wizards in Android. In fact, a recent Google search revealed that others are building wizards from scratch.

stackoverflow.com contains a large variety of Android-oriented questions and answers. I did a search involving Android wizards and came up with several replies. Here are three of them:

  • Best way to terminate a wizard in android
  • Make a wizard like application in Android
  • What is the best practices on Android to keep data between activities deathes/restarts for the whole application session?

  • I hope this information will be helpful to you.

    All the best.

    Jeff

     
    Janeice DelVecchio
    Bartender
    Posts: 1812
    12
    Eclipse IDE Java Windows
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Accidentally moved this out of beginning Java. Moving back....
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!