I have problem while opening camera in my application from background mode. I used AVCaptureDevice controller and create custom camera in my application. It's work fine but when I close app from home button and again reopen app camera take longer time for reactivation. Can any body give some idea how can I reduce time for activation.
Thanks in Advance.
Related
Im really new to Unity and I'm currently developing an application using EasyAR.
My scene is correctly set up and everything works fine but my goal is to create a button that when clicked freezes the camera to the last frame is shown. In other words, I wish to pause what the user is watching with his camera to be able to observe it better, almost as if he takes a picture but without saving it. Is there any way to do it?
I have a mobile minisite that is reached from some iphone/android apps through banners
the site integrates a html <audio> tag that plays some sound after clicking a button
While in some apps everything works great, in a certain app - while the banner is clicked the minisite is opened in a some kind of browser inside the app (screenshot provided below)
the problem is that when the user closes that browser (by click the X button) while the sound is playing - the sound doesn't stop
is there anyway to know when the browser is closed in order to stop the sound manually?
I guess window.onbeforeunload won't work here because if the site was unloaded - the sound would stop anyway
screenshot of the kind of browser I'm talking about:
thank you very much
One possibility would be to setup an event listener for the blur event and just pause the audio then.
friends I am new to iphone development, I have mostly worked with Android, now I have to develop a small clock for Iphone which should be shown on lock screen like following app
http://itunes.apple.com/us/app/weather-lock-screen-free/id433369569?mt=8
just a start idea how can i place an app at iphone lock screen since i have already created the (analog ) clock, thanks for your help
Faisal
This app doesn't actually set the background of the lock screen. It asks the user to save an image, then the user has to set the image as the background for the lock screen manually.
There is no API to do what you want.
I am working on virtual binocular in iphone.I made a application for both iphone and ipad. Getting issue regarding camera black out sceen. Actually, when first time application has load on the iphone its call viewdidload method after that it will call viewwillappear and then viewdidappear.But when I working on my application its work properly but during that duration if i open the other application and reopen again my application it gave me black screen on camera. it simply means that it didnot load the application
In my app it has lots of videos and animation to present a view. Am implemented External display by using TVOutManager sample app. Every thing works fine except video part.
inside my application videos are playing fine but in external window it not showing anything is simply shows "TV is connected, Video is playing in TV" in a small window.
So how to resolve this.. how to display inside app video to external window.
any idea or am i doing something wrong here..
thanks,
Here am answering to my own question.
robterrell's TVOutManager will not play any video to external device by simply doing [[TvOutManager sharedinstance] startTvOut] and [[TvOutManager sharedinstance]s topTVOut];
here we have add the instance of player to tvoutWindow.
[tvoutWindow addSubview:player's instance];
but here thing is the video is not displayed in device,
but you can control external window player from device.
cheers.