2014년 12월 16일 화요일

AI2 and subscription without long polling


Exploring making a home automation dashboard, saw the PubNub example which uses long polling.
Is it possible to get push messages from mosquitto.org (and others such as dweet.io)  and update button text with specific strings ?

--

I understand push messages are not possible with App Inventor.    You will need to use Eclipse or Android Studio if you want a free JAVA based Android compiler or a commercial compiler to do this.

--

as SteveJG said concerning push messages

and:
there is also another thing you have to consider: App Inventor apps can't run in the background

but...
I just looked at dweet.io and it looks simple to use and yes, you could use it also with App Inventor, for alerts these will be sent by email to your email address and in your app, you could create or read dweets easily using the web component. 
You even could read the emails in your app using this solution https://puravidaapps.com/gmail.php

--

댓글 없음:

댓글 쓰기