I am in intro to mobile apps i need help with this ive never did this before we are using andriod studios
"Mad Libs" are short stories that have blanks called placeholders to be filled in. In the non-computerized version of this game, one person asks a second person to fill in each of the placeholders without the second person knowing the overall story. Once all placeholders are filled in, the second person is shown the resulting silly story. Write an Android app that reads in a Mad Lib from a text file in a specific format. The text file represents placeholders as tokens that start and end with brackets, like or . Your app reads the file, looks for any such placeholders, and prompts the user to replace them with specific words. Once the user has typed in replacements for all placeholders, the completed story is shown on the screen. The screenshots below indicate a possible flow of the UI for such an app. The example flow has three activities: An initial "welcome" screen explaining the app, then a screen that repeatedly prompts the user to fill in placeholders, then a third activity to display the completed story. Of course you don't need to exactly match the sample's UI, but it may give you ideas. Suggestion 1: Mad Libs (text processing app with 2-3 activities) "Mad Libs" are short stories that have blanks called placeholders to be filled in. In the non-computerized version of this game, one person asks a second person to fill in each of the placeholders without the second person knowing the overall story. Once all placeholders are filled in, the second person is shown the resulting silly story. Write an Android app that reads in a Mad Lib from a text file in a specific format. The text file represents placeholders as tokens that start and end with brackets, like or . Your app reads the file, looks for any such placeholders, and prompts the user to replace them with specific words. Once the user has typed in replacements for all placeholders, the completed story is shown on the screen. The screenshots below indicate a possible flow of the UI for such an app. Our flow has three activities: An initial "welcome" screen explaining the app, then a screen that repeatedly prompts the user to fill in placeholders, then a third activity to display the completed story. Of course you don't need
Program Specification: Mad Libs "Mad Libs" are short stories that have blanks called placeholders to be filled in. In the non-computerized version of this game, one person asks a second person to fill in each of the placeholders without the second person knowing the overall story. Once all placeholders are filled in, the second person is shown the resulting silly story. Write an Android app that reads in a Mad Lib from a text file in a specific format. The text file represents placeholders as tokens that start and end withbrackets, like
or . Your app reads the file, looks for any such placeholders and prompts the user to replace them with specific words. Once the user has typed in replacements for all placeholders, the completed story is shown on the screen. The screenshots below indicate a possible flow of the Ul for such an app. The example flow has three activities: An initial "welcome" screen explaining the app, then a screen that repeatedly prompts the user to fill in placeholders, then a third activity to display the completed story. Of course you don't need to exactly match the sample's Ul, but it may give you ideas. Fill in the words to complete the story! Your Mad Lib Story! One of the most silly charaoters in fict e narmed Tarzn of the bees Trzan was raised by a/en frisbee and Ives in the grumpy "ungle the heart of darkest Canads He spends most of his time eetng raisins and swinging from tree to football whenever he gets angry he bests on his chest and sa booyah P This is his wer cry, Tarzsn slways dresses in smelly shorts made from the kin of aen partment and his best friend is a fat dhimpanzee named Cheetah He is suppesed to be sble to speak to elephants and bears In the movies, Trzan is pared hy Mehran 7 word(a) loft houn MAD LIBS GET STARTED! Here is the text of that file, to give you an idea of the Mad Lib format ne of the most ."Tarzan was raised by a/an . henever he gets angry, he beats on his chest and says, " " This is his war cry. Tarzan always dresses in | shorts made from the skin of a/an noun and his best friend is a/an The code for reading a Mad Lib text file, breaking it apart, looking for the placeholders, etc. is really basic Java programming, so perhaps it is less relevant to this course. To make the assignment more manageable, if you want a head start toward implementing this particular option, you have been given a file called MadLib.java that you can optionally use as a building block. If you put MadLib.java into your project, you can construct a MadLib object and pass it an input stream or Scanner and it will read the text data from that source, break the text apart, and find the placeholders for you, etc. The MadLib object has other methods for filling in the placeholders later. If you use this helper object, you can focus more on the "Androidy" parts of this assignment and less on the string / text processing parts. If you want to try to write the Mad Lib parsing logic yourself, you certainly can Program Specification: Mad Libs "Mad Libs" are short stories that have blanks called placeholders to be filled in. In the non-computerized version of this game, one person asks a second person to fill in each of the placeholders without the second person knowing the overall story. Once all placeholders are filled in, the second person is shown the resulting silly story. Write an Android app that reads in a Mad Lib from a text file in a specific format. The text file represents placeholders as tokens that start and end withbrackets, like or . Your app reads the file, looks for any such placeholders and prompts the user to replace them with specific words. Once the user has typed in replacements for all placeholders, the completed story is shown on the screen. The screenshots below indicate a possible flow of the Ul for such an app. The example flow has three activities: An initial "welcome" screen explaining the app, then a screen that repeatedly prompts the user to fill in placeholders, then a third activity to display the completed story. Of course you don't need to exactly match the sample's Ul, but it may give you ideas. Fill in the words to complete the story! Your Mad Lib Story! One of the most silly charaoters in fict e narmed Tarzn of the bees Trzan was raised by a/en frisbee and Ives in the grumpy "ungle the heart of darkest Canads He spends most of his time eetng raisins and swinging from tree to football whenever he gets angry he bests on his chest and sa booyah P This is his wer cry, Tarzsn slways dresses in smelly shorts made from the kin of aen partment and his best friend is a fat dhimpanzee named Cheetah He is suppesed to be sble to speak to elephants and bears In the movies, Trzan is pared hy Mehran 7 word(a) loft houn MAD LIBS GET STARTED! Here is the text of that file, to give you an idea of the Mad Lib format ne of the most ."Tarzan was raised by a/an . henever he gets angry, he beats on his chest and says, " " This is his war cry. Tarzan always dresses in | shorts made from the skin of a/an noun and his best friend is a/an The code for reading a Mad Lib text file, breaking it apart, looking for the placeholders, etc. is really basic Java programming, so perhaps it is less relevant to this course. To make the assignment more manageable, if you want a head start toward implementing this particular option, you have been given a file called MadLib.java that you can optionally use as a building block. If you put MadLib.java into your project, you can construct a MadLib object and pass it an input stream or Scanner and it will read the text data from that source, break the text apart, and find the placeholders for you, etc. The MadLib object has other methods for filling in the placeholders later. If you use this helper object, you can focus more on the "Androidy" parts of this assignment and less on the string / text processing parts. If you want to try to write the Mad Lib parsing logic yourself, you certainly can