开发者

How to send message/data from android to chrome browser?

开发者 https://www.devze.com 2023-03-18 05:09 出处:网络
I want to send some data from my phone to chrome browser. For that i am using Google App Engine as a server. A开发者_JS百科nd at browser end i am building chrome extension which will poll server for n

I want to send some data from my phone to chrome browser. For that i am using Google App Engine as a server. A开发者_JS百科nd at browser end i am building chrome extension which will poll server for new msg or would implement PUSH.

But i am getting confused , what if 1000 users are using the same service.How will messages/data will be delivered to correct user?

I am thinking of using userid (Oauth) through which each user will login from android and browser both.

So i got few questions for that: How can i route correct msg to each user? Should i store userid on server along with their unsync msges for each user?

Is this approach correct? OR their is some better way?

0

精彩评论

暂无评论...
验证码 换一张
取 消