<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Quick Runtime Test App for Tile Packages? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445334#M5387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am producing tile packages that are being used in a vendor-created application that uses ArcGIS Runtime.&amp;nbsp; The process to place the tile package into this application is lengthy and cumbersome.&amp;nbsp; I need a way to view/test the tile package in a Runtime environment.&amp;nbsp; Is there a simple demo application built that I can use to accomplish this on a PC?&amp;nbsp; I am not a developer, but would be willing to take a couple of "gettting started" walk-through trainings if needed.&amp;nbsp; Looking for a point in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2015 12:45:36 GMT</pubDate>
    <dc:creator>AdamRepsher</dc:creator>
    <dc:date>2015-11-06T12:45:36Z</dc:date>
    <item>
      <title>Quick Runtime Test App for Tile Packages?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445334#M5387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am producing tile packages that are being used in a vendor-created application that uses ArcGIS Runtime.&amp;nbsp; The process to place the tile package into this application is lengthy and cumbersome.&amp;nbsp; I need a way to view/test the tile package in a Runtime environment.&amp;nbsp; Is there a simple demo application built that I can use to accomplish this on a PC?&amp;nbsp; I am not a developer, but would be willing to take a couple of "gettting started" walk-through trainings if needed.&amp;nbsp; Looking for a point in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 12:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445334#M5387</guid>
      <dc:creator>AdamRepsher</dc:creator>
      <dc:date>2015-11-06T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Runtime Test App for Tile Packages?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445335#M5388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have access to Visual Studio or are you looking for a deployed application that would allow you to test this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445335#M5388</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-11-06T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Runtime Test App for Tile Packages?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445336#M5389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/14792"&gt;Freddie Gibson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If I can use the Express version - I think it is now called Visual Studio Community - Yes, I can download that and install.&amp;nbsp; Again, I have no developer experience.&amp;nbsp; I would need a walk-thru for everything.&amp;nbsp; If there is a good tutorial that utilizes the Tile Package and can just view, pan and zoom - I bet I could piece it together. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 19:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445336#M5389</guid>
      <dc:creator>AdamRepsher</dc:creator>
      <dc:date>2015-11-06T19:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Runtime Test App for Tile Packages?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445337#M5390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that there is enough information on the Esri website for you to be able to quickly put a sample together. The hard part would be if you're not familiar with programming and have to also learn C# or VB.Net. If you install Visual Studio on your machine I don't mind writing up a quick application that you can use to load the packages. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 20:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445337#M5390</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-11-06T20:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Runtime Test App for Tile Packages?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445338#M5391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Freddie,&lt;/P&gt;&lt;P&gt;You are incredibly gracious. I can have Visual Studio installed Monday morning and we can go from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could go through some of the tutorials found there, but which SDK should I use?&amp;nbsp; Qt? .NET?&amp;nbsp; This sounds a bit like me starting out with FLEX a number of years ago. I was able to make some changes and compile.&amp;nbsp; Nothing too complex though. Never created anything from scratch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your offer to write a quick application. I just don't want to add to your workload. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2015 19:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445338#M5391</guid>
      <dc:creator>AdamRepsher</dc:creator>
      <dc:date>2015-11-07T19:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Runtime Test App for Tile Packages?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445339#M5392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for the delay. I'll attach the sample application to this message. As to which SDK you should use, it would depend on your business requirements with the Runtime SDK. I personally prefer .NET because I'm more proficient in it and typically work in Windows environments, but I also leverage Java, Android, and iOS when the project requires using one of those SDKs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample I've written uses the Runtime for .NET SDK. For each runtime API there should a sample application included that would most likely have a sample that shows how to open a tile package. I would assume that if you're familiar with other languages you shouldn't have too much trouble rewriting this sample into those languages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also included a copy of the logic I used below along with an image of the application. You'll see that the application contains a single button that you can use to load tile packages from disk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-11-11_1705.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/141917_2015-11-11_1705.png" style="width: 620px; height: 465px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;using System.Windows.Forms;
using Esri.ArcGISRuntime.Controls;
using System;
using System.Diagnostics;
using System.Linq;
using System.Windows;
using Esri.ArcGISRuntime.Layers;


namespace LoadTilePackage
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; public partial class MainWindow : Window
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public MainWindow()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private async void LoadButton_OnClick(object sender, RoutedEventArgs e)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Allow the user to browse to a tile package
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string tpkPath = BrowseFolderForFile("Please select a Tile Package", "Tile Package (*.tpk)|*.tpk");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (String.IsNullOrEmpty(tpkPath))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create a map to hold the layer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map map = new Map();


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Load the tile package
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGISLocalTiledLayer layer = new ArcGISLocalTiledLayer(tpkPath);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; await layer.InitializeAsync();


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Add the tpk to the map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.Layers.Add(layer);


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Replace the MapView's map with the new map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMapView.Map = map;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public string BrowseFolderForFile(string title, string extension)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OpenFileDialog openFileDialog = new OpenFileDialog
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filter = extension,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Multiselect = false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowHelp = true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title = title
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (openFileDialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return string.Empty;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string fileName = openFileDialog.FileName;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return fileName;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:54:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quick-runtime-test-app-for-tile-packages/m-p/445339#M5392</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2021-12-11T19:54:13Z</dc:date>
    </item>
  </channel>
</rss>

