Back to project page MapsMuzei.
The source code is released under:
Apache License
If you think the Android project MapsMuzei listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.bonysoft.mapsmuzei; //from w w w . j av a 2s .co m import android.app.Application; import android.util.Log; import com.littlefluffytoys.littlefluffylocationlibrary.LocationLibrary; /** * The base Application class. Needed to initialize the location library * Created by Daniele Bonaldo on 2/25/14. */ public class MapsMuzeiApplication extends Application { @Override public void onCreate() { super.onCreate(); try { LocationLibrary.initialiseLibrary(getBaseContext(), "net.bonysoft.mapsmuzei"); } catch (UnsupportedOperationException e) { Log.e(MapsMuzeiApplication.class.getSimpleName(), "No location providers available", e); } } }