Select to view content in your preferred language

The map wouldnt Show Up in HelloWorld Application

4936
11
Jump to solution
11-18-2012 01:23 AM
cadgism
Regular Contributor
Hi All

I am trying to run the HelloWorld sample.  There were no errors. It compiles (Builds..). The emulator starts succesful
Even the Application title appears but No Maps!!!.
What is wrong please..!!!

===========================================================================================================
[2012-11-18 14:09:40 - HelloWorld] Android Launch!
[2012-11-18 14:09:40 - HelloWorld] adb is running normally.
[2012-11-18 14:09:40 - HelloWorld] Performing com.esri.arcgis.android.samples.helloworld.HelloWorld activity launch
[2012-11-18 14:09:40 - HelloWorld] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'ArcGISAVD'
[2012-11-18 14:09:40 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2012-11-18 14:11:36 - HelloWorld] Installing HelloWorld.apk...
[2012-11-18 14:11:46 - HelloWorld] Success!
[2012-11-18 14:11:46 - HelloWorld] Starting activity com.esri.arcgis.android.samples.helloworld.HelloWorld on device emulator-5554
[2012-11-18 14:11:48 - HelloWorld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.esri.arcgis.android.samples.helloworld/.HelloWorld }
================================================================================================================
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Original User: dano

There are many ways to set Android emulator proxy settings.  One way is from within Eclipse you can specify the network command line option when launching the emulator as described below. 

From within Eclipse:
1. Open Preferences > Android > Launch
2. Enter the following under Default emulator settings: -http-proxy <proxy>
The value of <proxy> can be http://<server>:<port>.

View solution in original post

0 Kudos
11 Replies
cadgism
Regular Contributor
The following is my environment if it can be of any help..

Target name : Android 4.1.2
Vendor : Android Open Source Project
Platform : 4.1.2
API Level : 16

Any help please..!!!!
0 Kudos
by Anonymous User
Not applicable
Original User: tmsbn90

The following is my environment if it can be of any help..

Target name : Android 4.1.2
Vendor : Android Open Source Project
Platform : 4.1.2
API Level : 16

Any help please..!!!!


Verify the internet connection from your emulator. Are you under a proxy?
0 Kudos
cadgism
Regular Contributor
Thank You Binu Thomas.

No, There is no Internet connection from My Emulator. How can I connect to the internet from My Emulator Please?
Yes I am under a proxy. Is there anything i should do regarding proxy ?
0 Kudos
by Anonymous User
Not applicable
Original User: tmsbn90

Thank You Binu Thomas.

Internet Connection is Ok.
Yes I am under a proxy. Is there anything i should do regarding proxy ?


Did you enter the proxy settings for your connection in eclipse?
You can find it under window>preferences>general>network connections
0 Kudos
cadgism
Regular Contributor
Did you enter the proxy settings for your connection in eclipse?
You can find it under window>preferences>general>network connections


Yes I have all the proxy settings in eclipse. But the emulator do not connect to inter net..
0 Kudos
by Anonymous User
Not applicable
Original User: dano

There are many ways to set Android emulator proxy settings.  One way is from within Eclipse you can specify the network command line option when launching the emulator as described below. 

From within Eclipse:
1. Open Preferences > Android > Launch
2. Enter the following under Default emulator settings: -http-proxy <proxy>
The value of <proxy> can be http://<server>:<port>.
0 Kudos
cadgism
Regular Contributor
Hi All

Yes, there was no internet connection on the emulator. The problem Solved.

Thank You.
cadgis.
0 Kudos
by Anonymous User
Not applicable
Original User: aryasharad

There are many ways to set Android emulator proxy settings.  One way is from within Eclipse you can specify the network command line option when launching the emulator as described below. 

From within Eclipse:
1. Open Preferences > Android > Launch
2. Enter the following under Default emulator settings: -http-proxy <proxy>
The value of <proxy> can be http://<server>:<port>.


Hi,

I tried these steps in eclipse but no map image is displaying on emulator and getting an error in logcat...

com.esri.core.io.EsriServiceException : Proxy Authorization required at com.esri.core.internal.io.handler.c.a(Unknown source)......

My working env is :
Android 4.2
Arcgis Android SDK 10.1.1

When i check the network connection in Window-->Preference-->General-->Network connection it has proxy settings in this way..
Schema : HTTP
HOST : proxy.companyname.com
Port : 8080
Provider : Native
Auth : No
User Name : <Blank>
Password : <Blank>

One more thing which is surprising for me that Internet is working on emulator by setting the proxy values in Mobile network (APN)

What is missing by which map is not displaying on emulator.
Please help......
Thanks
0 Kudos
Pavandeshpande
New Contributor
For the first time it's very difficult to get hand on android development so here is the step by step instruction on setting up and writing android application

1) you need to setup the development envirnment and configure it for the first time
     a)  Set up Android Development Environment
     b) Configure Environment Variable for android
     c) Create android virtual device

2) After you setup the development environment now you are set ready to write android application for sample example
check here android helloworld
0 Kudos