00:01Continuing on the theme of building rich, native apps for mobile platforms in offline scenarios...
00:06...I'm going to show you what you can do with the ArcGIS Runtime SDK for Android and the Android platform itself.
00:13So here I have an ice cream sandwich tablet that's running 4.0 of Google's Android operating system, the latest version.
00:19So you can see that with the Runtime SDK, we're trying our hardest to support all of the latest versions that come out for Android.
00:27The application I'm going to launch is built with 1.1 of the Android SDK, and that's going to be available to you next week.
00:33And it's got some cool, neat features in it, and I'll take you through some of those neat features as I show you the app.
00:39The app is an app for an inspector to go out and look at wind turbines in the Palm Springs area.
00:45You might have seen some of these as you drove into town.
00:47So let's go ahead and launch the app.
00:50So this is a cool map, right? It's a completely blank screen.
00:53You might be thinking that's the first crash of the plenary. Luckily, that's supposed to happen.
00:58And the reason is because all of the data is actually on this tiny little SD card that hopefully you can see on the side of this device.
01:06So as soon as I plug that in, the SD card registers, and as if by magic, you can see the data come to life.
01:14So all this data is stored on the SD card, and there's base data that's a tiled service layer--sorry, tiled map layer.
01:22And that's being created from a map package exported from ArcGIS Server.
01:27In addition to that, you've got a feature layer on top of it, and this is an offline, in-memory feature layer.
01:32It's being created from a feature set, and this is available to you in the 1.0 version of the SDK that was out in December.
01:43Now, in 1.1, we're adding the ability to write features to and from JSON, so that's actually how it's been hydrated off of the disk.
01:49There's just been some JSON on the disk; it's been brought up and brought to life in the map.
01:53And as you can see, you've got the same cool, nice, smooth performance you'd expect.
01:58Okay, so what can this app do?
02:00So I can also do some local analysis.
02:03I can select some features on the map, draw a polygon, and what this has done is gone and selected a bunch of wind turbines.
02:15And that's all been done completely offline.
02:17So that's been done by the geometry engine class.
02:20This is a class that was available to you in 1.0 of the SDK--again, in December...
02:24...and it gives you the ability to do clips, buffers, intersections, and all of the other geometry operations that you'd expect from ArcGIS.
02:32Okay, so now I've planned where I want to go and what I want to inspect. Let's simulate going out into the field.
02:39The other cool thing about the Android platform is that you can plug in external devices of USB or by Bluetooth.
02:47So I'm going to need a volunteer to help me with this.
02:49Hopefully, Mr. David Cardella is going to come out on stage and pretend to be a wind turbine.
02:57So wave those hands. It's not a bad demo of a wind turbine.
03:02So what I've done is I've Bluetoothed my device--there we go. They suit you, David, they really do suit you.
03:16So I'm going to Bluetooth my device here; just make sure it's turned on...
03:25...and I'm going to take a shot at David's head, make it count.
03:29So please put on safety glasses; there is a laser included in here.
03:33And what we'll see is that the information from this device--I got him right in the eye--has been transferred to my application.
03:42Thanks, David. You're good; you're just a little shorter than I thought you were.
03:48Okay, so we can see the information from the laser range finder's been added on...
03:51...and we've actually added a new point based on the offset and the bearing of this device.
03:57So this shows you how you can integrate external devices that you commonly use out in the field.
04:04Okay, so that's one application that's been built with the ArcGIS for Android Runtime SDK.
04:10Now I'm going to go over and show you another application that's been built with the same SDK.
04:16This is the ArcGIS application for Android. It's available in the Google Play market, app store--whatever it's called these days...
04:24...and you can also see that it's running on the Kindle Fire.
04:27So since yesterday, I'm pleased to announce that this application is now available in the Amazon App Store.
04:32And I went and downloaded it yesterday.
04:35And this app, if you've seen it, gives the ability to look at all of your content from ArcGIS Online...
04:40...or that's been shared with you from your organization or your friends, and it also gives me the ability to open up some favorites.
04:48I'm going to go and open up one of my favorite maps.
04:52So this is a map of meter inspections in the city of Riverside here in California...
05:00...and you'll see it's got some base data, some dynamic map services, and some feature layers.
05:05This ArcGIS application gives you the ability to do some local queries, and the thing I want to show you...
05:13...is that it includes the ability to pull in pop-ups.
05:16Now, these pop-ups have been authored in Online; you've seen them--Jeremy did it this morning.
05:21And these are a much better way of displaying information to our users, 'cause it can summarize your data in a much easier way.
05:27You can look at hyperlinks to photos, you can summarize your attributes as pie charts, bar charts, and line graphs.
05:36Now these pop-ups are classes that are in our SDK today.
05:39So 1.0 of the Runtime SDK, you can create an application and leverage these pop-ups...
05:44...with a very small amount of code and just some configuration.
05:49So that's the app running on the Kindle Fire.
05:52The other thing I want to talk about for the Android platform is fragmentation.
05:55This is something that you probably all are aware of and it's been talked about a lot in the press.
06:00And we know how difficult it is to write applications that are supported on all of the devices that are out there.
06:05So what we've done is we've tried really hard in the SDK to support as many platforms as you possibly can...
06:11...so we support Android 2.2 and above; that gives you access to 95 percent of all of the Android devices out there...
06:18...and that's over 300 million devices.
06:21So we think you can write apps and get it out to enough people.
06:25So let me just summarize. The thing that you've seen here today...
06:27...you've seen a custom iOS application, you've seen a custom Android application, all built with the SDK.
06:33But there's one other thing I just want to mention before I hand back to you.
06:38So the application that you've seen running on here, the ArcGIS application...
06:41...we know that it does 80 percent of what you want it to do, but we also know that you would like to pick up this application...
06:47...and maybe modify it slightly with your own colors and add some of your own custom functionality.
06:52So we're committed in the next few months to open sourcing these applications for the Android and iOS platform...
06:58...to give you all the ability to do what you want with it.
Building Applications with ArcGIS Runtime SDK for Android
Will Crick demonstrates how to build applications with ArcGIS Runtime SDK for Android.
- Recorded: Mar 26th, 2012
- Runtime: 07:07
- Views: 1173
- Published: Apr 19th, 2012
- Night Mode (Off)Automatically dim the web site while the video is playing. A few seconds after you start watching the video and stop moving your mouse, your screen will dim. You can auto save this option if you login.
- HTML5 Video (Off) Play videos using HTML5 Video instead of flash. A modern web browser is required to view videos using HTML5.