How to exhange data between 2 iPads? - objective-c

i'm trying to establish real time connection between 2 ipads.
so far, i've done bluetooth already, but i want to do it over the internet as well. can someone point me in the right direction for the best way to do it?
thx in advance.

http://code.google.com/p/cocoahttpserver/
If you want the app to handle http requests you could try this. Implementing it will be quite a trick, so good luck and have fun!

Related

Forward Laraver 4 api calls

I have to forward all incoming request from api v1 to api v2. After finished process on the api v1 forward the same request to the api v2 and also process it.
I don't know what is the best way to do it. But, I'll try to do it through BeforeMiddleware or perhaps add some kind of filters on route.
What do you think about these approaches? If someone had a similar problem, I'll be thankful if you share your solution with me. Thanks in advance!
For this, here you can find a solution:
http://fideloper.com/laravel-http-middleware

Xcode - Web services and my confusion

I am having a problem here. I am totally new to this concept of servers and web services and being able to get data uploaded and retrieved on different devices, but I want to learn it, say if I want to create an app like Instagram.
But that is EXACTLY what I dont want, a link to a long tutorial on the internet on how to create the most complex app ever, I want to start slow. After doing extensive power searches on Amazon there are basically no books that will help me. So I want to start slow, here is my goal:
Get a great understanding of how web service backends and servers work and be able to apply it in other app ideas I have and want to start developing
I would like to start by being able to create an app that allows a user to enter some text into a field, it uploads to the server, another device can press a button to retrieve the text and display it in a text view.
I do not know php, and every single tutorial I have entered on this website is literal mindeff, the reason for this is because everyone has a different solution, sync web service backend with Core Data, MySQL, parse, Rails and it truly overwhelms me because I do not know which one to pick! And even worse some people provide code but I have no understanding whatsoever, and its like looking at a totally new language!
I am not asking for code, in fact that is the exact opposite. I am asking for someone to really lay out their knowledge, how does it all work? What is the best tool? Some resources and links. Nothing too complex...
I hope you can truly understand my extreme confusion and frustration. I think the reason might be is I might not be ready yet for all this, but I want to push forward and carry out my app idea!
Thank you...
Update:
I have finally decided on a web service I would like to use, it is the Amazon S3 web service, I am still not fully comprehending the full process though, any help or ideas!?
Since you wanted to create an Instagram-type app, look at this: http://www.raywenderlich.com/13511/how-to-create-an-app-like-instagram-with-a-web-service-backend-part-12
This is a good link to servers: http://www.youtube.com/playlist?list=PLC71D7CFB6AF935E6&feature=plcp. Watch the list to get an understanding of servers.
Maybe you want to read up on sql. Understanding sql will help.. Again: http://www.youtube.com/course?list=EC32BC9C878BA72085&feature=plcp. Watch the list to get an understanding of sql...
I can pass you the link and you got to do the work....
Hope this helps...

How to check if there's a carrier signal?

I'm planning to develop an iphone app and I need to know if it's possible to check if the iphone has any carrier signal or if it's as "no service".
I've talked with some developers and some keep telling me that it's possible while others say that it is not possible...
Anyone can help me with that?
You could look into the way MKNetworkKit handles reachability to domains. Haven't looked in depth, but I think it can tell the difference between wifi, cell network, and no service. That should give you everything you need.
https://github.com/MugunthKumar/MKNetworkKit
You can use:
int wl = CTGetSignalStrength();

G+: how to get plusone feed via api call?

i've googled all over, read through the APIs.
The best I can find is this snippet, and I have no idea how he figured out this much.
anybody?
This guy appears to have reverse engineered it with fiddler, maybe this is a private api and everyone is reversing it.

Rails 3: Real-time server push?

I'm trying to write a Rails 3 application in which a server can push data to multiple clients in real time.
I've heard of Juggernaut, but I've also heard that it does not work with Rails 3. I tried APE (AJAX Push Engine), but I'm not having much luck with it.
I'm very new to Rails. I can't find many guides that involve real-time push, and Rails 3. I was looking for a free, easy (if possible) solution to this. If anyone could point me in the right direction, I'd greatly appreciate it.
Check out Faye: http://faye.jcoglan.com/ - I hear really good things about it.
if you're looking for a hosted solution, i've used Pusher http://pusher.com/ in the past, and loved it. i converted a site that used ajax polling over to pusher in about 30 minutes.
You can try juggernaut to do what you want.
The github repository : https://github.com/maccman/juggernaut
Example of application with juggernaut : https://github.com/maccman/holla
Enjoy :)
Have you looked into http://socket.io ? It powers the push functions behind Juggernaut, if I recall correctly.
There appears to be a library for Rails here: https://github.com/markjeee/Socket.IO-rack -- it says 2.3+, which I assume means 3 is ok (though I'm not a Ruby guy, so I wouldn't really know).
In keeping with the Pusher suggestion, there's RMSN - a drop in replacement I've written using NowJS.
https://github.com/leppert/RMSN
Starting with Rails 4, you could also use Entangled:
https://github.com/so-entangled/rails
It basically keeps all data between client and server in sync in real time through web sockets. It's easy to set up, so give it a try.