Scanning without taking pictures in BlackBerry OS 6 - blackberry

I'm working on a project that requires me to use the video control. My goal is to turn the camera on and use it to scan some words. I don't want to take pictures out of it. I would need to capture the image automatically when the image is focused instead of having the users taking pictures by pressing the button. What I have in mind right now is there is a state where your camera auto-focuses, if I can somehow catch that state and take the snapshot, then I don't have to ask the user to take a picture. I have no idea how to achieve this. Can anyone shed some light on me please?
If any of you have used something like a barcode scanner like barcode assistant or the canadian tire app, I want something like that.
Thank you in advance!

You'll find this BlackBerry Developer Documentation article useful:
Take a picture in a BlackBerry device application

Related

ARSCNView as VRView

Long things short:
I want make my iOS application Mac friendly. In my case I want (I don‘t know how to do) to use my ARSCNViews as an view that presents me everything in VR.
I don‘t want to have any special room. I only want to show SCNNodes.
Short:
I have got an ARSCNView so I see things in AR,
*but I want to see the things(SCNNodes) in VR, so that the users don’t have to continue using camera.
I want to see make an VRView from my AR(SCN)View.
I couldn‘t find any information how to do that.
I tried hard for 4 days.
Does somebody know how to do that?
Thanks
PS:
I already tried:
create a new camera
Use some not helpful code from Stackoverflow and  Dev Documentation
Like Stereo
Tried to create to ARSCNViews to give one as the input for the other on (I gave the first non camera input
(Something really stupid) I wanted to use an SCN
The simplest solution for nonAR (a.k.a. VR) app is to use SCNView.

How to automatically adjust a photo (ie. brighten, contrast) on iOS?

My iOS app (objective-C) handles photos. I'd like it to be able offer the user a way to automatically "adjust" an image, like how iOS itself does in the Photos app (little magic-wand icon), or how facebook does it. This basically means auto-brightness and auto-contrast adjustment.
So far i've found "filtrr" (more concerned with adding color it seems), and OpenCV (uhh, feels like using a nuclear missile to swat a fly with). Any other hints? Is there some library or a way of even doing this natively in iOS?
thx!
Look into Core Image for info on filters and how to apply them. Apple's programming guide is a good place to start.
Once you're up and running with Core Image, see the autoAdjustmentFilters method for getting a set of filters that's preconfigured for "one touch enhance" kinds of usage.

Suggestions for activating front facing camera within Safari on iPad

I'm trying to create a kiosk-style customer registration process with an iPad, but doing it an an entirely web-based environment, rather than a purpose-built app.
During the registration process, the user is required to take a photo of their own face using the iPad camera.
I have been experimenting with the HTML5 Media Capture tools, but unfortunately, this always defaults to the iPad's back camera, rather than the front-facing camera. This means the user must then switch to the front facing camera, which isn't ideal as part of the user experience.
I can't see any way of forcing the iPad to default to the front camera in the device settings, and my searches haven't revealed any way of doing this with HTML only.
I've had a look at apps such as "Picup", but they don't seem to offer much more than is already achievable with HTML5 with regard to camera control.
Can anyone offer any suggestions? Does anyone know of any other iOS apps (like Picup) that might give the ability to activate the camera for uploading images in a form, but can be configured to use the front facing camera as default?
Or am I going to have to go down the path of creating a purpose-built app to get the control I need?
Any suggestions would be welcomed, and thanks in advance for your reply.
The Media API currently doesn't allow you to distinguish between front and rear cameras, so there is currently no method (that I know of) that allows you to select the front camera.
However I would suggest perhaps building your app the way you are, but using PhoneGap Build (which can package your app into an iOS app) and the Camera Plugin (http://docs.phonegap.com/en/2.6.0/cordova_camera_camera.md.html) which does allow you to specify the front camera (see options->cameraDirection) apparently (I haven't tried it myself).

iOS - Image picker like the Facebook App?

Does anyone know of a control for iOS applications that looks similar to the image picker found in the Facebook app for iOS? It allows for multiple image selection, transitioning over to the camera, only displaying selected images, etc. I haven't located anything that is close to this control anywhere, but figured someone here might.
It is known as GrabKit, It is a free control under MIT lisence.
You may download it from here and next time please make sure to do proper research on google before asking questions.

blackberry camera Application

I am implementing camera application using then example comes with blackberry plugin for eclipse named "CameraDemo" the problem is that when the screen loses focus It does not display the camera view istead of it shows like this
has anybody faced such problem whats the solution?
This way of taking picture (using the Player and VideoControl.getSnapshot()) does not work nice on all BB models. I'd even say it works nice only on a narrow set of BB models. So if you are going to use your app on a wide range of BB models, then this is not the right way to go.
Instead to take a picture use a built-in Camera app. Here is a starting point on how to do that.
Basically you invoke the built-in Camera app and listen for the file-system changes to detect a new image file path. Then you need to close the built-in Camera app somehow - it's possible to do that by simulating two 'Esc' button presses.
Yes, this sounds a bit hacky/over-complicated, but that's how BB engeneers arranged that for us. :) BTW, this is actually not so bad if compare with Android where different device manufactorers violate the common rules and implement the Camera app in their specific way so you are not able to write the code once covering all Androids.

Resources