Skip to main content

Posts

Showing posts from August, 2014

On the smartphone GPS accuracy

 As i started playing around Android programming, as soon I got the grip on the basic, I had go deep into "localization". So I had read a lot of manual pages, web pages and post about it. My first step was to create a class which allow me to select the best location provider, in several study case. So my mainly choice parameter were the requested accuracy, the  status of the battery, and if I get the passive data then the age of the Location Object. Two fact drawing my attention: the passive provider , and the improve of precision of coordinates when the wi-fi was turned on. So I have investigate how it was work, and I found several blog article or post [2], which explain how it work, and support it by example on how happen when people relocate  without changes ("relocate") theirs  their's wi-fi hot spot: a catastrophic lack in accuracy of the Location. However in the last days I have had some spare time so I have tried to better understand the accurac

Efficient Android Threading, By Anders Goransson, O'Reilly Media

I'm not a Java threading expert , so I decided to spend some of my spare time to study it . I started from scratch and then I move to threading in the Android Platform. To achieve this goal I used the Efficient Android Threading book , written by Anders Goransson. Obviously the guide isn't for beginners of Android programming and it requires a minimal knowledge of Android SDK. First chapters are dedicated to the basics of threading and how the operating system manages the multi-threading. These chapters allowed me to memorize  some concept and to have a better background about the system threading management. The following chapters are focused on how to use the Android framework's multi-threading tools . In my opinion this book offers to the readers the opportunity to become familiar with the whole range of techniques that allow to build more responsive Android Apps by using threads. I have appreciated the comparison between available techniques listed in the