But.. What if I get some synthetic grass and put it in my room
. nude con , : fatto increscioso
Details zum Kraftvolles Knnen-Event mit Dakuma und Knarbon in Pokmon GO verffentlicht
Dakuma und Schillernde Knarbon feiern ihr Debt mit diesem Event.
Zur News:
Shielded Email: la funzione Google inizia a prendere forma
Infos zur kommenden Saison der Pokmon GO-Kampfliga verffentlicht
Die kommende Saison der GO-Kampfliga bringt einige Attacken-nderungen mit sich.
Zur News:
YouTube Music cambia: trova gli album perfetti per te
Microsoft closes in May
If you were (still) a user you know that since their take over they did everything to frustrate users. Though it was the only where you could share en in a logic way.
Xiaomi: nuova app fotocamera per molti modelli (HyperOS)
Gboard si rinnova: l'icona delle scorciatoie perde il cerchio
This Week in Self-Hosted (28 February 2025)
, software updates and launches, a spotlight on -- custom feeds for popular social aggregation sites, and more in this week's recap!
ManyTag Colour eInk Badge SDK - Minimum Viable Example for Android
Last year, I reviewed a - the ManyTag HSN371. The hardware itself is perfectly fine, but the Android app isn't great. It is complicated, crash-prone, and not available in the app-store.
After some back-and-forth with the manufacturer, they agreed to send me their Android SDK and documentation. Sadly, the PDF they sent me was riddled with errors and the software library is also a bit dodgy. So, with the help of and a hefty amount of automated boiler-plate, I managed to get it working.
The , but here's a quick walk-through of the important bits.
First, the AAR library needs to be imported into the project. Place it in app/libs
and then include it in the Gradle build file:
dependencies implementation(files("libs/badgenfcapi-release.aar"))
The key to getting it working is in the Android permissions. It needs Bluetooth, NFC, and location. So the manifest has to contain:
<uses-permission android:name="android.permission.BLUETOOTH"/><uses-permission android:name="android.permission.BLUETOOTHADMIN"/><uses-permission android:name="android.permission.BLUETOOTHSCAN"/><uses-permission android:name="android.permission.BLUETOOTHCONNECT"/><uses-permission android:name="android.permission.NFC"/><uses-permission android:name="android.permission.NFCTRANSACTIONEVENT"/><uses-permission android:name="android.permission.ACCESSCOARSELOCATION"/><uses-permission android:name="android.permission.ACCESSFINELOCATION"/>
The following imports are needed from the Android Archive library:
import cn.manytag.badgenfcapi.manager.BadgeWriteManagerimport cn.manytag.badgenfcapi.manager.OnNFCReaderCallbackimport cn.manytag.badgenfcapi.manager.OnBluetoothCallBackimport cn.manytag.badgenfcapi.manager.OnSendImageCallback
The library needs to be initialised with:
val state = BadgeWriteManager.getInstance().init(this)
When the phone reads the NFC tag, it gets a bunch of information:
BadgeWriteManager.getInstance().setOnNFCReaderCallback(object : OnNFCReaderCallback override fun onReaderMessage(i: Int, tag: Tag) if (i == 0) BadgeWriteManager.getInstance().readNFC(tag) // Get the data from the badge override fun onReaderType(tag: Tag, isodep: IsoDep, i: Int, type: String, size: String, color: String) if (i == 0) nfcData = """ NFC Tag Detected!!! Tag: $tag IsoDep: $isodep Type: $type Size: $size Color: $color """.trimIndent() colorFromNFC = color tagObject = tag isoDepObject = isodep badgeType = type badgeSize = size )
The color
is most important right now. It says whether the badge is black and white, or black and white and red, or black and white and red and yellow.
After picking an image from the filesystem, it needs to be dithered into the correct colour format:
processedBitmap = originalBitmap.let bitmap -> colorFromNFC.let color -> BadgeWriteManager.getInstance().processImage(bitmap, color)
Finally, the processed image needs to be converted to bytes and then sent to the badge via Bluetooth:
if (processedBitmap != null && badgeType != null && badgeSize != null && colorFromNFC != null) val imgData = BadgeWriteManager.getInstance().getImageData(processedBitmap!!, colorFromNFC!!) BadgeWriteManager.getInstance().sentImageResource( tagObject!!, isoDepObject!!, imgData, badgeType!!, badgeSize!!, colorFromNFC!! )
I realise this is a bit "" but that should be enough to get you started on building an app which can communicate with these badges.
The app I've built isn't the prettiest in the world but at least it works. It scans a badge, gets its info, picks an image, dithers it, then sends it to the badge.
You can .
#android #app #eink #HowTo #Kotlin
blog! ManyTag Colour eInk Badge SDK - Minimum Viable Example for Android
Last year, I reviewed a Four-Colour eInk Name Badge - the ManyTag HSN371. The hardware itself is perfectly fine, but the Android app isn't great. It is complicated, crash-prone, and not available in the app-store.
After some back-and-forth with the
Read more:
Skype verso la chiusura, Microsoft punta tutto su Teams
Microsoft rilascia un'app Copilot per Mac, ma non in Italia
Wisst ihr, was On-Demand-Verkehr ist Flexible Fahrzeuge, die per gebucht werden und dort helfen, wo und weniger gebraucht werden. So wird der Individualverkehr reduziert und umweltfreundlichere gefrdert!
Mehr:
Auch das ist ein On-Demand-Verkehr! Flexibel auf Abruf verfgbar, ergnzt es den in BW und schliet Lcken im Linienverkehr. Ideal fr spte Fahrten oder abgelegene Orte!
Mehr dazu:
QR Scanner (Privacy Friendly)
Privatsphre-freundlicher QR-Scanner mit minimalen Berechtigungen.
idmnb
FDMFree Download Manager
Motrix aria2
pdmaria2
Photon aria2
gopeed
Built with Golang and Flutter.
5
Interstellar v0.8.0 update: Profile & Filter List sharing, overhauled post creation screen, Mbin magazine/user/post notification controls, post/comment bookmarking, Linux ARM and Windows support, too much to fit here...
Interstellar v0.8.0 update: Profile & Filter List sharing,... #mbin #lemmy #app #fediverse #activiypub #aggregator #kbinAccessing region-locked features, such as stores
Sorry, you cant have . But heres a new that lets you your kidneys for
Neuer Newsletter zu Pokmon Masters EX enthllt kommende Inhalte fr den Mrz 2025
Ein berblick ber die kommenden Events und Inhalte wurde verffentlicht.
Zur News:
An issue with our iOS beta that displayed, "This beta is not accepting any new testers right now" is now resolved with Beta 51.
Trufis open approach gave Salim the tools to create an app that transformed his career. The Corsa app and the Trufi community provided a catalyst for Salim's initiative.
Instagram May Launch Reels as a Standalone App
Is the RedNote app a security risk
How safe is RedNote A new report from University of Torontos Citizens Lab says Android and iOS versions of RedNote 'fetch viewed' images and videos without any encryption, which enables network eavesdroppers to learn exactly what content users are browsing.
Ein digitaler Begleiter mit praktischen Informationen zu #Gottesdiensten und Pfarreiangeboten Das Bistum #Wrzburg zieht sich etwas aus #SocialMedia zurck und will mit einer neuen #App eine Brcke zwischen traditioneller #Glaubensvermittlung und #Medienwelt schlagen:
()
TikTok () security company TikTok alternative RedNote (Xiaohongshu) fails basic security measures
Google Translate: traduzioni AI personalizzate e interattive
Instagram prepara l'app Reels: la sfida a TikTok continua
- Google Play Store Aktion: Diese 40 Android-Apps, Spiele, Icon Packs & Live Wallpaper gibt es heute Gratis -
EVMap - Elektroauto laden
Finde Elektroauto-Ladestationen in deiner Nhe.
Gboard supera 10 miliardi di download: tastiera Google da record
- Google Play Store Aktion: Diese 36 Android-Apps, Spiele, Icon Packs & Live Wallpaper gibt es heute Gratis -
- Google Play Store Aktion: Diese 38 Android-Apps, Spiele, Icon Packs & Live Wallpaper gibt es heute Gratis -
- Google Play Store Aktion: Diese 48 Android-Apps, Spiele, Icon Packs & Live Wallpaper gibt es heute Gratis -
(Industry)
Dont underestimate the value of little things bringing you a surprise bit of happiness, like discovering youre *this* close to using Carrot Weather for ten years.Dont underestimate the value of little things bringing you a surprise bit of happiness, like discovering youre *this* close to using Carrot Weather for ten years.
Launches and Affordable for Users: A -Changer in