Articles Fritz has written:

Detect Users’ Activity in Android Using the Transition API

Articles

In today’s world, mobile devices are an essential part of our daily lives—we use them as we walk, run, drive, and when doing many other activities.

Understanding what users are doing when holding their phones can allow your apps to adapt intuitively based on those user actions. And for some apps, it might be a requirement to identify when a user starts or stops a particular activity. For example, an app can start music in the background if a user starts running, or it can calculate the number of calories burned.

Continue reading Detect Users’ Activity in Android Using the Transition API

Getting started with Doc2Vec

Articles

This post is a beginner’s guide for understanding the inner workings of doc2vec for NLP tasks.

There are two primary architectures for implementing doc2vec: namely Distributed Memory Model of Paragraph Vectors (PV-DM) and Distributed Bag-of-Words version of Paragraph Vector (PV-DBOW).

In this article, we’ll dive into how doc2vec is related to word2vec and explore both of their architectures while also getting some hands-on experience with them.

Continue reading Getting started with Doc2Vec

Data-Free Speech Translator using SFSpeechRecognizer and ML Kit on iOS

Articles

We’ve seen this feature in countless smartphone ads. The quick scene has someone traveling to a foreign country, having a local say something into their smartphone, and then smile as it provides the translation for them. Usually it takes up just seconds of the ad before they move onto a new camera feature or something.

What they don’t show is the aftermath as that smile turns into panic. For soon after, the user realizes they’re nowhere near their hotel’s free WiFi. They begin to calculate how much their international data charge will be by the time they finally translate the local’s instructions to the best food in town. Who knows if they’ll be able to afford it by then?

Continue reading Data-Free Speech Translator using SFSpeechRecognizer and ML Kit on iOS

Connect Android Devices with a Wear OS Emulator

Articles

Nowadays, people check their watches for important notifications as much as they do the time. Wearable devices, like Android-based watches, are gaining more momentum as Google continues to improve its Android Wear platform for developers.

A couple of months ago, I was working on a simple application called Location-based tasks using Geofence. If you don’t know what Geofencing is, check out the link below:

Continue reading Connect Android Devices with a Wear OS Emulator

Google I/O 2019: News and Announcements for Android Developers

Articles

I attended my first I/O this year, and it was a really good experience. While there, I Tweeted about some of the announcements in real-time. You can check them out on my twitter page.

But I wanted to dig a bit deeper and give more detail about news related to Android development that came out of I/O. There are other developments and Android-related announcements, but here I’ll only mention one connected specifically to Android development.

Continue reading Google I/O 2019: News and Announcements for Android Developers

Federated Learning Demo in Python (Part 4): Working with Mobile Devices

Articles

Through the first 3 parts of our federated learning (FL) demo project, we’ve set up a system wherein machine learning (ML) models is trained using FL. Put simply, a generic model is created at the server. The model is then sent to the clients for training, and then sent back to the server.

Check out the previous 3 parts in the project to get caught up:

Continue reading Federated Learning Demo in Python (Part 4): Working with Mobile Devices