Title explains it all.
I know AsyncUDPSocket to transfer data between iOS app, and I also know WinSock to transfer data between windows program. (https://github.com/robbiehanson/CocoaAsyncSocket, http://www.codeproject.com/Articles/11740/A-simple-UDP-time-server-and-client-for-beginners)
I once want to combine them, but it does not work well. I can send data from iPad to windows, but not vice versa. Moreover, when I try to use real iPad instead of simulator in Xcode, I can't even send any data! I don't know whether the failure resides in the iPad app or the windows program.
My guess is that I dont use the correct library to do the function. Anybody able to provide me with the useful library? Or even better, tutorial for it? Thank you so much.
Related
How to send data from an iPhone app to Windows app (or service) in real-time? Ideally over Bluetooth.
Basically as I type on my iPhone app, I want that text to appear on my Windows App (with-in a second or less).
How can I go about achieving this? I'd imagine there is some center-peripheral setup I need to establish. What are the libraries to use on both sides? Have never worked with Bluetooth in the past, so kinda lost. I looked into Apple's Multi peer Connectivity but that looks like iOS-Mac specific.
I have no idea on the Windows side, on iOS you would use Core Bluetooth to configure the app as either a peripheral or a central.
This one's a doozy: I'm developing an Android app in Xamarin which will send messages to an EV3 brick running ROBOTC. Anyone think they could help me with this? I understand that NXT bricks can use sendMessage(); but I'm using an EV3, and can't find a way to use this. Any help on this would be greatly appreciated. As for the type of info I wish to send, either strings or, if not, integers will do.
EDIT: Right, I forgot. The app will be for a Kindle Fire, and preferably held in landscape mode.
RobotC does not have Bluetooth support yet (they are working on it). Once they do get it working, you will need the "EV3 Communication Developer Kit" from the LEGO MINDSTORMS downloads page. This explains the communication protocol. In particular, look for the "mailbox" instructions. This is how messages are passed back and forth between applications.
I am in the scenario to send my local database's data across different devices (iPhone or iPad) using Objective-C. Is this possible to transfer the raw data between iPads/iPhones? Since My app should work in offline mode. I would be really appreciated if someone could assist me in the correct way to do this, if possible could anyone share me sample code to get started. Thanks in advance.
I have bought an iSpread (http://www.photofast.tw/iFlashDrive2013_1.html?pid=132) which allows me to put files on it via USB on my PC. Now those files on the USB I would like to transfer to my iPad. I know that there is an application for that developed by the creators of the iSpread but for an application I'm creating I would need this integrated into my own application.
I have downloaded the EADemo application and installed it on my iPad. There I can see that the accessory is attached and that it uses the tw.photofast.cr protocol.
How do I get a list of the files and transfer them? I assume that since this USB works on my PC that it uses a standard USB protocol. I'm able to send strings and hex data to the accessory using the EADemo application but no bytes are received.
Anyone have experience with this?
You'll need to know the protocol their app uses to communicate with the accessory.
They might give it to you, if you indicate you're willing to sign an NDA and they think they can benefit from the transaction. Some hardware manufacturers offer an SDK in the form of a static library.
If you really wanted to try to reverse engineer it, a good start would be to jailbreak your phone and run their app with gdb attached so you can poke around.
This may sound a little strange, so I have to tell you why I am making this app. I just got a very old iMac that has very low processing power. I am attempting to make an application for my iPod Touch that can make it act as an external processor for OS X Panther. I have almost everything worked out, but I need the iPhone to be able to interact directly with the OS X app I am making, like iTunes does.
To be clear, I only want the iPod to work as an external processor by moving data from my OS X app to the iPod app, complete the code blocks, and send it back (thats the easy part). It does not have to work with any other OS X app. What I need to know is how I can send data through the cable to my iOS app directly. If this cannot be done, I have a backup data transmitting solution, but the cable would be much faster. Any ideas?
Good idea, don't post good idea's online ;-)
I'm going to tell you up front; unless you are lucky I don't think you will be able to get this to work.
I know that someone once found out that iTunes uses some kind of daemon program to communicate with your iDevices. I'm not sure if this is still true, but that daemon is undocumented but 'available'. I have no more clues than this, maybe you get lucky and find something on Google.
I'd go with wireless communication, I don't think speed is such an issue if we're talking about small instruction sets.
Also there's this, but I'm not sure if that will be of any help to you.
UPDATE:
found this post: Where is the mount point for the iPod/iPhone in Mac?
Which should help you write to the iDevice disk. You should be able to continuously look for filesystem updates on your device to process the data, and vice versa, to establish some kind of transfer system.