Unofficial Foursquare glassware
- 3 voice commands: Check me in, Find nearby places and Search places for ...
- super-fast check-ins with a possibility to add photos
- 10 best venues around you/matching your search with details
- directions towards a selected venue
- read tips of the selected venue
- Download latest APK
adb install
(read this if you don't know what that means)
Check the website
- report bugs and feature requests as issues here
- pull requests are welcomed!
- setup your release certificate with these values in ~/.gradle/gradle.properties:
RELEASE_STORE_FILE
,RELEASE_STORE_PASSWORD
,RELEASE_KEY_ALIAS
,RELEASE_KEY_PASSWORD
- create a class Hidden.java inside package api, add two constants into it:
CLIENT_ID
andCLIENT_SECRET
. Obtain these values from Foursquare developers. - go to code folder in terminal
- launch
./gradlew assembleDebug
or./gradlew assembleRelease
- You can also import the code into Android Studio if you select top-level build.gradle file and Gradle wrapper during import.
You can open venue detail from any GDK app like this:
try {
Intent i = new Intent("cz.destil.glasquare.VENUE_DETAIL");
i.putExtra("id", "41059b00f964a520850b1fe3");
startActivity(i);
} catch (ActivityNotFoundException e) {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://destil.github.io/glasquare")));
}
You can also open venue detail from any Mirror API app:
"menuItems" : [
{
"action": "OPEN_URI",
"payload": "glasquare://venue/4b055110f964a520b75722e3"
}
]
- David 'Destil' Vávra
- Follow me on G+ to be notified about future versions