Made by Lukas for Siu.
- 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
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>
<application android:name="com.siu.android.andutils.Application" android:theme="@style/Theme.Sherlock.*">
<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"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Add the EasyTracker logic and add the indeterminate progress. You need to override onCreate(Bundle savedInstanceState, int layout) instead of onCreate(Bundle savedInstanceState)