I am using ArcGIS Android SDK for developping application in my company.We have WebMaps that represent building floors.WebMaps are constructed in a way that each webmap has 4 Layers (Basemap ,Polygons,lines and points). The problem here is that i cannot find any way to ADD more layers (not sublayers) to a runtime geodatabase once it is created.
To be more clear here is a snippet of my code:
String gdbFileName = Environment.getExternalStorageDirectory().getPath() + "/ArcGIS/offlinedata.geodatabase" GeodatabaseSyncTask myGdbTask=new GeodatabaseSyncTask(layerUrl, null) myGdbTask.generateGeodatabase(params, gdbFileName , false, statusCallback, gdbResponseCallback);
The database is created successfully and i get the path in the callback. Moreover i can add it to the mapview.
I want to add more Feature Layers to the same geodatabase. Is that possible ? and if yes, How can i do that ?
Thanks in advance.