I have been struggling to create a local database from an AGOL feature service with the Java Quartz Beta 2 SDK. This is a requirement for my project and I need some help in getting a hosted feature service into a database. I have gone over the guide and the sample code but there seem to be some errors.
For example:
1) geodatabaseSyncTask = new GeodatabaseSyncTask(FEATURE_SERVICE_URL, null); - There is no field for a null in the constructor
2) geodatabaseSyncTask.fetchFeatureServiceInfo(new CallbackListener<FeatureServiceInfo>() - There is not a fetchFeatureServiceInfo method, I have been getting the same result by using ArcGISFeatureServiceInfo class.
And so on...
I am only looking for a very simple code example on how to create a local database from an ArcGIS online hosted feature service. Could someone get me started?
And thanks for the previous help on getting to the service url the new Quartz rocks!!!
Thanks,
Tom