Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Download datasources screen doesn't show anything? #11

Open
JohnHBrock opened this issue Sep 20, 2014 · 3 comments
Open

Download datasources screen doesn't show anything? #11

JohnHBrock opened this issue Sep 20, 2014 · 3 comments

Comments

@JohnHBrock
Copy link

I built and installed the app, but when I go to the "DOWNLOAD" screen under Data Sources, nothing shows up.

@nuest
Copy link

nuest commented Sep 22, 2014

The server component that provides different data sources is currently offline since we are currently not actively developing this app. I reactivated it (http://geoviqua.dev.52north.org/geoar/) - can you please check if data sources can now be downloaded?

If you want to use your own data sources you will have to deploy your own server though, see https://github.com/52North/geoar-codebase

@JohnHBrock
Copy link
Author

Cool, thanks! I'm now able to download the datasources through the app, but as soon as I try turning one on by clicking the checkbox, the app crashes with a message about an unhandled exception. fail_0log shows this:

java.lang.NoClassDefFoundError: org/n52/geoar/newdata/SpatialEntity
at java.lang.Class.getDeclaredMethods(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:656)
at org.n52.geoar.newdata.DataSourceHolder.perfomInjection(DataSourceHolder.java:386)
at org.n52.geoar.newdata.DataSourceHolder.initializeVisualizations(DataSourceHolder.java:506)
at org.n52.geoar.newdata.DataSourceHolder.getVisualizations(DataSourceHolder.java:316)
at org.n52.geoar.DataSourceListAdapter.getDataSourceInstanceView(DataSourceListAdapter.java:482)
at org.n52.geoar.DataSourceListAdapter.getGroupView(DataSourceListAdapter.java:354)
at android.widget.ExpandableListConnector.getView(ExpandableListConnector.java:446)
at android.widget.AbsListView.obtainView(AbsListView.java:2450)
at android.widget.ListView.measureHeightOfChildren(ListView.java:1364)
at android.widget.ListView.onMeasure(ListView.java:1276)
at android.view.View.measure(View.java:16654)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5150)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
at android.view.View.measure(View.java:16654)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5150)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:16654)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2064)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1189)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1374)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1076)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5913)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:807)
at android.view.Choreographer.doCallbacks(Choreographer.java:601)
at android.view.Choreographer.doFrame(Choreographer.java:562)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:791)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5867)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.n52.geoar.newdata.SpatialEntity" on path: DexPathList[[zip file "/storage/emulated/0/Android/data/org.n52.geoar/files/org.n52.android.52n-geoar-ds-noise.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
... 38 more

@JGeraldoLima
Copy link

Hi, sorry about the delay! I was the first one to use this library, and I put some guides here. I used my own database, but it is local (on the user's device, using SQLite). If you need the same, just copy+paste the model of one of the projects in this link(https://github.com/52North/geoar-datasources) and edit the class <*Response> to acess you database. Don't forget to adapt the other classes to work with you objetc (if you need more/less attributes).

If you need help about anything more, please contact me :) good luck!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants