Skip navigation
All Places > ArcGIS AppStudio > Blog > 2020 > April
2020

What's New?

 

AppStudio has over 80 samples included in AppStudio and AppStudio Player, which showcase a lot of specific functionalities that you can add to your AppStudio apps. We are excited to announce that we have some new samples in ArcGIS AppStudio 4.2 release. In this release, we upgraded ArcGIS Runtime to 100.7 which lets us take advantage of the new mapping related features from ArcGIS Runtime in our apps. In the StoryMap, I will introduce three samples in this version 4.2:

  • NEW! Find Connected Features in Utility Networks
  • NEW! Create, Edit and Save KML File
  • UPDATED! Portal User Info (4.2)

      Please check the following link to see the full StoryMap introducing the updates in samples!

 

      New and Updated Samples in ArcGIS AppStudio 4.2 Release 

NOTICE: This AppStudio Workshop is now full. Those interested in the workshop can register to be put on the waitlist and notified of future workshops.

 

AppStudio for ArcGIS Virtual Workshop

The AppStudio for ArcGIS team will be holding a free virtual workshop starting on April 28th. This hands-on workshop will give attendees the knowledge and skills they need to quickly start building cross-platform native apps with AppStudio.  The workshop is divided into 4 sections which will be presented over a two week period.  Please see the agenda below for details on workshop dates and times.

Who should attend? Esri users who are interested in building cross-platform apps using AppStudio for ArcGIS.

 

We will be using Zoom video conferencing technology to present the workshop, this will give the AppStudio team the ability to interact with attendees through chat and video conferencing. We will post the workshop video recording each day, this will give attendees with scheduling conflicts an opportunity to catch up on the material before the next section.

 

This is a free workshop, but you must register to attend as space will be limited.

 

Cost: Free

Register for Workshop

 

 

If you are interested in attending, please click the Register button above and complete the registration form. 

If you have any questions about the workshop, send an email to appstudiofeedback@esri.com.  

-The AppStudio Team

 

 

Agenda:
Tuesday April 28th  9:00am – 12:00pm PST

Day 1 – ArcGIS AppStudio: The Basics

  • Workshop Introduction and Prep
  • AppStudio Overview
  • Tour of AppStudio Desktop
  • Introduction to AppStudio Player
  • Exercise Configuring your first App

Thursday April 30th  9:00am – 12:00pm PST

Day 2 – ArcGIS AppStudio: Design, Distribution and Customization

  • Tips and Tricks of App Design
  • Distributing your AppStudio Apps
  • The AppStudio Architecture
  • Customizing your app with Code
    • Introduction to Qt Creator
    • Working with QML + JavaScript
  • Exercise: Customizing an App with code 

Tuesday May 5th  9:00am – 12:00pm PST

Day 3 – ArcGIS AppStudio: Coding Essentials

  • Testing and Debugging your Apps
  • Using Sample code in your app
  • AppStudio Coding Concepts
    • Building Layouts with QML
    • Using JavaScript in your Apps
  • Exercise: Create an app from Scratch

Thursday May 7th 9:00am – 12:00pm PST

Day 4 – ArcGIS AppStudio: Mapping and Advanced Components

  • Introduction to ArcGIS Runtime
  • Exercise: Putting a Map in your App
  • The Benefits of the AppStudio Framework
  • Add cross-platform functionality with Plugins

Exercise: Add Framework Components to your App

Although I’m generally not excited when I see a parking inspector on the side of the road, the technology nerd in me does always look around to see what gadgets they are using. Gone are the days of a notepad and pencil, instead they usually have an all-in-one device, or a phone with a printer hanging on their belt, to print out the tickets. 

 

Keen viewers of the AppStudio 4.2 highlights video  would have caught a glimpse of one of our newest samples - Print Location. This sample shows how your app can connect to a bluetooth printer, display a print preview, and send a print job directly to the paired printer. So, although you might not be designing a parking inspector app, you can now add the ability to print information from your app on the spot: a receipt of services completed, or evidence of data entered in the app. 

 

The printer used in the highlights video is a Zebra iMZ220. We’ve tested this printer on all our supported platforms and have had it whitelisted in AppStudio Player on iOS so you can use it on your iPhone or iPad, as well and Android, Windows, Mac and Ubuntu. Other printers can work in a similar way, and might only need a little tweaking of this current app. This app has not been designed specifically for, or tested with other printers, but can be used as a starting point for your own awesome app that prints to a bluetooth printer. 

 

Explore the Print Location sample 

 

The Print Location app is available in AppStudio for you to use as a sample. Of course, to fully test this app you will need a printer, but even if you do not have one, you can try out the print preview and get an idea of how you can use it. 

  1. Launch and sign in to AppStudio on your desktop. 
  2. Click New App, search for and choose Print Location and click Create. 
  3. Click Upload to make this app available in your ArcGIS organisation. 
  4. Launch and sign into Player on your device. 
  5. Browse for and download your new app, and click Play. 

 

There are three tools in this app: 

  • Settings 
  • Print Preview 
  • Print 

 

The Settings tool will be familiar to anyone who has worked with our GNSS Discover sample or any of apps that connect to a bluetooth GNSS receiver. The concept here is the same. You first pair the bluetooth accessory with the device, the app needs to then identify that paired device, and then once identified it can send or receive information to or from it. 

 

The Print Preview demonstrates what information will be sent to the printer. In this sample, see how there is a combination of things that were visible in the app – ie: the map – and things that were visible ie: the coordinates and time stamp. You choose what to print out independently of what is shown on the screen. 

 

The Print tool is self-explanatory. Whatever is shown in the print preview, is what is sent to the printer when you click Print. 

 

Things to consider  

 

  • An app that needs to communicate with a printer needs the Bluetooth capability to be set. 
  • This sample specifically filters for only devices that have ‘iMZ’ or ‘Zebra’ in their name. If you are experimenting with a different printer, remove (or comment out) lines 87 and 89 (leaving line 88) from /BluetoothPlugin/BluetoothManager/BluetoothSources.qml. 

When you do this, you will see that all paired Bluetooth devices will appear in the list. There isn’t a standard device type that can be used to filter for only printers, so once you get your app working with your printer, think of a good name filter to use to hide the noise of all possible pair devices. 

  • Whitelisting is required on iOS. In the case of Apple any hardware accessories that are to be used by an app, need to be identified by that app and vice versa. For details see Apples MFi Program, but the short version is that if you have a printer you want to use on iOS with your app, the printer manufacturer needs to identify your app, and your app needs to identify them. We have already whitelisted the Zebra iMZ220 with Player, but If you have a different printer you’d like to use with your app, I recommend testing it out on Android or Windows first, and then once you have it working on those, consider whitelisting. If you are using Player to run your app – please contact us with information about your printer and we will see it’s a device, we can have whitelisted.