Questions tagged [autofocus]
456 questions
0
votes
1 answer
android - app crashes after setting Autofocus and Face Detection in Camera API
I tried to set Autofocus and Face Detection like this in onResume(), but my app crashes (it doesn't like the lines with startFaceDetection() and camera.autofocus(...) - app doesn't crash when they're commented). Here's the code.
@Override
protected…

Justin McGuire
- 365
- 1
- 5
- 18
0
votes
2 answers
How to trigger focus on input with monaca?
I am using Onsen UI and Monaca to build a mobile app for iOS and Android. I would like to set focus on the #search-cities input field, once the #search-city page is visible.
I've tried:
$(document).on('pageinit', '#search-city', function() {
…

Boldizsar
- 683
- 2
- 8
- 17
0
votes
1 answer
Autofocus in Blackberry ported app
I have implemented this ocr library, Its working fine in android but when I port the app in blackberry , Auto focus is not working. Any idea ?
Thanks

Zulfiqar Chandio
- 263
- 2
- 7
0
votes
2 answers
Focus 1st item in a listview when starting an activity android
I am developing an app that when I press a button ,It starts a new activity (ContactList.java) that contains a listview called mContactList. When the activity starts I want the first item of the listview to be automatically focused.
I tried…

insrod
- 1
- 4
0
votes
3 answers
AngularJS Adding row to a ng-repeat model - How to focus on the newly added row 1st input?
I am trying to add autofocus to the first element in ng-repeat
But this doesn't work. I'm using https://github.com/obogo/angular-focusmanager. How can I go about…

Kavya Shetty
- 185
- 2
- 14
0
votes
3 answers
Autofocus on iOS automatically displays picker
I'm working on a web app that features a number of regions that are dynamically shown and hidden throughout use of the application.
As the application is striving for WCAG Compliance, I have logic in place that causes the first selectable input of…

Yokel Pole
- 35
- 4
0
votes
2 answers
Autofocus setting in a jquery plugin
attr({ type: 'text', id: input_id,placeholder: placeholder})
How can is set autofocus attribute like other attributes in the code above.

Megha kaur
- 118
- 1
- 13
0
votes
1 answer
How to prevent autofocus on first input item when I click a link on popup in jQuery Mobile
I have a textarea and a link in a jQuery Mobile popup.
When I click link, textarea gets focused automatically and keypad is showing. (on ios)
I wanted to redirect to another page by clicking the link, but before it redirects, keypad is showing which…

Darby Jin
- 1
- 1
0
votes
1 answer
How To Focus JtabbedPane create Tabs
I want to Focus recently opened Tab of a JtabbedPane.In my Application,I create any number tabs It Focus on First tab only,Not focus recently create Tab automatically.For Example: When I create First tab The focus on first Tab,then I create Another…

user3556256
- 47
- 3
- 9
0
votes
1 answer
how to auto-focus and auto-capture picture(Driver's License) with camera in android programmatically?
(source: idownloadblog.com)
I am developing an android app in which when i open camera intent, i would want something like this screen-shot from the app Keyring. Instead of the Bar Code, I want to capture a Drivers License. A border for the user to…

dev_in_prog
- 121
- 1
- 18
0
votes
1 answer
Android focus and exposure stops working with FOCUS_MODE_CONTINUOUS_PICTURE
I'm making a small camera app, and I'm having a little problem with capturing several pictures.
First I found that after every mCamera.takePicture() we need to call mCamera.startPreview() on onPictureTaken() callback to keep seeing the preview after…

franzbischoff
- 150
- 5
- 15
0
votes
1 answer
Auto focus on latest input element
I was developing a module where I need to create some text input manually (on enter or button clicking ) and auto focus on that input right after it's appended to the list. So far the function seems to work but when I open the console log, the…

Duc Hong
- 1,149
- 1
- 14
- 24
0
votes
1 answer
how to auto-focus iframe on bodyload
I am working on a WYSIWYG text editor and I'm using iframe as the textarea,
i want the textarea to be selected as soon as the page loads.
i tried the onload event and the focus() function but both didn't work.
here is the code:
0
votes
0 answers
How to trace the mouse focus event in javascript or AngularJS
I have a weird bug in my web application. Say, I have two input box on my page: Input-A and Input-B.
When I focus on Input-A, and when there is a somewhat event triggered, the focus will jump to Input-B. However, I didn't write any code to change…

lazywei
- 11,955
- 5
- 20
- 25
0
votes
2 answers
to get autofocussed so that a barcode scanner could input the productcode and my ajax function could handle it
I have the following code :