Is it possible to take a picture programmatically from the device camera without showing the view finder on an application screen in BlackBerry?
No, you must start the camera preview and display it on a Screen before a photo can be taken programmatically.
Related
I would like to know how Tumblr app is adding a mini camera live view on collection view cell in their app? Is it UIImagePickerController of type camera resized? I would be glad if someone could give more idea on this implementation?
If you want to do that, you're going to have to use AVFoundation. You can size and position the AVCaptureVideoPreviewLayer however you'd like.
I am making an application in landscape, but I need to open the photo gallery in the image. The photo gallery only opens in the portrait mode. Is there any way that the application can be limited to stay in the landscape mode except only for the photo gallery? Or can the photo gallery be opened in landscape?
Possibly, rotation of a view could help you. Have a look at CGAffineTransformMakeRotation.
But remember, it would affect your UIAlertView.
It is not possible because it is restricted by the framework, it will always open in portrait mode
When taking screenshot of WP7 Emulator the current screen that is being displayed in the emulator does not get reflected in screenshot, instead the screen viewed in emulator few minutes before (which is not the current screen) gets reflected.
Even performing refresh is not helping to capture the screenshot of current screen
I want to capture the screenshot of current screen being viewed in emulator. Is there any way to do it?
If you are using the Windows Phone Emulator, why not just use the built in Screenshot capture feature?
Just move the mouse above the Emulator to show the side menu on the right, then click the bottom "ยป" option and click on Screenshot tab.
What is the tool that u r using to take a scree shot?? I always use snipping tool and i have never had any problem with the screen shots i have obtained. I suggest you to use snipping tool to take wp7 screen shots.
I have using a plugin to show an UIImagepickercontroller as a subview in my iphone/ipod app. In iPad i get an error that says i should use a popover instead. I'm using my own custom plugin in unity.
The popover works...but the size is too small, i would like to have a consistant experience and show the picker at full screen in the iphone as well.
It's possible to show the UIImagepicker at full screen in the iPad ?, or at least to force a bigger size for the popover ?.
I don't think it is, and if you manage to hack it, I don't think it increases your chances of getting app store approval.
You can build your own custom interface to access photos. Have a look at ALAssetsLibrary.
When I load my iPhone app it always loads a black screen first then pops up the main window. This happens even with a simple empty app with a single window loaded.
I've noticed that when loading, most apps zoom in on the main window (or scale it to fit the screen, however you want to think about it) and then load the content of the screen, with no black screen (see the Contacts app for an example).
How do I achieve this effect?
Add a Default.png to your project. This should be the image you want shown instead of the black launch screen.
Also just to save you some time, there is no way to change this image during the runtime of your application. If you look at Apple's Clock application you can see how depending on the last state of the application, the Default.png changes. You cannot do this in your own app because of permission limits. Also, make sure to read the iPhone HIG for best practices on Default.png use, in short, dont use it as a splash screen like Twitteriffic.
You can also take a screenshot of your app as an aid to creating the Default.png - while holding the Home button, press and release the Lock Sleep/Wake button. The screenshot can be find in your Camery Roll library in the Photos app and can be synced back to your desktop.
When the app transitions from the launch image to the actual app content, it should not be jarring to a user - content (text/images) can be added to the screen, but content should never change. If all this leaves you with is an empty blue header, a white body, and a blue footer - then that's all you should have. If you have a persistent tab bar on the bottom & a localized app (different text descriptions), then then launch image should appear with icons but no text. (See Clock.app & Facebook.app for examples.)
Screenshots can also be taken in XCode using the Screenshot tab in the Organizer window and a plugged-in device.