문제

When an app show a notification, this come from a server?

Is there a way to send a notification from "inside of the app"?

What happens is there are not internet connection?

The notification never comes?

도움이 되었습니까?

해결책

Its depends on app. if its a static notification you can use Services,Timers,DataBase(Predefined Notification data store) to generate the Notification from app itself without internet. Ex: Predefined Notification to intimate scheduling for every 3 hours.

If you need Dynamic data you need to fetch it from server.

다른 팁

It is possible to send mobile to mobile PUSH NOTIFICATION USING gcm.One mobile will send a message to gcm which in turn will send the message to the destination mobile using IMEI number.You can get more details here http://androidexample.com/Device_To_Device_Messaging_Using_Google_Cloud_Messaging_GCM_-_Android_Example/index.php?view=article_discription&aid=122&aaid=142

And as far as I know it is not possible to send a push notification without internet.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top