Next Steps
I check my step count a few times a day on my phone. It's habit. My brain is a big fan of number-slowly-goes-up. It's why I enjoy cricket and journaling, and why I don't like the stock market.
Last week I was distracted during one of my step-checking moments and when I saw a prompt from Samsung Health I assumed it was the app once again requesting permissions for my health data. It was not, it was another update that ended up squeezing AI generated crap along with more marketing into an app that I just use to tell me how many steps I've done.
Now, due to some giant "tip" that appears on the main screen I couldn't even see my daily steps without scrolling down.
This was the catalyst I needed to delve into Android development. Something I attempted once back in 2013. Thirteen years later the tools were evolved enough I figured that I could replace Samsung Health in a couple of days. And so I set upon my own AI Generated crap side project that I ran via AI while I waited for the AI on my main side project to run.
It did take a few more hours than I expected to develop my Samsung Health alternative. Two reasons for this:
First, I had to undertake some foundational development setup tasks like installing Android Studio to run an emulator and provide the SDK, and configure some OAuth tokens in Google Cloud.
Once that was done, and I got reading the step sensor working right, the majority of effort was describing the requirements. What I actually should have done second was just provide screenshots of what I needed from Samsung Health and let the AI do the rest.
So it took about eight hours of my time over a week, and now I have my simple step and app tracker.
Roll Over for the alternative option.
It even has a few nice features, like auto detecting sleep based on my longest overnight period without steps. It compresses the non-stepping periods on the intervals chart to make the key information bigger. And my favourite feature is that if you hit the step target, you can upload a photo to commemorate your walking. And if you scroll back through your step history, the background for those days is the photo for that day. This will be fun for revisiting holiday step charts in future.
Overall, once I understood the architecture of session management, local storage, UI and sensor access, adding features to the app became super easy. With skills the AI can even build the app, deploy it to the emulator, seed it with test data and validate the logs.
It was a lot easier than it was in 2013.
If you like Bradism, you'll probably enjoy my stories. You can click a cover below and support me by buying one of my books from Amazon.
If you met yourself from the future, what would you ask your future self?
What if they wont tell you anything?