Beispiel #1
0
 private static GeoLocationImpl getImpl() {
   if (locImpl == null) {
     synchronized (GeoLocation.class) {
       if (locImpl == null) {
         Logger.T(TAG, "Creating GeoLocationImpl instance.");
         locImpl = new GeoLocationImpl();
         Logger.T(TAG, "GeoLocationImpl instance has created.");
         // ourIsFirstUpdate = true;
         locImpl.start();
         Logger.T(TAG, "GeoLocation has started.");
       }
     }
   }
   return locImpl;
 }