<?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 Re: How to import an geodatabase to my Android project in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698801#M4896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I read a lot of postings in this topic and i want to find exact this type of topic. so, thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2014 07:23:48 GMT</pubDate>
    <dc:creator>sarahzohar</dc:creator>
    <dc:date>2014-04-22T07:23:48Z</dc:date>
    <item>
      <title>How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698794#M4889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I'm now beginning with an Android SIG project. However, I could not import my file of geodatabase to my project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&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; Geodatabase geodatabase = null;

&amp;nbsp; File file = new File("/sdcard/geodatabase/GDB_Test.gdb");
&amp;nbsp; try {
&amp;nbsp;&amp;nbsp; geodatabase = new Geodatabase("/sdcard/geodatabase/GDB_Test.gdb");
&amp;nbsp; } catch (Exception e) {
&amp;nbsp;&amp;nbsp; // TODO Auto-generated catch block
&amp;nbsp;&amp;nbsp; e.printStackTrace();
&amp;nbsp;&amp;nbsp; if (geodatabase != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.addressText.setText("ok");
&amp;nbsp;&amp;nbsp; else if (file.exists())
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.addressText.setText("can not read");
&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.addressText.setText("nothing");

&amp;nbsp; }

&amp;nbsp; if (geodatabase != null) {
&amp;nbsp;&amp;nbsp; for (GeodatabaseFeatureTable gdbFeatureTable : geodatabase
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getGeodatabaseTables()) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (gdbFeatureTable.hasGeometry())
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mMapView.addLayer(new FeatureLayer(gdbFeatureTable));
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; There is always an exception and TextField shows "can not read". I've tried several files of geodatases but the results are the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for helping&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 12:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698794#M4889</guid>
      <dc:creator>zijianzhu</dc:creator>
      <dc:date>2014-03-31T12:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698795#M4890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to download the code from official tutorial website, the sample of code is "Offline routing". But it tells there are fatal error when I execute, I have already put the external files to the right path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 04-01 10:16:15.957: E/AndroidRuntime(30844): java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.esri.arcgis.android.samples.offlineroutingandgeocoding-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.esri.arcgis.android.samples.offlineroutingandgeocoding-1, /vendor/lib, /system/lib]]]: findLibrary returned null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;04-01 10:16:15.957: E/AndroidRuntime(30844):&amp;nbsp; at java.lang.Runtime.loadLibrary(Runtime.java:358)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 07:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698795#M4890</guid>
      <dc:creator>zijianzhu</dc:creator>
      <dc:date>2014-04-01T07:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698796#M4891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I tried to download the code from official tutorial website, the sample of code is "Offline routing". But it tells there are fatal error when I execute, I have already put the external files to the right path.&lt;BR /&gt;&lt;BR /&gt; 04-01 10:16:15.957: E/AndroidRuntime(30844): java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.esri.arcgis.android.samples.offlineroutingandgeocoding-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.esri.arcgis.android.samples.offlineroutingandgeocoding-1, /vendor/lib, /system/lib]]]: findLibrary returned null&lt;BR /&gt; &lt;BR /&gt;04-01 10:16:15.957: E/AndroidRuntime(30844):&amp;nbsp; at java.lang.Runtime.loadLibrary(Runtime.java:358)&lt;BR /&gt;&lt;BR /&gt;Thank you for help&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using eclipse plugin ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try to excute the 'Add Application toolkit' and Fix Project Properties from&amp;nbsp; the ArcGis Tools of project context menu.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2014 19:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698796#M4891</guid>
      <dc:creator>LisandroRueckert</dc:creator>
      <dc:date>2014-04-19T19:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698797#M4892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem. My code is below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A&amp;nbsp; java.lang.RuntimeException with message "Disk I/O error" is throwed when the Geodatabase is instantiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String dir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dir = dir +"/teste/RH_SampleData.gdb";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File f = new File(dir); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (f.exists()) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; geodatabase = new Geodatabase(dir);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; //get the geodatabase feature table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; geodatabaseFeatureTable = geodatabase.getGeodatabaseFeatureTableByLayerId(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; //create a feature layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; FeatureLayer featureLayer = new FeatureLayer(geodatabaseFeatureTable);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; mMapView.addLayer(featureLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception e) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log.v("XXX","Erro ao abrir mapa",e);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2014 19:45:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698797#M4892</guid>
      <dc:creator>LisandroRueckert</dc:creator>
      <dc:date>2014-04-19T19:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698798#M4893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Zijian and Lisandro,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your examples, are you using file geodatabases?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GDB_Test.gdb (Zijian) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RH_SampleData.gdb (Lisandro).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using a geodatabase locally on an Android device you need to use a runtime geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a quick test or example, You could create runtime content using ArcMap.&amp;nbsp; On ArcMap's File menu, point to Share as, and click Runtime content. There is a bit more to it than just clicking a menu choice.&amp;nbsp; You can read more about the workflows here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcMap creates a .geodatabase file, that you can place on the Android device.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, using a file browser I copied the output city.geodatabase onto my phone's sd card.&amp;nbsp; Then in Eclipse using the DDMS perspective you can see the file on the device and learn the folder names for the sd card.&amp;nbsp; In code I make a variable to reference that location:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String gdbPath = "/storage/extSdCard/ArcGISApp/city.geodatabase";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//In a try...catch I create a Geodatabase object and use the path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geodatabase geodatabase = new Geodatabase(gdbPath);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//From there you can get FeatureTables by their index position.&amp;nbsp; This line gets the first table using 0 as the index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeodatabaseFeatureTable geodatabaseFeatureTable = geodatabase.getGeodatabaseFeatureTableByLayerId(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//You can then use the table to create a feature layer and add the layer to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer featureLayer = new FeatureLayer(geodatabaseFeatureTable);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mMapView.addLayer(featureLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please check out this page for more details on the patterns of working with offline data:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/guide/create-an-offline-map.htm"&gt;https://developers.arcgis.com/android/guide/create-an-offline-map.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 22:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698798#M4893</guid>
      <dc:creator>RobertBurke</dc:creator>
      <dc:date>2014-04-21T22:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698799#M4894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes. I was try to using file geodatabases. I thought that .geodatabase was only a newer version of .gdb that came with 10.2.2 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using .geodatabase it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lisandro&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 23:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698799#M4894</guid>
      <dc:creator>LisandroRueckert</dc:creator>
      <dc:date>2014-04-21T23:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698800#M4895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The *.gdb file is for ArcGIS desktop, not for android. If you want to use vector data in android, you have to convert it to *.geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(1)In ArcGIS Desktop 10.2.2, open *.gdb file, use runtime content to convert to *.geodatbase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2)Put the *.geodatbase in the android card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Geodatabase localGdb = new Geodatabase( geodatabasePath);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (GeodatabaseFeatureTable gdbFeatureTable : localGdb.getGeodatabaseTables()) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (gdbFeatureTable.hasGeometry())&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(new FeatureLayer(gdbFeatureTable));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 05:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698800#M4895</guid>
      <dc:creator>EdwardLin</dc:creator>
      <dc:date>2014-04-22T05:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698801#M4896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I read a lot of postings in this topic and i want to find exact this type of topic. so, thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 07:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698801#M4896</guid>
      <dc:creator>sarahzohar</dc:creator>
      <dc:date>2014-04-22T07:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698802#M4897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Zijian and Lisandro,&lt;BR /&gt;&lt;BR /&gt;In your examples, are you using file geodatabases?&amp;nbsp; &lt;BR /&gt;GDB_Test.gdb (Zijian) &lt;BR /&gt;RH_SampleData.gdb (Lisandro).&lt;BR /&gt;&lt;BR /&gt;When using a geodatabase locally on an Android device you need to use a runtime geodatabase. &lt;BR /&gt;&lt;BR /&gt;For a quick test or example, You could create runtime content using ArcMap.&amp;nbsp; On ArcMap's File menu, point to Share as, and click Runtime content. There is a bit more to it than just clicking a menu choice.&amp;nbsp; You can read more about the workflows here: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ArcMap creates a .geodatabase file, that you can place on the Android device.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;For example, using a file browser I copied the output city.geodatabase onto my phone's sd card.&amp;nbsp; Then in Eclipse using the DDMS perspective you can see the file on the device and learn the folder names for the sd card.&amp;nbsp; In code I make a variable to reference that location:&lt;BR /&gt;&lt;BR /&gt;String gdbPath = "/storage/extSdCard/ArcGISApp/city.geodatabase";&lt;BR /&gt;&lt;BR /&gt;//In a try...catch I create a Geodatabase object and use the path.&lt;BR /&gt;&lt;BR /&gt;Geodatabase geodatabase = new Geodatabase(gdbPath);&lt;BR /&gt;&lt;BR /&gt;//From there you can get FeatureTables by their index position.&amp;nbsp; This line gets the first table using 0 as the index.&lt;BR /&gt;&lt;BR /&gt;GeodatabaseFeatureTable geodatabaseFeatureTable = geodatabase.getGeodatabaseFeatureTableByLayerId(0);&lt;BR /&gt;&lt;BR /&gt;//You can then use the table to create a feature layer and add the layer to the map.&lt;BR /&gt;FeatureLayer featureLayer = new FeatureLayer(geodatabaseFeatureTable);&lt;BR /&gt;mMapView.addLayer(featureLayer);&lt;BR /&gt;&lt;BR /&gt;Please check out this page for more details on the patterns of working with offline data:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/guide/create-an-offline-map.htm"&gt;https://developers.arcgis.com/android/guide/create-an-offline-map.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know if this helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, that is the reason. Our company are currently using ArcGIS serveur 10.0 and I do not know if we can update to 10.2 for free or not. In fact our clients are using the server 10.0 and I do not know if the update will block the clients. If it blocks the clients, I do not think our manager will do it for this Android Project, so that we can not use the offline edit and synchonization of geodatabase. Is there any solution to use these functions without update the ArcGIS server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ZHU Zijian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 14:07:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698802#M4897</guid>
      <dc:creator>zijianzhu</dc:creator>
      <dc:date>2014-04-22T14:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698803#M4898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any solution to use these functions without update the ArcGIS server?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=bf7cf42767454339b7769cbd48d0c5ae"&gt;sample&lt;/A&gt;&lt;SPAN&gt; demonstrates the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/android/guide/create-an-offline-map.htm#ESRI_SECTION1_E2093983C98B4E74A1ED574608537642"&gt;services&lt;/A&gt;&lt;SPAN&gt; pattern for generating a runtime geodatabase from a feature service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 15:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698803#M4898</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2014-04-22T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698804#M4899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This &lt;A href="http://www.arcgis.com/home/item.html?id=bf7cf42767454339b7769cbd48d0c5ae"&gt;sample&lt;/A&gt; demonstrates the &lt;A href="https://developers.arcgis.com/android/guide/create-an-offline-map.htm#ESRI_SECTION1_E2093983C98B4E74A1ED574608537642"&gt;services&lt;/A&gt; pattern for generating a runtime geodatabase from a feature service.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, but the server 10.0 do not have the "synchronize replica " option and "Create Replica " option. I have tried but failed, can not generate local geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zijian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 15:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698804#M4899</guid>
      <dc:creator>zijianzhu</dc:creator>
      <dc:date>2014-04-22T15:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698805#M4900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The *.gdb file is for ArcGIS desktop, not for android. If you want to use vector data in android, you have to convert it to *.geodatabase.&lt;BR /&gt;(1)In ArcGIS Desktop 10.2.2, open *.gdb file, use runtime content to convert to *.geodatbase.&lt;BR /&gt;(2)Put the *.geodatbase in the android card.&lt;BR /&gt; Geodatabase localGdb = new Geodatabase( geodatabasePath);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (GeodatabaseFeatureTable gdbFeatureTable : localGdb.getGeodatabaseTables()) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (gdbFeatureTable.hasGeometry())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(new FeatureLayer(gdbFeatureTable));&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is valid for the Java Runtime too ? It only will work with .geodatabase file ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698805#M4900</guid>
      <dc:creator>LisandroRueckert</dc:creator>
      <dc:date>2014-04-24T12:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698806#M4901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need more information about this topic&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698806#M4901</guid>
      <dc:creator>sarahzohar</dc:creator>
      <dc:date>2014-05-12T10:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698807#M4902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure our clients are using the 10.0 server and I do not know if the update will be the clients.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 08:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698807#M4902</guid>
      <dc:creator>sarahzohar</dc:creator>
      <dc:date>2014-05-20T08:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698808#M4903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think! This is a temporary fix to get your mxd files working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 09:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698808#M4903</guid>
      <dc:creator>sarahzohar</dc:creator>
      <dc:date>2014-06-04T09:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an geodatabase to my Android project</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698809#M4904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My code crashed at &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geodatabase geodatabase = new Geodatabase(gdbPath);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with error java.io.FileNotFoundException: /ArcGIS/TEC/LocalNetwork/Obstacles/data/test.geodatabase does not exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My MXD contains one polygon feature class.&amp;nbsp; When I run the create runtime content tool and I have a .geodatabase file, but nothing else. I have created runtime content for a network and open and solve on that that with no issue, but there is also a .tn directory that contains the network.&amp;nbsp; Where are the obstacle data stored?&amp;nbsp; is it in the .geodatabase file?&amp;nbsp; That is only Kilobytes in size.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Zijian and Lisandro,&lt;BR /&gt;&lt;BR /&gt;In your examples, are you using file geodatabases?&amp;nbsp; &lt;BR /&gt;GDB_Test.gdb (Zijian) &lt;BR /&gt;RH_SampleData.gdb (Lisandro).&lt;BR /&gt;&lt;BR /&gt;When using a geodatabase locally on an Android device you need to use a runtime geodatabase. &lt;BR /&gt;&lt;BR /&gt;For a quick test or example, You could create runtime content using ArcMap.&amp;nbsp; On ArcMap's File menu, point to Share as, and click Runtime content. There is a bit more to it than just clicking a menu choice.&amp;nbsp; You can read more about the workflows here: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ArcMap creates a .geodatabase file, that you can place on the Android device.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;For example, using a file browser I copied the output city.geodatabase onto my phone's sd card.&amp;nbsp; Then in Eclipse using the DDMS perspective you can see the file on the device and learn the folder names for the sd card.&amp;nbsp; In code I make a variable to reference that location:&lt;BR /&gt;&lt;BR /&gt;String gdbPath = "/storage/extSdCard/ArcGISApp/city.geodatabase";&lt;BR /&gt;&lt;BR /&gt;//In a try...catch I create a Geodatabase object and use the path.&lt;BR /&gt;&lt;BR /&gt;Geodatabase geodatabase = new Geodatabase(gdbPath);&lt;BR /&gt;&lt;BR /&gt;//From there you can get FeatureTables by their index position.&amp;nbsp; This line gets the first table using 0 as the index.&lt;BR /&gt;&lt;BR /&gt;GeodatabaseFeatureTable geodatabaseFeatureTable = geodatabase.getGeodatabaseFeatureTableByLayerId(0);&lt;BR /&gt;&lt;BR /&gt;//You can then use the table to create a feature layer and add the layer to the map.&lt;BR /&gt;FeatureLayer featureLayer = new FeatureLayer(geodatabaseFeatureTable);&lt;BR /&gt;mMapView.addLayer(featureLayer);&lt;BR /&gt;&lt;BR /&gt;Please check out this page for more details on the patterns of working with offline data:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/guide/create-an-offline-map.htm"&gt;https://developers.arcgis.com/android/guide/create-an-offline-map.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know if this helps.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 17:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-import-an-geodatabase-to-my-android-project/m-p/698809#M4904</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2014-06-05T17:45:00Z</dc:date>
    </item>
  </channel>
</rss>

