Use AppSpice in your Android apps to promote and find engaged users for free. Fast and Easy!
AppSpice supports both Eclipse and Android Studio (via gradle), so you are in for a treat!
Add the following dependency to your build.gradle
compile 'it.appspice:android:+'
- Unzup and import as a library project
- Add AppSpice as a dependency to your project
- Integrate
Google Play Services
andAppCompat library
in your project
How to integrate Google Play Services
Add the Internet permission
<uses-permission android:name="android.permission.INTERNET" />
Add your AppSpice ID
<meta-data android:name="APP_SPICE_ID" android:value="YOUR APP SPICE ID" />
Add your App ID
<meta-data android:name="APP_SPICE_APP_ID" android:value="YOUR APP ID" />
Add the AppSpice service
<service
android:name="it.appspice.android.services.InstalledAppsService"
android:exported="true"
android:process="it.appspice.InstalledAppsService" />
Add this code to your main Activity
@Override
public void onCreate(Bundle savedInstance) {
super.onCreate(savedInstance);
setContentView(R.layout.main_activity);
AppSpice.init(this);
AppSpice.showAd(this);
}
@Override
protected void onDestroy() {
super.onDestroy();
AppSpice.onDestroy();
}
Add awesomeness to your app here
Copyright (c) 2014 NaughtySpirit. Released under MIT license