• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Does android have any wizard style frameworks?

 
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 android:onClick in the button XML description)

Can it be done any easier/cleaner?

Cheers
 
author
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

     
    Bartender
    Posts: 1849
    15
    Eclipse IDE Spring VI Editor Java Linux Windows
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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.
    reply
      Bookmark Topic Watch Topic
    • New Topic