Saturday, June 20, 2015

My Experience with Weather API for Android

Are you like me wanting to write an android app and use weather API and do not know where to start. Your search ends here. (and the works begins here as well :-))

I started out writing a World Time App which list the Cities and their times based on User selected Cities. It received good response and built my confidence do more with it. 

Now i am extending the app to include weather details for each city that user has selected. 
My hunt for Weather API started - I incorporated the Yahoo Weather API spent 1 week to test it out and also switched back and forth on the layout to display the Weather details.
With all that done, when i was browsing through the weather details and Android forum, i found that the Yahoo API is only for personal and non-commercial use.
I then researched for all weather APIs and the cost structure. Just to save some time, though you are free to look at the comparisons, OpenWeatherMap API was the best in terms of usage and price with roughly around 1200 api calls per min.
So now i am now using the OpenWeatherMap API for my Weather details.
The one thing to bear in mind when you this weather API is that the temp_min and temp_max is not the High and Low Temp we see in a typical weather Widget. This min/max is the min and maximum for Current Temperature in the city chosen as a reference. So in major cities there could be some variation for the Current Temp and the user might take an  average of the temp_min and temp_max.

Regardless of which Weather API you choose to use, you need to cache the results, so that you do not make unnecessary calls within a min. 
Now how to do that and what is the most efficient way to do it will be the topic for my next Post...      



Sunday, December 07, 2008

I am back and would like to continue writing this blog regularly as my daily journal.
Today we shopped for Christmas tree and lighting. Got a Christmas tree from Big Lots with clear lights.
Did some cleaning, watched football game KC Chiefs v/s Broncos.
Got a movie from blockbuster and then realized that i had already watched that movie - Perfect Stranger (Halle Barry & Bruce Willis)

Monday, June 23, 2008

It's been a long time since i wrote something.But today i have a good reason to write some about Treo. When Palm announced the unlocked version of Centro i have already visited their site 3-4 times and almost clicked on "Buy" and then resisted. Over the years i have learned ( i think) one thing- Never to buy any item without reading at least 2-3 reviews on it. But human mentality is that you would want to read those reviews which says what we want it to say. I went to couple of Centro reviews and close the browser/tab if the start of the review is negative. You can see that i will have my hand on the new unlocked Centro in couple of days ( or at least order it). I am happy with my Treo, but the idea of 1.3 mp camera and most importantly 64 mb user memory is very tempting and ofcourse the maller size than Treo 650.
Now let me read through some more positive Centro reviews and see how long can i resist clicking the "Buy" on Palm :-)

Monday, May 07, 2007

Me, myself and my Treo
I use my treo to listen to music, check emails using Versamail ( built-in application) , browse ( once a week), schedule appointments ( personal and work) and take pictures and i almost forgot - to make and receive calls :-)
The other recent applications i have on my treo - Mundu IM ( instant messaging) and Mundu Radio. These are pretty neat applications and handy.
I like the treo because of its screen size. It is ideal for playing games, browsing and checking emails. The other thing i like about is the flexibility to add/install applications - some for free and some $$....
It sometimes feel bulky, compared to other sleek cellphones, but if you compare the features and ease of use, Treo is the best. BTW: i have Treo 650 (you might have known that if you read my earlier posts).
My recent adventure is to hunt for a bluetooth headset to listen to music during workout. I have checked out Motorola S9 . It is light-weight, and the ear-plugs are small. I am almost tempted to buy it, bt i am looking for a good deal in a store near my place, so that i can return it without hassle if i don't like it. Will keep posted on this blog though...

Saturday, November 05, 2005

I am guy who like gadgets.All sorts of gadgets. Technology is moving so fast, that it is very difficult to keep up with it. You buy an electronic item today and six months later they have a higher model in the market. Now your gadget is no more a new one. So i thought what is the best way to get around it ? Hmm.... The answer is..... wait wait wait..... You will never end up buying the thing you want and will just keep on researching on the new product.
After much deliberations (with home department), I bought the Treo 650 which was latest in the market. I thought to myself , well i have the latest cool stuff which will keep me happy for a while. Well guess what ? Palm make up with a new Treo 700w with windows mobile OS . Now i am trying to find the flwas in the new treo to pacify myself that i still have the cool gadget in the market.
So the whole point is - Buy the best/latest stuff in the market and be happy.... But remember the phrase "Be Content Yet Never Satisfied" .

Wednesday, November 02, 2005



Welcome to my blog. This is my first post to the blog concept. It says that Blog is nothing but a Web Journal. Though i will not bore you guys with my daily routines (which even my wife is not interested in :-( ), but will post some interesting topics related to variety of subjects ranging from software, gizmo gadgets (my favourite), India, spiritual. So keep checking this blog and i promise you will enjoy reading it as much i will enjoy writing it. Posted by Picasa