Integrating Appoxee SDK in Project (Eclipse)
Add the following lines to your app's AndroidManifest.xml file (Replace "$APP_ID$" with your application id. e.g: com.appoxee.exampleapp) :Â
Â
AndroidManifest.xml<manifest xmlns:android="http://schemas.android.com/apk/res/android" package=“<app package>"> <!-- Required for using internet (which is a must) --> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- Required for receiving GCM (push) messages --> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> <!-- Custom GCM permissions --> <permission android:name="$APP_ID$.permission.C2D_MESSAGE" android:protectionLevel="signature" /> <uses-permission android:name="$APP_ID$.permission.C2D_MESSAGE" /> <!-- Keeps the processor from sleeping when handling received push messages --> <uses-permission android:name="android.permission.WAKE_LOCK" /> <!-- For vibrating when showing notification --> <uses-permission android:name="android.permission.VIBRATE" /> <application > <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <!-- Must have for Push Support by Appoxee --> <service android:name="com.appoxee.push.PushOpenIntentService" /> <!-- GCM push receiver, custom permission --> <receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND" > <intent-filter> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> <category android:name="$APP_ID$" /> </intent-filter> </receiver> <!-- Custom intent service to handle incoming messages --> <service android:name="com.appoxee.gcm.AppoxeeGcmListenerService" android:exported="false" > <intent-filter> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> </intent-filter> </service> <!-- InstanceId --> <service android:name="com.appoxee.gcm.AppoxeeInstanceIDListenerService" android:exported="false"> <intent-filter> <action android:name="com.google.android.gms.iid.InstanceID"/> </intent-filter> </service> <!-- Additional capabilities support (inbox, url deep-linking, feedback, more apps screen) --> <activity android:name ="com.appoxee.activities.InboxMessage"/> <activity android:name="com.appoxee.activities.Inbox" /> <activity android:name="com.appoxee.activities.MoreApps"/> <activity android:name="com.appoxee.activities.Feedback"/> <activity android:name="com.appoxee.activities.LandingPage"/> <!-- Needed for geofence support --> <service android:name="com.appoxee.geo.GeofenceTransitionsIntentService"/> <service android:name="com.appoxee.geo.AppoxeeGeofencingManager" /> <receiver android:enabled="true" android:name=".geo.BootCompleteReceiver"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver> </application> </manifest>