# \[Android\] How to 'smartphone background push notification'

**URL:** <https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738>\
**Category:** Processing for Android\
**Created:** [September 10, 2023, 11:33pm UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738 "2023-09-10T23:33:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [September 10, 2023, 11:33pm UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738/1 "2023-09-10T23:33:05Z")

</div>

Hello. Nice to meet you.

![a1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/e/6e62b75a07e653a818887daa84c5d6b9e1794599.jpeg)

If you look at the image, it is a simple configuration diagram.

1. The IP of the smartphone will change every time, so how can I make the ‘app’ run in the ‘background’?
2. If the ‘application’ runs in the ‘background’, it periodically sends packets to read the IP address.
3. When an event occurs, we want to notify the user through the ‘notification’ function.

---

<div class="post-metadata">

**Author:** ![runnie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/runnie/32/18777_2.png) [@runnie](https://discourse.processing.org/u/runnie)\
**Post date:** [September 14, 2023, 3:07am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738/2 "2023-09-14T03:07:04Z")

</div>

you have a lot of choice to deal with it,since you are in Andriod,its can use inside native SDK or anything comes crross in you mind ,(in the close enviroment)

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [September 14, 2023, 7:47am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738/3 "2023-09-14T07:47:20Z")

</div>

Dear runnie, @runnie

Hello. Thank you for the reply.

Have you ever worked on a similar project?  
If so, I think it would be of great help.

---

<div class="post-metadata">

**Author:** ![runnie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/runnie/32/18777_2.png) [@runnie](https://discourse.processing.org/u/runnie)\
**Post date:** [September 14, 2023, 8:05am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738/4 "2023-09-14T08:05:48Z")

</div>

是的  
Yes there is. i used to Amazon web service to deal all the task (server side),basicly frontend is p5,you have to deal canvas and webview

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [September 14, 2023, 8:33am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738/5 "2023-09-14T08:33:25Z")

</div>

hello. Thank you for answer.

Have you ever processed it within ‘Android’ using the ‘Processing Tool’? I wonder.

---

<div class="post-metadata">

**Author:** ![runnie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/runnie/32/18777_2.png) [@runnie](https://discourse.processing.org/u/runnie)\
**Post date:** [September 15, 2023, 12:04am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738/6 "2023-09-15T00:04:07Z")

</div>

no,but i would happy to use it,i know the ability to let you complete the task,at that time when i implement ,only the notify part ,
