GeoDatabase Android

652
4
05-11-2021 02:04 AM
Amitkhillan
New Contributor

https://developers.arcgis.com/android/kotlin/sample-code/generate-geodatabase/

I am working on this Link Above, though I am able to load the map as per TPK File stored but not able to see layers which are created over the map.

0 Kudos
4 Replies
RamaChintapalli
Esri Contributor

HI,

In this sample, when you click on the Generate Button. The data from the feature service will be downloaded offline and once the download is complete, the features should render from local geodatabase. Do you see the progress reported in the dialog or any error from LogCat in the Job Status while downloading ?

Thanks
Rama

0 Kudos
Amitkhillan
New Contributor

It works fine now, but most of times it fails to load data. It showed up data on map generated offline.

Thanks for reply.

0 Kudos
Amitkhillan
New Contributor

Also , It would be great as have some queries related to annotations pasting below.

 

On One mapView, Can we draw line, Circle and Polygon and capture their last
coordinates which completes Points with above. As we are enabling multiple functionalities
onTouch() listener and on singleTapConfirmed() will it be feasible to draw and get points?

Thanks In Advance if you can help us with tutorials of drawing circle, line and polygon?
0 Kudos
RamaChintapalli
Esri Contributor

Hi,

We have a SketchEditor UI component that helps in edit or sketch of a new point, line, or polygon geometry etc on to a map. 

Here is the sample for using SketchEditor,
https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/sketch-editor

Here is the list of the supported SketchCreationModes,
https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/mapping/view/Sk...

From the sketchEditor you can get the geometry which should contain details of all the parts & vertices of the geometry.

Thanks
Rama

0 Kudos