Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
260 views
in Technique[技术] by (71.8m points)

Send updates from a PHP web app to an Android App without calling POST or GET requests from Android Side

I don't know if it has already been answered or not. But here is my case:

I have a PHP web app that interacts with TELNYX API (An API to send and receive messages), when someone sends me a message, the TELNYX API sends a webhook to my PHP web app where I can see who sent me the message and what's the content in there.

Now what I want is to send that data(webhook's result) from the PHP web app to my Android Application. Now is there any way that I can continuously listen to the server and whenever the server receives the webhook, it forwards those hooks to my android app?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.7k users

...