Is it possible to make camera work from, application code? As here is need to capture Image inside my application through iPhone camera. And to upload that on web.
Yes.
Related
When saving a photo in Corona SDK. Regardless of the method used it seems no to be possible to capture any offscreen contents. For instance a 500x500 image displayed on a 320x480 device would be cropped at 320x480 when saved with display.save()
Is there a workaround for this? Is it possible to.
Save offscreen content?
Save or use an image directly from the device photo library?
Thanks for your help.
I don't think there is a way to capture offscreen content using Corona. Maybe there is a workaround to your whole problem if you give us more details.
Have you looked at the media.show function. With this you can load images from the photo library or the camera. It has option to either show the image directly on the screen or just save it to the sandbox.
is possible to take picture without launching the front camera in iphone device
if yes means, give that sample tutorial for refrence.
i want to take picture with front camera . but user will not see the camera screen.
in back end it have to take pictures and save in photo album
Yes, it is possible. Pl. see this link.
In that link, have a look at Generating a Single Image.
I'm writing an iPhone App that allows people to share images that may be copyrighted(not illegally). The issue I am having is that I'm looking for a way to work around the screen capturing. Is there any possible way you can disable screen capturing or possibly distort the image in some way so capturing will be useless, maybe even block the images when a screen capture is trying to be taken?
That is impossible because it is embedded in iOS itself. Maybe some private APIs, but then there is no app store for your app.
Watermarking the images may be a good half-way solution.
iOS screen capture does not support capturing everything. It does not capture OpenGL or YouTube for example. So if you can manage to implement showing images using OpenGL instead of the simple way using UIKit they would not show up on a screen shot.
Is there anyway of placing images on the iPad simulator?
You can save images from Safari.
I don't think there is a different (easier) way.
if you drag and drop from the OS onto the simulator, it will load the image into safari, where you can then save to your camera roll
I've done this by writing a little throwaway app that contains the images I want, then use the UIImageWriteToSavedPhotosAlbum API call to save them from my bundle.
I am building a custom camera app, and would like to have the camera view similar to the native camera app in iPhone. (i.e., picks videos as a non-modal view, stays in the camera view after each video taken. I found the retake and use views unnecessary). Is there any possible way to do it? Thanks.
you can't do it for videos at present, but you can do it for still pictures in OS 3.1. if you search for "takePicture" and "cameraOverlayView" you should find helpful information; you can resize the preview window to be any size you like.