Categories
Technical

How to use Intent.ACTION_TIME_TICK

In one of my applications, it was required to update a TextView every minute. The first approach that I could think of was to have an AsyncTask running a while loop till a minute (check for initial time+60,000 milliseconds in every iteration), but then I found out about ACTION_TIME_TICK broadcast action. As per java docs:- […]

Categories
Technical

How to use Boost library with Eclipse on Ubuntu

I was trying to use the multi-threading capability of boost C++ library, but found that there is no comprehensive(and appropriately brief) guide which shows how to use this library with Eclipse on Ubuntu, so I decided to write one myself. Boost is a set of widely used cross platform C++ libraries which provide a lot […]

Categories
Uncategorized

Must Know Kannada Words

A lot of people (mostly software professionals) move to Karnataka(mainly Bangalore) everyday for job or business related purpose. Although most of the people here understand and speak English, still there are times when you are out in the market or with some Kannadiga (hailing from the state of Karnataka) friends or trying to explain your […]

Categories
Technical

How to use Hibernate 4 with MySQL

Hibernate is an ORM (Object-Relation Mapping) tool for Java. It is used to persist and fetch data in the database via mapping the software objects to the relational model where properties of a class are mapped to a column in a table, class or an entity is mapped to table and instance of a class […]

Categories
Music related

Po Nee Po English Translation

Although, majority of the songs I listen to are either in Hindi or English, I do enjoy good music (definitely relative) in a lot of other Indian languages. Few days back, a friend told me about this Tamil song “Po Nee Po” sung  by “Mohit Chauhan” from the movie “3”(also has the over-hyped song “Kolaveri di”). I […]