Questions tagged [autofocus]
456 questions
0
votes
0 answers
Asp textbox with placeholder and autofocus
At the top of my aspx page is a searchbox. I want this textbox to have focus when the page loads, but I also want it to have some place holder text so the new users know what it does. My problem is when the box has focus the placeholder text…

Brian H
- 1,033
- 2
- 9
- 28
0
votes
1 answer
What is the type of/how do I initialize 'currentDevice' in this code?
I'm trying to tell the camera in my app (which is build around OpenFrameworks) to auto focus. After reading this SO post I read through the AV Foundation Programming Guide on how to set the focus mode. The code they give as an example is:
if…

Matthew Herbst
- 29,477
- 23
- 85
- 128
0
votes
2 answers
camera.cancelAutoFocus will not return or throw exception
I am testing an android application on a samsung gt i8260, a samsung s4 and a sony ericsson xperia mini st15i.
The application at some point of the code while on preview mode and autofocusing constantly (callback calls camera.autoFocus again every…

Stavros Zotalis
- 718
- 4
- 24
0
votes
1 answer
Is it possible to tell a mobile device to automatically popup the keyboard for the autofocus element?
I'm using Meteor and I have a "Add new" button that when clicked, disappears and in its place is a text box.
I won't go into the logic for how it toggles between the button and input as it's quite unrelated. But the HTML code is below.
the bit that…

Diskdrive
- 18,107
- 27
- 101
- 167
0
votes
1 answer
jQuery - change focus on next input
I have this code
0
votes
2 answers
How can I auto focus on a textfield using Win32 GUI in Perl?
I'm following an online Win32::Gui tutorial to learn how to add a GUI to my Perl application. So far everything's been good. But I'm having some pesky small problems. So I'm asking for help here again.
One problem is, I have to click my mouse in the…

Mike
- 1,841
- 5
- 24
- 34
0
votes
1 answer
How turn off autofocus with CameraBridgeViewBase opencv4android
I'm developing an app for Android 4.2.2, and I want to turn off the autofocus. There is a way to do it if I'm using CameraBridgeViewBase?
The version of the opencv library is 2.4.5. The specific device in which that I want the app to work fine is…

jenniferdr
- 61
- 1
- 4
0
votes
1 answer
Adjust MatLab window focus
I've done some searching regarding this question but no luck so far, and I'm hoping somene here can help me out.
I'm using MatLab's Editor, but when I run the program, the console is in the main window. Is there a way I can make MatLab open its main…

Laís Minchillo
- 741
- 1
- 7
- 15
0
votes
3 answers
Functionalities on Android and Google Play compatibility
I had an application that require autofocus to work so its in the manifest file.
When I put my application on the Play Store some phones ar not in the compatibility list like :
Xperia Tipo (ST21i)
LG Optimus L3 (E430)
But according to the…

Erufu
- 41
- 1
- 3
0
votes
1 answer
Javascript onclick function - 2 clicks needed to work
I have the following Javascript code:
function toggleSearch() {
if(document.getElementById("searchitem").style.display == "block" ) {
document.getElementById("searchitem").style.display = "none";
…

Simon H.
- 3
- 2
0
votes
1 answer
autofocus not working if body is hidden?
my login page has an input with "autofocus" property:
This works... But I would like to hide the body until it has completely been loaded:

Frédéric Charrier
- 15
- 4
0
votes
1 answer
AngularJS form input focus, data does not show in model
Newbie to AngularJS, sorry.
I want certain form inputs to have focus set on them based on certain criteria.
Found that answer already with this answer (focusMe).
The problem is my form input does not show up in the model.

Lance Perry
- 1,276
- 2
- 18
- 28
0
votes
1 answer
Finding the distance of object from a logitech camera
I want to find the distance of an object from camera. Note here I am using single camera. Camera autofocuses to focus on planes at particular distance from camera.
Is there a way I can find this focus distance?

Bhushanam Bhargav
- 301
- 1
- 4
- 10
0
votes
0 answers
Stereo rig Calibration using two webcameras with autofocus technology
DISCLAIMER: Apologies for this very large question, as it could take a lot of your time.
I have a stereo setup consisting of two webcams these cameras possess auto-focus technology. The stereo setup is in canonical configuration where the cameras…

Richie
- 4,404
- 2
- 17
- 22
0
votes
1 answer
Lose focus on exit edit text and save state
I have an edit text, when I enter something here and tap outside, the focus and the softkey board should hide and change the visibility of a button if the value entered is not empty. If I again enter and change the value of the edit text 0 and tap…

bharath
- 953
- 4
- 17
- 30