Link Details

I've published a new android lib that simplifies weather app coding. It helps you to focus only on the app withouth worrying about weather protocol details, handling HTTP request/response and so on. Using this lib you can focus your mind only on the app and how it should provides the weather information to the final user without dealing with internal details about protocols, connections and so on. This library provides: Remote service invocation Handling HTTP requests and response in a separate thread respect to the main Android thread, so that you don't have to worry about ANR (Application Not Responding) problems Implement specific protocol to extract information from remote weather server Querying the city using name pattern Querying the city using geographic coordinates Querying actual weather condition Querying forecast weather condition Retrieve default weather condition icon for each weather provider Abstract app implementation from the specific weather provider selected, so that you can reuse the same app with different weather provider Handling errors Implementing a notifition/listener mechanism so that your requests don't get locked while the library is processing the response or while the server is contacted You can easily extend the lib and implement your weather provider

Posted by jfrankie  |   Submitted: Apr 07 2014 / 08:36

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone