Designed for Hackserspace Budapest, If you want to use this widget first you have to set it up based on the HackSense article article.
- Working with HSBP's API
- Add colors
You have to edit 2 things.
- The HackSense's url is located at
app/src/main/java/com/hacksense/app/RequestSender.java#L34
URL url = new URL("https://hacksense-url/status.json");
- Hackerspace's name is located at
app/src/main/res/values/strings.xml#L4
<string name="hackerspace_name">hackerspace-name</string>
./gradlew assembleRelease
keytool -genkey -v \
-keystore hacksense.keystore \
-keyalg RSA \
-keysize 2048 \
-sigalg SHA256withRSA \
-validity 10000 \
-alias hacksense
apksigner sign \
--ks hacksense.keystore \
--ks-key-alias hacksense \
--in ./app/build/outputs/apk/release/app-release-unsigned.apk \
--out hacksense.apk
apksigner verify --verbose --print-certs hacksense.apk