Is there a way to send NSData via Bluetooth without Apple rejecting it because it is made with GameKit API or something? If yes, how? I saw CoreBluetooth, but is it possible to send NSData via CoreBluetooth? If yes, how? I know, many questions, I hope you guys know the answers. ;)
Thanks
Yes, it is possible with CoreBluetooth.
See the latest sample code - BTLE Central Peripheral Transfer.
I just misundersdood a Post in a Blog! I shurely can use GameKit to do this, I am so sorry for this dumb question!
Related
I have developed a iOS app, now I want to exchange data between two devices( it can be android or iOS) for same app.
Is it possible to do, with or without Internet connection?
Sharing ideas will help me a lot...
Please help and thanks in advance....
THe simplies way to do that is by using backend substitution frameworkds, such as Parse. With it you access your data as from database on each device. Parse is shuttong down now, but you can setup your own server.
I am working on Swift and I am new to Apple Watch Programming. I am making a demo app in iOS i.e displaying images on feed. To display the images, I have to parse a service.
I know how to implement it for iPhone, but I don’t understand how to implement it for Apple Watch, and even I don't know that it is possible on Apple Watch or not???
If it is not possible then how should I show the data from a service in Apple Watch??
Is there any other way to display the data in Apple Watch?
Can any one explain me about this clearly, please...
Thanks in advance.
To consume web services on the Apple Watch you will need to use the NSURLSession API. You can also use an easy to use, popular framework called AFNetworking. This will make the requests and parse the data for you
I can't really explain why Alamofire is returning this error. It did the same for me.
But it was better, since the WatchOS guidelines say that you can't do long operation on the watch since it's life could be short.
I built a bridge around WatchConnectivity where I send message and I reply with the response asynchronously. The only difference is that you need the app on the iPhone is running (not terminated, essentially)
Hello i was wondering how to send a contact over bluetooth to another device. I used this code but its from an image. I just want to know how to send the contact.
https://github.com/unixpickle/ImageTransfer
Thanks in advance!
Look at the Project BTLE Transfer Bluetooth of Apple Doc
It is a demo Project that transfers Text whatever you write on Peripheral Device to Central Device.
In same manner you can transfer your Contact in place of Text with encoding
I hope this will solves your problem.
When there is no Internet connection, is there a way to tell the user that they cannot Bump their iPhone to transfer data. I have used motionEnded: method to detect the shake, but the sensitivity is less compared to the Bump feature.
Any help?
use apple's reachability class to check for connection availability and pop up a alertview with your desired message for user.
Your question is not clear. Can you tell more about what you are trying to achieve, what you have done so far?
Anyway If I am getting this right, you want to transfer data when there is no internet connection. Remember bluetooth? Apple has built a GameKit framework on top of it. You can explore that.
I have to implement VOIP in iPhone app,which is the best way of performing this.
If you have any idea please share with me or give me some pointer from where i can explore and get some better solution.
Thanks
Yes you can have iPhone Voip app. Could you please let me know what will be the purpose or functionality do you want to have in this app.
If you want to make calls using VoIP uses SIP(session initiation protocol) for communication to VoIP tor VoIP to PSTN. Follow the below URL for iPhone VoIP Client.
http://code.google.com/p/siphon
Get the source code and compiled it using the instructions from below URL;
http://code.google.com/p/siphon/wiki/Compilation
For VoIP Stack Please visit www.pjsip.org.
Use pjsip. It's a SIP library written in C. pjsip uses GPL license.
You may find documentation to do so.