Apple AirPlay mirroring SDK - ios

Is there an SDK for Airplay Mirroring? I'm working on a prototype for a device that should mirror the screen of an iOS device. I understand this may be achievable by paying royalties to Apple for each device, and I'm fine with that. But how would I go about prototyping this features? There is a lot of info on writing iOS apps that support AirPlay, but I can't find much info about the hardware side.
Update
Based on the exchanges in the comments, I wondering now whether this is at all possible.

It seems like it is not possible to have a device that can mirror the iOS screen via AirPlay mirroring. While I couldn't find an official statement to this effect, these guys seem to have done the work for their project:
http://www.indiegogo.com/projects/airtame-wireless-hdmi-for-everyone--2?c=activity
Hopefully things may change in the future, and I'll be sure to update the answer if they do.

Related

How do apps like iBetterCharge and coconutBattery work?

I've been using iBetterCharge for some time and I quite like it. Except the fact that sometimes it's annoying with its loud warning sound.
Anyway, I'm wondering how do apps like iBetterCharge and coconutBattery work? I mean how do they read iPhone batter level over wireless networks?
My personal research did not reveal much regarding how to read the battery level of a device programatically. However, according to the iBetterCharge FAQ they do not talk with iPhone at all. They say the app communicates with the device using the data which iTunes itself gathers.
But how?
It uses protocols which iTunes itself uses to sync with iOS devices. FAQ says everything you need to know. Check out libimobiledevice This library implements those protocols and can be used to retrieve battery info. I know it works over USB but don't know in which state is networking implementation (it says WIP).
You can try example here. You need to pass com.apple.mobile.battery as domain to retrieve battery info.

How to find wifi/cellular signal strength in ios [duplicate]

As far as I know it's not possible to scan for hotspots in range and read their bssid and signal strengths. This was possible on iOS 4 by using private APIs and not longer possible on iOS 5 without jailbreak. Even if it were possible, the app would be rejected on the App Store. Is that right?
One company that has an indoor positioning system is claiming they can develop this system in iOS. I know for a fact they are scanning for hotspots and signal strengths and then triangulating the signal on their current Android app.
Are there any alternatives I am missing? Their claiming sounds impossible to me but I would love to hear from the people here. I would like to be ready when they demo (although I am expecting a jailbreak or some kind of mock up)
As far as i know this can still be done (using private APIs, of course) by MobileApple80211 framework.
Stumbler code is a good source of information on how to use this framework.
For iOS 5 you'll need a jailbroken iPhone. Guvener Gokce has a very educational blog post on this: iPhone Wireless Scanner iOS5
Just to update the answer: The MobileApple80211 framework has been replaced by MobileWifi.framework. You will need a jailbroken device (supposedly it can't be done using just private API's, hence on a development/enterprise non-jailbroken device).

Bluetooth Low Energy Emulate Keypress

I am playing around with a TI CC2541 chip, and was wondering if it is possible to send a "keypress" over BLE. This would be similar to the new Muku Shutter for iOS and Android, because I am trying to figure out a way to interface with a mobile device without installing a 3rd party application. Essentially, I would press the button on the CC2541 chip, and then it would emulate a keypress of volume up?
I have been researching for a while now, and all solutions to handle this have included writing a 3rd party application to map the commands in the BLE packet to a system command.
Any help would greatly be appreciated. Thank you!
On iOS the answer is no
Edit:
Exception: You might be able to set up your BT chip as a Bluetooth keyboard.
You could certainly write an app that talks with a remote BLE device and uses an agreed-upon protocol to pass key presses to your app, and then you could interpret those messages using code in your app.
However, Apple enforces a "sandbox" on its apps, and apps are not allowed to interact directly with the system except through very tightly controlled set of APIs. If there is not an official interfere to do something, it is not allowed.
If you were to run on a jailbroken device then the answer would likely be different. I can't help you there however.
Edit:
#OliverMason says in a comment that iOS shutter buttons are apparently single-key BlueTooth keyboards that emulate the volume up button, which the camera app recognizes as a way to trigger a photo. Thus my answer above isn't quite accurate.

Determine when the iOS device was last off and for how long?

Can anyone think of a way to determine when the iOS device was last powered off and for how long?
According to this answer there's no way to detect when the device is powering off or powering on. I also can't find anything in Apple's docs about it.
power on events in iphone
I'm not familiar with jail broken devices though. It'd be a good feature.

Does anyone know if it is possible to create an ipad app that can be an airplay receiver?

can anyone point to any ios library or developer documentation that would help me accomplish the following:
I would like to build an app that can be the receiver of another ios device using airplay mirroring.
Is this possible? allowed by apple?
That would be annoying to program and Apple would most likely reject it, since you may need to license with them in order to set up an AirPlay utility.

Resources