OpenWebRTC needs back-end server? - ios

OpenWebRTC has the iOS library. Does anyone know OpenWebRTC required a back-end server?

Yes, a signalling server is needed. An example is available here: https://github.com/EricssonResearch/openwebrtc-examples/tree/master/web
Note that this is the same code that runs for http://demo.openwebrtc.org:38080/

Related

Does GCDWebSever support web sockets?

Need to implement a self-host Web-Server running on iPad, looks like GCDWebServer is a great option.
However the author does not intend to support for WebSocket, see link here.
Question: Is there an alternative to GCDWebServer that support WebSocket?
End up with Swifter which is not as mature, but good enough.
See the project here.

How to connect from your iOS app to a backend server? how to read, modify and fetch data to backend server?

I am new in developing iOS applications. I like to learn communication between my app and a specific back-end server(which is written in ruby). I would like to learn how to read, fetch and modify data on the back-end server? I do not have any idea where I should start? I am very welcome if you could refer me to any online resource/tutorial for this topic.
First, you have to create an API in ruby. Here is a tutorial on how to do it: https://www.codeschool.com/courses/surviving-apis-with-rails.
After that, when you are sure that your API is working correctly, you can write a service for HTTP communication. You can do it by yourself, but in my opinion, a much better option would be using the third party for that. I prefer using AFNetworking: https://github.com/AFNetworking/AFNetworking.
You can also use Heroku. First you can create your API and make some tests then implement to your server.

Can a native iOS client connect to a meteor.js server?

I'm really intrigued by the meteor.js framework. However, I'm not certain whether or not I can take advantage of the framework's real-time capabilities via the objective-C's native objects such as NSURLConnection. I have some specific questions referencing this question on how meteorjs works: How does the Meteor JavaScript framework work?
Let's start with web sockets:
The client/server messaging is done via websockets using something
like socks.js or socket.io.
Is there an objective-C library or framework for utilizing websockets in native apps that would be able to communicate with a Meteor server?
Second, is the mongoDB client:
The client side connection to mongodb is really cool. It replicates
the mongo-server driver into the client. Unfortunately, last I
checked, they were still working on securing this database connection.
This seems like the most intriguing part of meteor. However, does this mean there is no standard way to communicate to the meteor server other than executing strings of javascript in a hidden UIWebView?
For anyone interested in this, I've been working on an objective ddp client library here. I've only just started and there is no documentation yet, but everything works well. The project is here: https://github.com/boundsj/ObjectiveDDP
The specs for the ddp client are here: https://github.com/boundsj/ObjectiveDDP/blob/master/Specs/ObjectiveDDPSpec.mm
I'm also building a library for meteor auth so ios clients can authenticate with a meteor server using the password package. It's all put together and working in this sample todo app (also part of the same repo): https://github.com/boundsj/ObjectiveDDP/tree/master/Example
not a full answers but hopefully a few pointers to get you started.
Meteor uses a protocol called DDP - Distributed Data Protocol. The blog post introducing it is here: http://meteor.com/blog/2012/03/21/introducing-ddp
There is an Objective-C client library on github here: https://github.com/alansikora/objective-c_ddp-client Although I can't vouch for it and it has no real documentation, the code is short and should be reasonably understandable by someone who already writes Objective-C.
Other than that I would suggest digging in and see if you can uncover any techniques for iOS clients. It's early days for Meteor and were all learning how to use it.

Blackberry - Consume .Net Soap Service

I am new to blackberry app development and was wondering if someone could point me in the right direction(and may be a sample application) of how to consume web service in native apps. I'm using Blackberry JDE plugin for Eclipse.
I am able to consume a restful webservice, but now I want to consume a SOAP service. I am new to eclipse , so I would require in detail information.
Thanks,
I followed this none-ksoap2 route and it worked well for me:
http://www.johnwargo.com/index.php/blackberry/dbja2.html
This series of articles explains how to utilise the support the BlackBerry Platform has built in for JSR 172, the J2ME Web Services Specification, by creating a java stub class through the use of a utility in the Sun Java Wireless Toolkit for CLDC and the wsdl for your web service.
The articles give a very thorough and detailed explanation of the steps required to achieve the objective, so I would not wish to repeat them here in full, nor paraphrase them at the risk of my debased shorter version being quoted later. I understand the risk of answering in this way, and I realise that my short explanation above will in no way compensate should the original articles disappear from the internet.
Hey thanks for all the help. Figured it out. The problem was wcf service. When I tried with a simple web service(.asmx), it worked like charm and all the stubs were generated correctly. Probably wcf uses Soap 1.2 default and asmx service SOAP 1.1.
I even tried using KSOAP2 for calling wcf service with little success. Again switching back to asmx instead of wcf, solved the issue.
Now I have problem of plenty, which method to use(KSOAP or Stub) :)
I am all for non KSOAP method, but the only thing that is stopping me is I have to generated stub files everytime a introduce a new method.
Anyways +1 for all the help

Is it possible to use Cororna communicating with server via UDP/TCP/IP Protocol

I have a project needs to communiction with server via UDP/TCP/IP protocol
The client side I will use Corona sdk,
but I am not sure if Corona support UDP/TCP communication, or I need to make the function by myself?
Welcome any comment
Thanks
Try page 64 of the API reference here: http://www.google.com/url?sa=t&source=web&cd=2&ved=0CCsQFjAB&url=http%3A%2F%2Fdeveloper.anscamobile.com%2Fdemo%2FAPIReference.pdf&rct=j&q=carona%20sdk%20api&ei=Rh6RTcnUGY2WsgPQqfmnDg&usg=AFQjCNGqduQgly1eTfPV2KHGv2nbYeC4Yg
It redirects to the "socket reference" here: http://w3.impa.br/~diego/software/luasocket/reference.html
This talks about everything you asked about.
Corona SDK includes the luasocket module which supports low level socket support. It's hard to tell because it's not listed in the API reference (http://developer.anscamobile.com/resources/apis/) but there is a short discussion here (http://developer.anscamobile.com/content/network)

Resources