Skip to content

deib-polimi/SPF2CouponingClientDemo

Repository files navigation

SPF2CouponingClientDemo

alt tag


Informations

This is a demo app that receives Coupons from a device with SPF and SPFCouponingProvider installed on it.

SPF2CouponingClientDemo requires Android 4.2 JellyBean MR1 (API 17) or higher. But I tested this new version only on 4.4.x KilKat, 5.x.x Lollipop and 6.0 Marshmallow. This choice is related to to the fact that in previous versions, Wi-Fi Direct was unstable and unreliable.

To be able to create apps based on SPF2, as this one, you must add SPFLib and SPFShared as remote dependencies into your build.gradle.

There are other 2 demo apps:

This app requires that clients have SPFCouponingProvider installed.

Main project page HERE Documentation HERE

If you want to modify SPFLib and SPFShared, I suggest to run Sonatype Nexus OSS on your local machine and upload the compiled AAR's into this Maven server. Also, remember to update the version of these libraries, because Gradle caches dependencies automatically into .gradle/caches/modules-2/files-2.1 directory.

Releases

  • 10/30/2015 - SPF2CouponingClientDemo 2.0.1 - Download
  • 10/27/2015 - SPF2CouponingClientDemo 2.0.0 - Download
  • 10/20/2015 - SPF2CouponingClientDemo Beta 1 - Download

Dependencies

As you can see, to be able to compile a SPF2's app, you should simply update your "dependencies" block inside the module's build.gradle. Dependencies are on JCenter and Maven Central.

dependencies {
compile 'it.polimi.spf:spflib:2.0.0.1@aar'
compile 'it.polimi.spf:spfshared:2.0.0.1@aar'
}

Changelog

Changelog is available HERE

Known issues to fix

  • Replace materialtabstrip library with the official version included into Design support library by Google, either for CouponingProvider or CouponingClient.
  • Replace multiselection library in CouponingProvider and CouponingClient with an official version.

If you want to do something, create a Pull Request! XD

Images











License

Copyright 2014 Jacopo Aliprandi, Dario Archetti
Copyright 2015 Stefano Cappa

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.