Push Notification to delete local data by Soham Dasgupta


Power of PUSH

clip_image001In this blog I will explain how you can use Push Notification to delete data saved in local SQLLite database.
What I’ll explain :

1. Simple MAF app, which will create a table and put some data in it while loading for the first time.

2. It will have one page to display the data stored in the local database.

3. I will configure MCS to send Push notification to the MAF app.

4. On receive the MAF app will fire a delete statement to remove all the data form local database.

Requirements :

1. MAF 2.2

2. MCS or any push server

GitHub link : https://github.com/sohamda/PushAndDelete/

The basic architecture of this solution is :

Step #1 : Configure MCS Backend with Google Project ID and Prepare your MAF code

You need to create a Google project and enable messaging API. Then configure the MCS backend with the details. Then create your MAF application to register with MCS to receive push notifications. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.