|
POST
|
I would paste that in your application class as that is used to maintain global application state: Application | Android Developers Are you finding that when you paste your license code that it does not authorize it at the correct license level? (looks like you are trying to use a basic license from code pasted but looks like you are showing a lite license in sample above) Are you able to authorize it at a lite level to see the watermark disappear? Perhaps it is an issue with the license string itself.
... View more
05-24-2017
06:35 AM
|
1
|
4
|
1908
|
|
POST
|
I see what you are saying. My assumption is that the feature server does not have that information defined. I ran into something similar to this the other day and was really blocked by it. If I get some time later today, I will investigate more on my end and see if I can come up with a working sample to figure out what might be going wrong here.
... View more
05-24-2017
06:32 AM
|
2
|
0
|
3246
|
|
POST
|
Nothing jumps out at me as being off here. Would you kindly upload the smallest reproducible sample for further inspection on my end?
... View more
05-24-2017
06:05 AM
|
0
|
8
|
4147
|
|
POST
|
So if you are targeting any runtime later than API level 22 for Android, you need to request permissions at runtime for what is considered a "dangerous" permission. This stack overflow post should help you request a permission at runtime: Android marshmallow request permission? - Stack Overflow
... View more
05-24-2017
06:03 AM
|
0
|
2
|
2358
|
|
POST
|
If you do not have an ArcMap license, you can use this tool called extent-helper: JS Extent Helper This should help you generate an extent in the web mercator projection. Hope this helps!
... View more
05-24-2017
06:00 AM
|
1
|
0
|
4947
|
|
POST
|
Rather than construct a new popupdefinition, have you tried just grabbing the existing one from the feature layer: PopupDefinition popupDefinition = featureLayer.getPopupDefinition();
... View more
05-23-2017
09:33 AM
|
0
|
0
|
3246
|
|
POST
|
Did you request runtime permissions? Requesting Permissions | Android Developers Can you place a link to the sample you used?
... View more
05-23-2017
05:46 AM
|
0
|
5
|
2358
|
|
POST
|
Can you upload the smallest reproducible case you have? I may be able to figure out what is going on if I have more code.
... View more
05-23-2017
05:44 AM
|
0
|
0
|
3246
|
|
POST
|
Are you storing your layout file in R.layout.my_layout? Can you upload the XML of the layout you used so I can test on my end?
... View more
05-23-2017
05:42 AM
|
0
|
10
|
4147
|
|
POST
|
Which runtime are you trying to use? In the latest runtime, this is yet to be exposed. There is an enhancement request placed for this to be added to the new runtime: ENH-000104889 Add a method to set the maximum extent of the map to Android Runtime 100.0 Alternatively, if you are working with the 10.2.x version of the runtime, mirhashmi2014's answer would be correct.
... View more
05-22-2017
05:59 AM
|
1
|
3
|
4947
|
|
POST
|
Moved this to the .NET stream rather than the Android stream as the Android stream refers to the native Android runtime.
... View more
05-19-2017
08:28 AM
|
1
|
2
|
2326
|
|
POST
|
I licensed my app, included Esri attribution in the "About" screen of my app, and I do not use an ArcGIS Online basemap. But unlike in the old API, the Esri attribution bar ("powered by Esri") is always visible (and I must say, I find it quite irritating...). Can I disable it somehow? Is it included in all license levels? You can use MapView.setAttributionText(boolean) to determine whether that grey bar on the bottom of the mapview is visible or not: Here is the documentation for this: GeoView| arcgis-android I could no longer find a way of storing the current map state when I pause the map activity. I.e. something like "restoreState" and "retainState". This means that my map always zooms back to the inital viewpoint, not to the user's last location. I would use MapView.getCurrentViewpoint(Viewpoint.Type) to get the viewpoint when you pause the map, following that with Viewpoint.toJson() so you can store the viewpoint in shared preferences or wherever you would like. You can then rebuild the viewpoint by calling Viewpoint.fromJson(String) and then passing that viewpoint to your mapview object. getCurrentViewpoint() GeoView| arcgis-android toJson() Viewpoint| arcgis-android When I add and remove graphics dynamically, it occasionally happens that a removed graphic is still being displayed. I checked the size of the corresponding graphicsOverlay - it is empty, and the graphic cannot be selected. So maybe the graphic is cached somehow? Is there any way to refresh the graphicsOverlay to clear the cache? This is interesting... I am going to have to try this and see if I can reproduce. I have another app that I wrote where I remove graphics and they no longer display. Hope this helps! Alexander
... View more
05-15-2017
05:24 AM
|
1
|
1
|
1262
|
|
POST
|
That seems to be it. If I get some time today, I will test this further and try to discuss with my colleagues.
... View more
05-10-2017
05:55 AM
|
1
|
0
|
1225
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-15-2014 03:16 PM | |
| 1 | 01-06-2015 03:33 PM | |
| 1 | 12-02-2014 10:47 AM | |
| 1 | 07-15-2014 03:31 PM | |
| 1 | 09-23-2014 03:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|