Skip to content

lukaspili/Android-Utils

Repository files navigation

Android Utils

Made by Lukas for Siu.

Configuration

  • In the root of the main project : "git submodule add git@github.com:Siu-soon/Android-Utils.git libs/andutils"
  • Update it : "git submodule update --init --recursive"
  • Import actionbarsherlock module in intellij
  • Import andutils module in intellij

Res

Add the conf_googleanalytics.xml file in res/values :

<resources>
	<string name="ga_api_key">UA–xxx</string>
	<bool name="ga_debug">false</bool>
	<bool name="ga_dryRun">false</bool>
	<bool name="ga_auto_activity_tracking">false</bool>
	<bool name="ga_anonymizeIp">false</bool>
	<integer name="ga_sampleRate">100</integer>
	<integer name="ga_dispatchPeriod">60</integer>
</resources>

AndroidManifest.xml

ActionBarSherlock :

<application android:name="com.siu.android.andutils.Application" android:theme="@style/Theme.Sherlock.*">

Internet :

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

Location :

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

Classes

TrackedSherlock*

Add the EasyTracker logic and add the indeterminate progress. You need to override onCreate(Bundle savedInstanceState, int layout) instead of onCreate(Bundle savedInstanceState)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages