<?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: Problems with the Hello World Map sample in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11455#M72</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens when you try to start the sample? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't tried uninstall and reinstall the SDK please do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it still does not work afterwards, could you show us the logcat of the crash?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 05:23:35 GMT</pubDate>
    <dc:creator>SimonKlein</dc:creator>
    <dc:date>2012-05-09T05:23:35Z</dc:date>
    <item>
      <title>Problems with the Hello World Map sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11451#M68</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;SPAN&gt;I�??m new to ArcGIS for Android and have problems with the arcgis samples. When I try to launch the �??Hello World�?� Maps example on my android phone it always crashes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the MapView initExtent as shown in the help section &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/help/#/Hello_World_Map/011900000005000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt; and tried it again without effect. All permissions and variables are set in the manifest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another example Viewshed is working out of the box on my phone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;04-12 11:58:41.540: D/AndroidRuntime(4100): Shutting down VM&lt;BR /&gt;04-12 11:58:41.540: W/dalvikvm(4100): threadid=1: thread exiting with uncaught exception (group=0x4001e578)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100): FATAL EXCEPTION: main&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100): java.lang.VerifyError: com.esri.core.internal.b.a.b&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at com.esri.android.map.ags.ArcGISTiledMapServiceLayer.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at com.esri.android.map.ags.ArcGISTiledMapServiceLayer.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at com.esri.arcgis.android.samples.helloworld.HelloWorld.onCreate(HelloWorld.java:34)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.app.ActivityThread.access$1500(ActivityThread.java:117)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.os.Handler.dispatchMessage(Handler.java:99)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.os.Looper.loop(Looper.java:130)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at android.app.ActivityThread.main(ActivityThread.java:3691)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at java.lang.reflect.Method.invokeNative(Native Method)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:507)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)&lt;BR /&gt;04-12 11:58:41.545: E/AndroidRuntime(4100):&amp;nbsp; at dalvik.system.NativeStart.main(Native Method)&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Layout&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; 
&amp;lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
&amp;nbsp;&amp;nbsp;&amp;nbsp; android:orientation="vertical"
&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_width="fill_parent"
&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_height="fill_parent"
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;!-- MapView layout and initial extent --&amp;gt;
&amp;lt;com.esri.android.map.MapView
android:id="@+id/map"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
initExtent = "-1.3296373526814876E7 3930962.41823043 -1.2807176545789773E7 4201243.7502468005"&amp;gt;
&amp;lt;/com.esri.android.map.MapView&amp;gt;
&amp;nbsp;&amp;nbsp; 
&amp;lt;/LinearLayout&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Manifest&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; package="com.esri.arcgis.android.samples.helloworld"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:versionCode="1"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:versionName="1.0"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application android:icon="@drawable/icon" android:label="@string/app_name"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activity android:name=".HelloWorld"
&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; android:label="@string/app_name"
&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; android:configChanges="orientation"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intent-filter&amp;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; &amp;lt;action android:name="android.intent.action.MAIN" /&amp;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; &amp;lt;category android:name="android.intent.category.LAUNCHER" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/intent-filter&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activity&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;


&amp;lt;uses-permission android:name="android.permission.INTERNET"&amp;gt;&amp;lt;/uses-permission&amp;gt;
&amp;lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"&amp;gt;&amp;lt;/uses-permission&amp;gt;
&amp;lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"&amp;gt;&amp;lt;/uses-permission&amp;gt;
&amp;lt;uses-sdk android:minSdkVersion="8" /&amp;gt;
&amp;lt;uses-feature android:glEsVersion="0x00020000"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:required="true" /&amp;gt;
&amp;lt;/manifest&amp;gt; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
package com.esri.arcgis.android.samples.helloworld;

import android.app.Activity;
import android.os.Bundle;

import com.esri.android.map.MapView;
import com.esri.android.map.ags.ArcGISDynamicMapServiceLayer;
import com.esri.android.map.ags.ArcGISTiledMapServiceLayer;

public class HelloWorld extends Activity {
 MapView map = null;

 /** Called when the activity is first created. */
 public void onCreate(Bundle savedInstanceState) {
&amp;nbsp; super.onCreate(savedInstanceState);
&amp;nbsp; setContentView(R.layout.main);

&amp;nbsp; // Retrieve the map and initial extent from XML layout
&amp;nbsp; map = (MapView)findViewById(R.id.map);
&amp;nbsp; // Add dynamic layer to MapView
&amp;nbsp; map.addLayer(new ArcGISTiledMapServiceLayer("" +
&amp;nbsp; "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"));

 }

 protected void onPause() {
&amp;nbsp; super.onPause();
&amp;nbsp; map.pause();
 }

 protected void onResume() {
&amp;nbsp; super.onResume();
&amp;nbsp; map.unpause();
 }
 
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11451#M68</guid>
      <dc:creator>DanielMoraru</dc:creator>
      <dc:date>2021-12-10T20:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the Hello World Map sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11452#M69</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works for me on my phone and on my tablet but it does not change the viewshed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used exactly your code. Did you try to clean the project?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 12:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11452#M69</guid>
      <dc:creator>SimonKlein</dc:creator>
      <dc:date>2012-04-12T12:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the Hello World Map sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11453#M70</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure you uninstall any previous ESRI HelloWorld android projects that are on the device if any.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I deployed the HelloWorld app from two different computers (office/home) with a different name (Helloworld, helloworldtest) and the app would crash. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I uninstalled all ESRI hellowold apps from phone and computers and started over and now everything works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 13:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11453#M70</guid>
      <dc:creator>JohnAllen</dc:creator>
      <dc:date>2012-04-12T13:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the Hello World Map sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11454#M71</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've the same problem but nothing works! I'm trying to install it on the Galaxy Tab 10.1 with Android 3.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried with the 2.2, the 2.3 but the error is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How could I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 19:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11454#M71</guid>
      <dc:creator>AlessandroRuzzon</dc:creator>
      <dc:date>2012-05-08T19:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the Hello World Map sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11455#M72</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens when you try to start the sample? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't tried uninstall and reinstall the SDK please do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it still does not work afterwards, could you show us the logcat of the crash?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 05:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11455#M72</guid>
      <dc:creator>SimonKlein</dc:creator>
      <dc:date>2012-05-09T05:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the Hello World Map sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11456#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was using the 1.0.1 version. I downloaded the 1.1 and now it works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 19:17:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problems-with-the-hello-world-map-sample/m-p/11456#M73</guid>
      <dc:creator>AlessandroRuzzon</dc:creator>
      <dc:date>2012-05-09T19:17:26Z</dc:date>
    </item>
  </channel>
</rss>

