facebook

Need a bit of help on work flow

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #347018 Reply

    Mike Felker
    Participant

    I am creating my first app in MobiOne and I need a bit of help with workflow.

    I am creating a business card app for my leads group. I have the logo placed and a select list control placed with all the member’s names already input.

    The goal is for the user to select one of those names and as a result, it goes to their ‘page’ and shows their information. If the user rotates their phone or tablet, then that person’s business card shows.

    How would I accomplish this? How do I make multiple pages without them showing up on the tab bar (I have scrapped the Tab Bar for this reason).

    Do I create 24 separate projects (there are 24 members) and then run the one that is selected. I would rather keep this in one app if possible.

    I would love to have it so if you swipe to the left or right it sequentially goes through each member and the select list just allows you to ‘jump’ to that person much faster.

    How would you all handle it?

    Mike

    #347023 Reply

    Brandon
    Member

    I would create a template page and fill it using JSON.
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=6272
    Mobione does not inlcude a default swipe but it can be done:
    http://www.genuitec.com/support-genuitec/viewtopic.php?p=22689#p22689

    #347035 Reply

    Mike Felker
    Participant

    Actually, I have figured out that I can create ‘screens’, which are separate .mobi files and I can use a select item control with a javascript script to select the screens, but I need help with the actual javascript code.

    As I said in a new post, any help with a code fragment would help me figure it all out.

    Mike

    #347037 Reply

    Brandon
    Member

    Well you would still need a screen for each person. Using an JSON you can use one screen and still provide the list of the people. With a lot less coding.

    #347040 Reply

    Mike Felker
    Participant

    ..and how does one use a JSON? Isn’t JSON a set of controls, like Jquery?

    Mike

    #347056 Reply

    Brandon
    Member

    JSON is a data format. I have used it for quizzes and so much more. There are two good tutorials on it:
    Using an extrenal json file
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=6272
    Or creating the JSON in the app:
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=5231

    Depending on the number of people you have an external one will be easier for large numbers.

    Once you have the json you can have a list widget that holds the people, they click on that and it fills out the details page and opens it.

    Here is a good dynamic list sample from Octavio
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=6752&p=23744#p23744

    If you get stuck post the problem.

    #347100 Reply

    Mike Felker
    Participant

    Thank you so much for your help.

    I really LOVE MobiOne and having people such as yourself on this forum makes this app even more invaluable.

    I will certainly be asking for your good advice on future, more difficult apps.

    I decided to go a different route (I expounded upon in another thread) and that app is now essentially finished.

    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Need a bit of help on work flow

You must be logged in to post in the forum log in