PS: a web socket enhancement for App Inventor would be nice...
PS: a web socket enhancement for App Inventor would be nice...What would the enhancement do?
Windows 7: Chrome 23 WindowsNexus 7: Chrome 18 Linux
Droid X: Unknown Chrome Linux
please clarify: "but this technology is not restricted to the web browser:"
Regarding the AI WEB VIEWER.... YES it works on the AI web viewer or NO it does not work on the AI web viewer?
this technology is also new for me...
web socket does not work in Android browsers and therefore also not in the AI web viewer
"Anyone interested in testing both the web components and Activity Starter on a device that runs the demo page."If I had the spare time, I would do some testing of the web components and starting a web page with Activity Starter.I'm guessing you can get it to work with Activity Starter.But I do not know...
"Anyone interested in testing both the web components and Activity Starter on a device that runs the demo page."If I had the spare time, I would do some testing of the web components and starting a web page with Activity Starter.I'm guessing you can get it to work with Activity Starter.But I do not know...in 99% this does NOT work, see here http://caniuse.com/#feat=websockets ...
and here is a test page http://puravidaapps.com/websocket-test.html, you can open it with your Android browser or with the Activity Starter
Taifun
And how about an Activity Starter example?
I don't see how to integrate this into AI other than the way Taifun is using.
But guys, who is running the server? Because the client implementation
is also provided by the server. For instance, to use Easy Web Socket,
you have to include this client library:
http://easywebsocket.org/easyWebSocket.min.js
A different websockets server will have a different client library,
and there's no standard for these clients.
And what's more important... websockets is a technology for the
browser, in our case, a web viewer. If we don't want the browser, we
WebSocket is designed to be implemented in web browsers and web servers, but it can be used by any client or server application.
don't really need websockets, any kind of socket will do. Websockets
is only bringing to the browser what we already have outside of the
browser... are we missing the point?
I haven't tried the Game client/server component, but it seems to do
something very similar.
"This means that (as far as the W3C sees it) businesses and developers have a "stable target" for implementation and planning the next generation of web applications."
Why would you want to redo something with a different technology if
the final functionality is the same?
Just because websockets are the cool thing now? I don't get it.
BTW Websockets is a specification. Implementations in different
languages and platforms may vary largely, even if they follow the same
specification.
"The Common Object Request Broker Architecture (CORBA) is a standard defined by the Object Management Group (OMG) that enables software components written in multiple computer languages and running on multiple computers to work together (i.e., it supports multiple platforms)."
cheers,
José :-)
I haven't tried the Game client/server component, but it seems to do something very similar.
If you take the browser out of the equation then all you need is a socket
It will require a server. That did not stop Google from writing the twdb component. Using twdb in App Inventor makes it easy to do that part of a web app.
I haven't tried the Game client/server component, but it seems to do something very similar.why does nobody use the game component?
-> because it is too complicated and there is no tutorial available!
a simple solution would be nice to have...
or do you know anybody who is using the game component?
I looked at this 1 year ago, but I don't remember why I did not continue... probably I should look at it again...
If you take the browser out of the equation then all you need is a socketwhich means, we are back at issue 727 http://code.google.com/p/app-inventor-for-android/issues/detail?id=727 and issue 385? http://code.google.com/p/app-inventor-for-android/issues/detail?id=385
yes, the solution could be similar to the TinyWebDB solution...It will require a server. That did not stop Google from writing the twdb component. Using twdb in App Inventor makes it easy to do that part of a web app.
Taifun
Gary,Do you still have the stuff that Eni sent us on the Game Client? I am unable to locate it.
see example http://puravidaapps.com/chat.php
it also does not work anymore in the chat demo of EasyWebSocket itself ... http://easywebsocket.org/contrib/chat/ ...Taifun
1) to use the features provided by PubNub, I have to use Appinventor 2, is this correct?
2) have you tried developed an app using the PubNub's feature to 'push' a notification to another phone (installed with the same app but was not active)?