Skip to main content

My first Android Application

At last, I have brought this app to some shape. It still has some pending pieces - of which we will talk later. Work and life has suddenly propelled into busyosphere and this activity was given a backseat. I just took it back and dusted it up yesterday.


This application comes from my personal needs to work out using the ‘High Intensity Interval Training’ (HIIT) method. This method worked like magic on me. I have lost close to 2 kilos in a month’s time. When you google it, you might find that it’s a rhythmic cardio exercise which involves a repetition of an impact phase (a run or cycling at break neck speed) and a cool down phase (a slower walk) with a certain ratio. I am not still very clear of the biological explanation for its effectiveness (it burns fat 8 times more than the usual cardio forms) but I myself am an empirical proof.


The only problem was that I am an outdoor jogger. Without any tools, I was counting the timing in my mind first and later started using landmarks to control the run-rest cycle. That’s when I thought about writing a phone application that helps. I don’t have a mac (yet), so cant develop it for the iPhones. So, started of with the Android platform.


The Android framework reminded me of my Visual Studio and Visual Basic days (Ramku, take note!). It’s a similar event driven programming world but the user-interface framework has a long way to go. It took me sometime to get hold of the layouts offered. Even the eclipse tooling has a long way to go. It doesn’t allow me to be as productive as I can be. What I loved was the Java platform – my comfort zone.


So here it is. Key in the impact time (how long would you want to run) and the repeat count. The tool calculates the run-rest cycle. There is a visual cue (in the progress bars) and there is also vibration to set you on the mark and off. The bottom section is the log of your past runs. Currently it will only store 5 latest sessions.


Known issues and the next release features:

  1. The tool is set for intermediate level. That means, it works on the 2/3 ration for run to rest. Will let the user choose the levels later (beginner, intermediate and advanced).
  2. The Pause button doesn’t work yet. (The Stop button works though).
  3. Will integrate with Facebook to publish your statistics as you complete the run.
  4. User Interface improvements.

I still don't have an android phone (I am on BlackBerry). So you might help me to test this. You can find the unsigned application here. You will also find the source codes there. I have no qualms in sharing. After all, everything was developed using open sources. Finally, I dedicate this to my friend Sandhya, who initiated me first into HIIT.

Comments

Popular posts from this blog

Birthdays and Facebook

I read about a guy who had 400+ friends in Facebook. One day he woke up as a curious little wanker and wondered if he is really that sociable. So he organized a party and sent invitations to all his contacts over Facebook. 50% confirmed and another 20% were tentative. He was delighted - that’s one hell of a response, actually. The real day came. Our man waited at the venue, which happened to be a popular joint, but no single soul turned up. An hour later, one woman came but she also left in the next 30 minutes. He had 400 friends and yet he ended up drinking alone that night. So the question to ponder is how close are our virtual worlds to the reality? . But my case was quite not as somber. Yesterday was my birthday. Facebook reminded of it to a whole lot of my gang. Some of them have never wished me in decades and some are new. How exciting! So here is my big thanks to all my dear friends for the wishes over calls, sms and facebook. You made me feel special. Special thanks to cutie p...

A Date - Part 1

“Good Morning. How is everything? Did you manage to have an early breakfast date with yourself?” I was on the bed in a hotel room in Jakarta when that SMS woke me up. I only managed to get a very few hours of sleep that night. Even in that, my mind went churning non-stop on some meaningless, unconnected things. I was literally aware of all that turmoil in the half sleep, twisting and tossing through it. Back to the SMS. All the SMS I get usually are with a single consistent purpose - my colleagues trying to find my whereabouts. Note - none of them is a hot babe. (This is altogether a different topic - how come no hot chick in this whole damn world manages to become an IT architect!!) Oh, for a change, I do occasionally get some irritating marketing campaigns. So, it is not a wonder that this message sprang me awake like a Maasai Warrior. (Maasai are an African tribe famous for their ability to rise from the deepest sleep to a state of total combat readiness in a matter of seconds)...

What is my utilitarianism?

I am a utilitarian. Do you know how hard it is to live as a utilitarian these days? You often get mocked in closer circles. In the pretentious places, you are looked down upon. You are generally pushed to feel like a flying swine - strange, curious and out of place. The problem is the word ‘utility’ in it. The commoners derive a shallow meaning that it is utility before happiness. Utility before pleasure. Stretching it a bit, they think that a utilitarian denies pleasures, leads a boring life of a miser, does not appreciate finer things in life and is generally a philistine. But utilitarianism is exactly opposite of that. I will be a damned liar if I declare that I am holy and have renounced all the pleasures. The tricky thing, and here in lies a great secret about the art of living, is to understand what pleasure really is. I think there is such a thing as ‘ supreme ’ pleasure. And by virtue of the existence of a supreme pleasure, there are also ‘ inferio...