Android Demo Source Won't Build

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
Avila
Posts: 2
Joined: 21 Jul 2016 05:12

Android Demo Source Won't Build

Post by Avila »

I've spent a couple of days trying to get the Android App demo source code to build, but it fails because it relies on the SwipeListView from FortySevenDegrees, and they have removed the website this component is sourced from.

There is probably a workaround, either using another component or adding a local copy of the source for this component to the project, but as a newbie to Android builds it isn't obvious to me.

I would expect that provided demonstration code used to advertise the product on the website would at least be buildable, can someone with more knowledge be able to point out how to get this working, and/or fix source source in the repo?
Avila
Posts: 2
Joined: 21 Jul 2016 05:12

Re: Android Demo Source Won't Build

Post by Avila »

Four hours later and I've managed to get it to build, by finding a copy of android-swipelistview-master.zip on the net, unpacking it and adding the swipelistview project within it as a subproject of the Z-Way-Android project, and working through the various errors about compile and build tool versions and references that Android Studio threw at me.

There were several copies around, I used this one:
http://www.java2s.com/Open-Source/Andro ... stview.htm

So I now have a working, debuggable version of the app running on my phone! :D

At this stage it won't connect. Possibly my settings, or the authentication problem others have posted about on this forum. But getting there now!
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Android Demo Source Won't Build

Post by PoltoS »

If you have some contribution, please make pull requests!
Post Reply