I have a program that essentially wants to be able to have the user plug in their iPhone or iPod Touch, then receive some info based on what device they are using and what firmware version they have. I have read into libusb a little, but I'm unsure on how to communicate and what info I would actually need from the device. Any help?
Take a look at iRecovery. It's an open source tool used to assist in jailbreaking iPods and iPhones. It uses libusb and should help get you started.
Related
I want to write an app communicating between Mac and iPhone.
Specifically speaking, I want to write a mac app which translates the input from mac and sends it to mac.
For example, if I type 'a' on mac, the app changes it into 'ah' on iPhone.
Another example, if I type 'a' on mac, the app changes it into 'あ' in Japanese on iPhone.
To write this kind of app, What documentation should I refer?
Please let me know, what documentation should I read.
Thanks in advance.
There is no easy way to do this,
The iPhone supports standard bluetooth profiles and a general purpose app like what you have mentioned will require the mac to act like an iPhone Bluetooth accessory (which requires it be be as per Apple MFi requirements)
You can do it by connecting an external compatible Bluetooth hardware to the Mac which can make it act like an accessory then write your app for the required function.
is it possible to get data from external bluetooth device(not iphone) to iphone(bluetooth sensor to iphone)?because normally apple requires both end must open the application with same GKsessionID?any help please?will mFI provide special chip t0 install in external device?
This is related to the question about getting data from external device.
Se if this helps. I am trying to use the same in one of my project now.
I'm not sure what you mean about a special chip, but I can tell you that bluetooth can only be accessed via GameKit, which only works on Apple iOS devices. I'm sure there's some private api, but that would require jailbreaking, which would get your app rejected from Apple right away.
Today i was going through an website and found something over this iphone and ipad development projects. I had a question whether a developer requires an iphone to actually work with or is there any other simulator type device where we can test it out too.
It would be also great if you can share some docs on getting started.
Thanks.
We have applications that run without a problem on the simulator and crash on the device, so I'd say yes. You might delay it for a bit, and work on the main aspects and buy the device later, but you should have it.
You should start at the iPhone Dev center and depending on your knowledge of Objective C, try some tutorials for it. One of the first tutorials I read about Objective C, and which helped me a lot, is here
You can simulate certain gestures and actions while running the simulator: the developer.apple article is here
You can test many aspects without having an iPad.
There are, however, some that you cannot.
Touch
Acceleration sensor
3G internet
much more
I strongly recommend buying an iPad / iPhone to test the user interface. A PC and the iPad have very different user interaction models, it's hard to create a native feeling app without having an actual device.
You can develop with the iPhone SDK which include an emulator. http://developer.apple.com/iphone/index.action but you would probably be better off having one of the devices if your developing a complex application. For working with Camera's or sensors it's best to have a real device to test you code on.
I dont think there are any devices that run the iPhone system. If there are they are probably illegal.
There is emulator build in XCode.
You dont need a device to run your code etc, but try to test the touch and other sensors in the emulator.
So basically if you are planning on shipping something bigger than helloworld you probably should get the Apple device.
There must be an emulator (I'm not sure, that's a guess), but as with any other development you better have a real device as well so that you have better chances of reproducing problems customers will report.
For iPad development you must have Mac OS X 10.6 Snow Leopard
I remember hearing about how Apple was going to include the ability to deploy an app from Xcode to your iPhone wirelessly in the 3.1 SDK. I believe it was to aid developers that wanted to deploy/test apps that used peripherals that plugged into the iphone's docking port- this way, they could deploy a build of the app with their peripheral device still plugged in.
Has anyone done this, or have a clue as to how to do this? Is it done via wifi network, via a direct bluetooth connection to the mac...?
I believe you can't deploy, but you can use Instruments over Wifi to performance tune your app.
You still need to use USB to allow for Xcode to install and debug your app.
I intend to write some piece of code for an iPod and an iPhone. so, i'm looking for emulators for those devices.
basically an emulator which will help me test the application I'm writing.
Thanks.
To develop iPhone apps you need to download the iPhone SDK. This includes the tools and libraries to code you applications as well as a simulator to test your code. This tools are available only for intel macs.
You can get the sdk for free here: http://developer.apple.com/iphone/
To test you code in a real iPhone, you will need to join the iPhone Developer Program (http://developer.apple.com/iphone/program/), which is not for free.
Are you talking about writing an application or writing code for your website to display properly on an iPhone?
The former requires a developer subscription with Apple to access their SDK and emulator.
For the latter, there seem to be several emulators out there to test your web site, check out:
http://iphonetester.com/
http://www.testiphone.com/
A Google search for 'iPhone emulator' should find a lot for you.
The iPhone SDK comes with an iPhone simulator that you can use with Xcode during development.
You can download the SDK from http://developer.apple.com/iphone - you need to be a registered iPhone developer, however, although this is free, after which you can use the simulator.
Note that if you want to send your applications to a physical device you need to enrol in the iPhone developer program which starts at $99.
You probably want to actually get an iPhone for that. You'll have to register the $99 but then you'll get the ability to upload apps to your iPhone/pod.
You could also jailbreak your phone/pod and do whatever you want.
There are also apps available that let you transfer stuff to and from your phone in the appstore (at least one free, if I recall correctly)
If you want to do something more with the files than just transfer them to the phone/pod, it's likely that you'll have to jailbreak your phone/pod anyway.
I keep wanting to find a better abbreviation for typing iPod/iPhone. How about iP(od/hone)? Hmm, not better!