Video guide · 2:38

Capture Photos, Signatures and GPS in a Handheld App

Add Photo, Signature and GPS Location fields to a page, set their options, and try them in the phone preview.

What you will learn

  • Add the Photo, Signature and GPS Location field types to a page
  • Allow several photos with Max photos, and make a signature required
  • Set how exact a GPS reading must be, how many readings to average, and when to give up
  • Try taking a photo, signing and capturing the location in the phone preview

Transcript

In this guide you will add three fields that use the phone itself: a photo, a signature, and a G P S location. We will set each one up in Studio, and then try them in the phone preview.

This app, Delivery Proof, is for drivers who drop off orders. Its page has an Order number. Open Build, and look at the Add a field list. Photo, Signature, and GPS Location are all in the list. Each one uses a part of the phone.

Click Photo, and name the field Delivery photo. The worker taps Take photo to open the camera. Scroll the options to Max photos. It is one by default. Type three, so the driver can take up to three pictures of the delivery.

Next, click Signature, and name it Signed by. The worker signs with a finger on a signature pad, and taps Accept. This field has no options of its own, so you can set it like any other field. For example, tick Required, and the page cannot be saved without a signature.

Last, click GPS Location, and name it Drop-off location. Open Location accuracy. Needs accuracy keeps reading until the position is as exact as you ask, in meters. Average readings takes several readings and averages them. And Give up after sets how long to wait, thirty seconds by default.

The latitude, the longitude, and the accuracy can also be copied into other fields on the page, such as Number fields, using the three pickers below. Then a workflow or a report can use them separately.

Now try the page. Above the phone, press Try it. Tap Take photo, and the preview adds a sample picture, a stand-in for the camera. Draw a signature with the mouse, and press Accept. Then press Capture location, and the preview shows sample coordinates with the accuracy.

Because we allowed three photos, the button now says Add photo, with a count such as two of three. A worker can remove a picture, press Re-sign to sign again, or press Recapture to read the location again. On a real phone the camera, the screen, and the location come from the device, and Android asks permission for the camera and the location the first time.

That is how you capture photos, signatures, and location. Add the field, set its options, and try it in the preview. Everything the worker captures is saved with the record, and you can see it in Records after the phone syncs.

Related

More guides

Start with one device today

Free for Studio, one handheld and one worker. No cloud account, no credit card.