I've a kids application which is rich in graphics.
It don't have any videos in it. Only background audio will be there
It has some activities like counting numbers, reading alphabets etc.
Can I mirror the application in apple tv using airplay so that what ever they see on iPad app must be shown on TV also?
I googled a lot... but i couldn't find any code. But I read that its possible. Can some one guide in how to proceed with this feature?
To use AirPlay your application does not necessarily have to do anything special. AirPlay is built-into iOS, and any app or game can take advantage of it. The user simply has to double-tap the Home button, swipe to the left, press the AirPlay button and select the mirroring option. This works for all apps automatically, including video and sound.
Related
I have a YouTube channel which I post game reviews and best apps videos. I am currently using my old ipod to record but since I have quite a lot of subscribers I want the video quality to be better. Is there any app I can download to take a screen video on a non jailbroken iPod touch 5G.
You can share screen of your iPod to your desktop computer using AirPlay and record screencast from this computer. It will look like you recorded screen of your iPod. For this you will need anything like this: http://www.airsquirrels.com/reflector/record-iphone-screen/
Or you can try solution from Apple Support Community: https://discussions.apple.com/thread/4893020?start=0&tstart=0
They suggest following:
Get RecordMyScreen from emu4ios.weebly.com on your iPhone. Sroll down
untill you find RecordMyScreen then press install. When it asks if you
want to install the app press indtall. It may take more than one try,
so if it doesn't work the first time tap retry. I have it and it works
great.
Hi i am building iOS application target iOS 5 and above. I am using MPMoviePlayerController to stream movie file. I that player i want to give airplay support.
According to apple documentation
Default Movie players (iOS 4.3 and later) support wireless movie
playback to AirPlay-enabled hardware such as Apple TV. The movie
player presents a control that allows the user to choose
AirPlay-enabled hardware for playback when such hardware is in range.
It seems that by default it will display airplay button in fullscreen mode if any airplay device is in range. But it is not seems to be happening. I am unable to see airplay button in movie player.
Am i missing something? Please advise.
By default, MPMoviePlayerController enables AirPlay support. If you haven't set it as FALSE. Then, probably you need to check your network or AppleTV's network connection. They need to be in same network (intranet usually).
There is a safe way to detect whether your iOS device is able to find AppleTV. You can double click HOME button, swipe task bar from left to right side, if you can see "Airplay" route button, then you can reach it. Otherwise, you need to check your AppleTV setting to make sure Airplay function is enabled and AppleTV is connected to same network that you iOS device in.
If you are using your own customized video play controller interface, you can embedded the "Airplay" button into your own UI.
MPVolumeView
I want to stream my application on APPLE TV using AirPlay API.? How to use that?
Can it work through iPhone and iPad both?
If yesy please share some doc regarding or demo for the same
You can implement support for external displays very easily. Here is one blog post about it by Matt Gemmell: http://mattgemmell.com/2010/06/01/ipad-vga-output/
If the user enables AirPlay (by clicking the home button twice and then swiping left to reveal the AirPlay shortcut) with an Apple TV, your app will detect one additional screen, the Apple TV. You can then use the API described in the blog post above to stream your app's view to the Apple TV.
There is no way I know of to add an AirPlay button directly in your app, though.
I've searched the Internet for a while to try and find an answer to this. If you open up the multitasking bar and swipe to the left there are music controls that can be used by whatever app is playing music (ie Music, Pandora, etc.). I have not yet discovered a way to use these in my own music playing application. Does anyone know how to do that?
You should take a look at this example in the Apple API docs examples. It's basically what you want, a small audio player that interfaces with iTunes, lets you pick songs from the library and behaves much like the standard music player, including the music controls callbacks.
I have an iPad app and I have a video playing in a view. I would like to play video using Airplay but by pressing my own button.
I have set allows airplay = YES and so forth, this works if I enable the full controls, but I want to set no controls and have my own button to play the video using Airplay.
So far, I have found no information that would allow me to play a video on AppleTV without allowing the normal controls.
So just using an UIButton action to force the airplay, or at least get available devices and set it manually. Anything that would allow me to do this.
MPVolumeView will only control audio, it won't control video. For that you'd need iOS 5's AVPlayer, or a movie controller.
An alternative for you might be to use AirplayKit, a 3rd party library.
https://github.com/rothacr/AirplayKit
To answer my own question.
This is quite possible without jailbreak.
Here is apple's own page explaining this, so this will pass the review process.
Apple developer library document explaining how to do this