• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps push notification without FCM or GCM

marko95

Lurker
Hello, i am new here.
I have idea for app, and need push notification. But wont use fcm or gcm for that. Can someone tell me, or send some documents for how i can develop own push notification system.
Tnx..
 
You will need to implement a hosted web service, which can accept messages from a device, and send them on to the target device.
It's difficult to recommend where to start because I don't know your level of knowledge. But assuming it's limited, I would first investigate how to create a web service.
 
okk..but how i can create service which listens, or service send query to web service and wait to respond?

You've got a fair amount of reading to do here. I would use a RESTful web service for this. You've not really picked a simple problem for your first app, but take it one step at a time and you'll get there.
Here's your starting point.

https://www.tutorialspoint.com/restful/

I would start by thinking about what is needed in the API. Off the top of my head, the interface will need:-

1. Operations to register (and deregister) message supplier
2. Operations to register (and deregister) message consumer
3. Operation to submit a message

If your mechanism for message delivery is 'push' notification, then what happens if the target device is offline? Would you be better with a 'pull' mechanism?

And your message broker (the web service which is receiving and distributing messages) will have to be available 24/7.
 
Last edited by a moderator:
Back
Top Bottom