Select to view content in your preferred language

HelloWorld Sample for Android does not work !!!

2388
4
04-06-2014 01:02 AM
AmiraRashed
Emerging Contributor
Hello
      The sample HelloWorld for Android does not work with me , the activity stops .
I have Android SDK rev. 19 and OpenGL is enabled .
Can you please help me to configure my environment to work with the sample ?
Thanks and Best Regards
0 Kudos
4 Replies
RobertBurke
Esri Contributor
Hi Amira,

Could you please post some more information abuot the issue?

For example, are you testing on an actual device or using the emulator?

Could you share any error messages that appear in the LogCat or Console windows?
Rob Burke
0 Kudos
AmiraRashed
Emerging Contributor
Hello Robert
      Thank you so much for your reply , i am testing the helloWorld Sample on the Emulator and i am using Android API 19 .
i get an error that the Application have stopped and this error appear first when i load the application .
Best Regards
0 Kudos
RobertBurke
Esri Contributor
Without using any Esri pieces, can you run Android's HelloWorld in the emulator?

Are you set up to use the HAXM Emulator accelerator?
http://www.developer.com/ws/android/development-tools/haxm-speeds-up-the-android-emulator.html

What are all your property settings when you use AVD (Android Virtual Device manager) to create the emulator?

[ATTACH=CONFIG]33180[/ATTACH]

I know its not 19 like you are using, but you might give it a try to see if you can get one working.

I use this list as my guide when building one.  May be you could share yours too.

AVD Name: YourNameNexus7 name can vary
Device: 5.1�?� WVGA (will display nice and large)
CPU Intel Atom (x86)
Target: Android 4.0.3 �?? API Level 15
RAM: 512  (max allowable is 768)
VM Heap: 64
Internal Storage: 200M
SD Card: Size: 512MiB
Emulation Options: Check Use Host GPU (enable)

Please let me know what happens.  Thanks!
Rob Burke
0 Kudos
AmiraRashed
Emerging Contributor
Hello Robert
      Thank you so much for your reply , i tried the setting you have send for the emulator and now the sample Hello World Works Fine .
Do you know a sample can connect to the spetial database and a another sample that have polygons ?
Thanks and Best Regards







Without using any Esri pieces, can you run Android's HelloWorld in the emulator?

Are you set up to use the HAXM Emulator accelerator?
http://www.developer.com/ws/android/development-tools/haxm-speeds-up-the-android-emulator.html

What are all your property settings when you use AVD (Android Virtual Device manager) to create the emulator?

[ATTACH=CONFIG]33180[/ATTACH]

I know its not 19 like you are using, but you might give it a try to see if you can get one working.

I use this list as my guide when building one.  May be you could share yours too.

AVD Name: YourNameNexus7 name can vary
Device: 5.1�?� WVGA (will display nice and large)
CPU Intel Atom (x86)
Target: Android 4.0.3 �?? API Level 15
RAM: 512  (max allowable is 768)
VM Heap: 64
Internal Storage: 200M
SD Card: Size: 512MiB
Emulation Options: Check Use Host GPU (enable)

Please let me know what happens.  Thanks!
0 Kudos