Is this possible to do websocket programming in jquery mobile.I am using jquery movile in IOS and android .I need to show data which is coming in port .I need to show data my screen .Please tell me how to do websocket programming in websocket.?
Thanks
jquery mobile is just a user interface API basically. Yes you can easily implement web sockets using javascript. Jquery mobile has a lot of javascript APIs available as well to call after you recieve your websocket data.
Maybe jquery has a websocket implementation I am not sure, otherwise you will have to implement your own websocket components.
https://code.google.com/p/jquery-websocket/
http://api.jquerymobile.com/
Related
How to display data from ksqlDB in UI?
I use Angular app, and I am wondering how to display real time data in web interface or mobile
ksqlDB has a Restful API you can talk to. However, it may be worth waiting for the upcoming 0.10 release as that will come with a new client API, which will be easier to work with from JS.
To resume, I am developing a web application with Jquery mobile and I have a list of people from the same enterprise. I was asked if by one click on a person, the application could launch a chat via lync.
I did some research and I found that : https://ucwa.lync.com/documentation/what-is-lync-ucwa-api.
That API allow use to use Lync by adding C# code into the application, but my problem is that I have only HTML / CSS / JS for this project.
I think the only way for me would be to launch chat on the mobile or webversion of Lync from my application, do you know if it possible ? I can find an answer.
Thanks for your futur advice !
if you only need IM and presence (i.e. no audio/video) then UCWA is ideal. It's a rest-based API, so there's no dependency on clients using C# to call it. As I remember, the documentation on the UCWA site is pretty good
I know it's late but, i've an experimental java api which can communicate with Lync 2013 UCWA. Here is the github page
You are welcome to fork it.
Although source maps are great for debugging, you don't really need to be sending these files to your end users. jQuery Mobile's source map is huge (222 kb, which is massive for a mobile website). Is there some way of disabling the request to get this map from the server? I have tried using jQuery's CDN and tried using a local include, but in both cases a request is visible in the Network tab of Chrome's DevTools.
My current JSONP research indicate that, one thing which make it different from JSON is its ability to fetch data in a cross domain environment.
But from the development point of view, specially native iOS and web technologies like JS HTML. will there be any difference?
There are no cross-domain restrictions in native iOS apps. You can communicate anywhere that is exposed.
For web apps running in a native shell like PhoneGap that use AJAX to communicate with a service for JSON data, cross-domain restrictions don't exist either. PhoneGap for example is running on the file:// protocol which doesn't have to adhere to same-domain AJAX restrictions.
For web apps running in Safari that use AJAX to communicate with a service for JSON data, cross-domain restrictions will apply. JSONP could be used in this situation.
We have developed a Web Application using grails, groovy and oracle as database with css and javascript (jquery) and ajax for web related features. The application work fine on all desktop based web browsers like firefox, IE, chrome etc.
And for hosting it we use tomcat server.
Now we want to develop a mobile based version of this web application such that when the request comes from a mobile device the server should detect the type of device and route it or serve it using the appropriate instance (mobile one for mobile device and normal one for computers)
How do I implement this check in request resolution? is this by creating my custom filter in tomcat server?
Also for the mobile instance I want to have the changes only in the views , its should use the same controllers and services and all other code used for the main browsers, just views and styles and js if required will change. how do I go about having different views for mobile version which get called automatically if the request is coming from a mobile device
Thanks
Priyank
Have you tried the spring mobile plugin? The documentation seems to cover all your questions...
This blog post contains specific tips for porting a Grails web app to mobile