This is an enhancement of the Mock Location Provider Sample from Android found here