Chapter 17
Working with Forms and Camera
My biggest motivation? Just to keep challenging myself. I see life almost like one long University education that I never had. Every day I'm learning something new.
- Richard Branson
Up till now, the FoodPin app is only capable of displaying content. We need to find a way for users to add a new restaurant. In this chapter, we will create a new screen that displays an input form for collecting restaurant information. In the form, it will let users pick a restaurant photo from the built-in photo library. You'll learn a number of techniques:
- How to create a form input using
TextField
andTextEditor
- How to access the built-in photo library and work with camera
Figure 17-1 shows you the screen that we are going to build. It's a simple input form that comprises text fields and text view.

To access the full version of the book, please get the full copy here. You will also be able to access the full source code of the project.