on-internet
← Community

Broadcast receiver push notification

Stack Overflow ·

I have implemented push notification in my android application: In my main class: // PUSH Parse.initialize(this, applicationId, clientKey); PushService.setDefaultPushCallback(this, SlidingMenuActivity.class); ParseInstallation.getCurrentInstallation().saveInBackground(); ParseAnalytics.trackAppOpened(getIntent()); In my manifest.xml: <!-- PUSH --> <service android:name="com.parse.PushService" /> <receiver android:name="com.parse.ParseBroadcastReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.USER_PRESENT" /> <

Comments

Sign in or sign up to comment and upvote.

No comments yet.