Possible to mirror iPhone/iPad screen on a monitor without jailbreaking? - iphone

I have been looking for a way to show the iPhone screen (not the simulator) on a monitor or projector for demo purposes.
Previous SO post suggested jailbreak (Veency, iDemo/DemoGod, screensplitr) or simulator.
Release notes iOS 3.2 (External Display Support) and iOS 4.0 (Inherited Improvements) mentions that it should be possible to connect external displays to iOS 4.0 devices.
Is it now possible to demo an iPhone device on a monitor without using the simulator, or are the release notes about other improvements?
Anyone tried to display an iOS 4.0 device on a projector or monitor?
Update 22.Jul.2010:
To mirror iPhone screen: Jailbreak
and use Veency, iDemo or
screensplitr
To output to
external device from your
application: Implement External Display Support in your app in iOS
3.2, 4.0
Update 15.Apr.2011 ;))
It is now possible to mirror iPad2 on a monitor
Update 1.Dec.2011:
It is now possible to mirror iPhone 4S on a monitor

The iPhone 4 supports the VGA adapter that launched with the iPad. Within your application, any external display appears as an additional UIScreen instance. You can create a UIWindow, associate it with the UIScreen, and place content there that you would like to have displayed on the secondary monitor.
I show how to do this in the video for the iPad session of my course on iTunes U, and provide some code for this in the course notes. Matt Gemmell also has a nice writeup on the subject.

http://code.google.com/p/iphoneos-screen-mirroring/ Has code to allow you to mirror your screen using the cables mentioned above. This code uses private apis so make sure you don't ship with it. This can be done by creating a new target in xcode and conditionally compiling the mirroring code in.

Check Apple Composite AV Cable and Apple Component AV Cable. These connect to a TV and computer so may be you can find a way to get it on a projector.

Since iPad 2 "The Apple VGA Adapter mirrors exactly what you see on iPad 2 so that everyone in the room can enjoy it." Same hardware that needs special coding on original iPad then on iPad 2 by default mirrors.

If you are using a smart TV as a monitor, you can use the AirPlay function. However, not all Smart TVs support this function. You can simply test it by connecting your iPhone and TV to the same network to see if you can use AirPlay. If not, you can try MirrorMeister's free mirroring app, it works on all iOS and macOS devices as long as you connect to the same Wi-Fi.

Related

Xcode iOS simulator's Settings > Bluetooth just spins and doesn't turn on

I'm trying Apples BTLE Core Bluetooth test app.
But when I run on the iOS Simulator, it doesn't work because Simulator's Settings > Bluetooth was off.
But when I click Settings > Bluetooth to turn it on, it opens the right-hand Bluetooth pane and just shows the busy rotator, and never turns on.
Same problem simulating iPhone or iPad.
POSSIBLE SOLUTION ALREADY:
I just found this Apple Tech note,
http://developer.apple.com/library/ios/#technotes/tn2295/_index.html
If solution, then I will add the answer to this question, so that others may benefit.
This is no longer supported, unfortunately. (As of Xcode 5.0, iOS7) The tech note has been taken down and this third-party article describes some of the changes, including loss of BTLE support in the simulator: http://www.doubleencore.com/2013/09/whats-new-in-bluetooth-le-ios-7/
This tech note from Apple describes the complete procedure for getting ios simulator to do Bluetooth.
http://developer.apple.com/library/ios/#technotes/tn2295/_index.html
I bought the Bluetooth LE USB dongle at Best Buy. Be sure to ask for one with Bluetooth 4.0 because they still sell 2.0 (cheap).

How to refactor an iPhone App to run natively on the iPad

I have an iPhone application and I want to run it on the iPad in normal mode (not in the mini small emulation mode)
How do I compile my program to show up in full screen mode?
Any easy tutorial?
You want to refactor you current iPhone only app in to a Universal app.
iPhone SDK 3.2 [and later] supports the
development of Universal applications.
A Universal app is optimized to run on
all iPhone OS devices—itʼs essentially
an iPhone app and an iPad app built as
a single binary.
More details can be found in the Introducing Universal Applications for iPhone OS documentation.
In order to achieve your design goals
for a Universal application, you will
need to use conditional coding to
determine the availability of features
when your app is running. Conditional
coding allows you to make sure youʼre
loading the right resources, using
functionality thatʼs supported by the
device and properly leveraging
hardware thatʼs available.
In Xcode 4 you can set the device type, be sure to create iPad specific UI for you app.
Once you select Universal xcode will try and help you out by creating some interface-bilder files.
The iPhone views are created with the size 480×320px in case of pre-iphone 4, and the iphone 4 has 960x480px. The iPad has 1024x768, so you need to change the views for that size. There's no automatic way of doing it. In Xcode 4 you have some sort of "change this view to ipad", but the position of the elements in the view, but you will have to do some tunning on the final views, because the ipad UI of an App should give a different UX than the iPhone.

Xcode for Dummies: Can I simulate an iDevice camera?

So, is it possible to simulate the iPhone (arguably future iPad) camera in Xcode using the built in camera on my MacBook?
I read some similar posts, but from the answers I feel it was left up in the air if it can or can not...
Thanks in advance!
No, you cannot. There is no camera app installed, and calling the camera related classes normally creates a crash. You can however sync photos to it.
Short answer: Never use the simulator. It's a joke. I think the only reason they put it in there is so that people can fiddle with stuff before they pay 100 dollars for the developer program.
You cannot simulate the camera using just iOS SDK frameworks while staying within the app sandbox.
However, on the Mac Simulator, you CAN reach outside the sandbox and connect to another camera server Mac application or process, which you would have to develop. So it's technically possible using Mac frameworks and processes outside of the iOS environment for debug purposes to get a camera view inside a Simulated but-non-pure iOS app. Not for dummies though...

iTunes Connect: Excluding iPad From Supported Devices

I have just uploaded my first app to iTunes Connect and noticed that my list of supported devices is appearing as follows...
Device Requirements: Compatible with iPhone, iPod touch, and iPad.
I've developed specifically for the iPhone and iPod Touch and have not yet done any testing on the iPad simulator. I therefore don't want the app submission testers to try running my app on an iPad and rejecting it because of some minor issue.
I've looked at setting the required device capabilities in my info.plist, but that doesn't appear to allow me to restrict at a device level.
Is this a by-product of building using the 3.1.3 SDK? Are apps built using this SDK automatically upscaled to work on the iPad?
You can't restrict the app to not work on the iPad. Backwards compatibility with all iPhone apps is a feature of the iPad. Your app will run in a 100% frame or in an optional 2x mode depending on user preference.
iPhone OS apps that link against the 2.x or 3.x framework and test clean on the iPhone and iPod touch should work w/o any trouble on the iPad.
If you tested on the iPod, taking into account the lack of cell radio, camera, etc., you should be totally fine.
I don't see a good reason to exclude iPad since iPhone apps will run in emulated mode in iPad after all. It's the same situation as a 3.x firmware running apps compiled from 2.x SDK.
To restrict at device level, you add the UIDeviceFamily key, but this doesn't support excluding iPad (just excluding iPhone).
The way to indicate that an application should only run on iPhone is to specify your application as an iPhone type application, rather than universal. Open your project (in XCode), click on the project name at the top of the Project Navigator sidebar, select the target, go to the summary tab, and change "Devices" to iPhone.
When you submit it, it will only be run in emulator mode on iPads, thus getting around any issues.

Is it possible to display my iPhone on my computer monitor?

As the title says, is this possible?
I want to "mirror" my actions on the iPhone so it shows on the computer monitor.
We've seen this on the Apple key notes, but I am not sure if this feature is public.
Many screencasts displaying an iPhone application simply use the iPhone Simulator, which is one option.
You can also take screenshots on the phone by quickly pressing the menu and the power/sleep button at the same time. The image is then saved to your "Camera Roll" and easily transferable to the computer
The other way is only possible with a Jailbroken phone - Veency is a VNC server for the iPhone, which you can connect to with a regular VNC client.
The latest SDKs (beginning with 2.2, I believe), include TV-Out functionality. With a special cable connected to the iPhone dock connector, a program can send RCA signals representing its current screen contents through the iPhone->RCA cable. If you have a TV Tuner for your computer (i.e. I have an EyeTV Hybrid) with RCA inputs, you can display the screen contents of your iPhone directly in the TV viewer.
If your iPhone is jailbroken you can use DemoGod
use screensplitr on jailbrocken iphone/ipod touch it works
Release notes iOS 3.2 (External Display Support) and iOS 4.0 (Inherited Improvements) mentions that it should be possible to connect external displays to iOS 4.0 devices.
But you still have to jailbreak if you would mirror your iPhone screen...
Related SO Question with updates
I hope this help. Haven't tried it out yet, will post again once I tested it.
http://blog.appideas.net/using-iphone-video-output-to-demo-your-apps-o
This is a tool that will help you, i installed it myself
Here is the link
Do not we have an app which can stream the digital movie from iOS devices like iPhone or iPad to be played on a high definition LED or Plasma TV?
I know of an app air video server which can be used to display content played on computer or laptop on iOS device. But is there any app that can do the reverse & play the digital content from iphone to LED tv .