Use camera in another third party application in blackberry - blackberry

I'm developing an application in which I want to use the camera in my application. Is there any API by which I can control the camera in blackberry?

you can use
Invoke.invokeApplication(Invoke.APP_TYPE_CAMERA,new CameraArguments());
to invoke the Camera
and FileSystemJournalListener to know which file is added in the file system

Related

Vuforia display video that was downloaded from the internet

I need to develop an app, that uses Vuforia cloud recognition of object, and then display a video on top of that object. This video file needs to be downloaded from the internet from separate web service, using recognized object identifier. I was looking at Vuforia samples, and was able to configure Cloud Recognition to use correct target manager database - objects are recognized correctly. But I don't know how to do, so that after discovering this object, I would display an loader view, and when video is ready to play, then display this video. I don't know where and what to update in the code. I only found that some local dataset can be used, but I can't use local dataset, because videos I want to display, are supposed to be downloaded from the internet after detection. Can someone direct me, where in Vuforia examples I can update what is shown on the target?
Vuforia cloud is only for markers.
As per your requirements
1. You need to use iOS code to download the video.
2. After that you have to show that video using AVPlayer.

Is it possible to take picture using voice command in iOS app?

I created a sample application that uses custom controls to take a picture. Now I want to take a picture using a voice command (like if the user says "capture photo"). Are there any default controls or options in iOS or do we need to implement our own? Any references?
Now I want to take a picture using a voice command (like if the user says "capture photo"). Are there any default controls or options in iOS...
There's an iOS 13 new feature called Voice Control that will allow you to reach your goal.
Activate this feature as follows:
You can find useful information in the Customize Commands section like taking a screenshot for instance (taking a photo with the camera works as well):
If you need dedicated names to be read out in your app, use the accessibilityUserInputLabels property to define them.
It's now possible to take picture using the Voice Control feature in iOS app but only since iOS 13.
Are there any default controls or options in iOS or do we need to implement our own?
As of iOS 8, there is no Apple-provided speech-to-text API. You can use SpeechKit, or implement one of the hacks that uses the Google Voice API.

how can i add a bar code reader to my rails 3.2 application

I am doing a project on rails where I have to scan the barcode from the client side and save the barcode data to the database. How can I use barcode scanner in webpage client side?
There are some javascript libraries for this purpose. Here are some of them:
http://manuels.github.io/unix-toolbox.js-exact-image/demo/
https://developer.tizen.org/development/articles/barcode-generator-and-scanner
(includes QR codes as well)
You can either provide a place where the user can upload an image with the bar code or use HTML5 canvas and the Camera API to get the code from the camera. In the last case, you should be aware of browsers supports, of the Camera API, canvas, etc.

How to Trigger custom Video player While playing any video in iphone?

I want to create a Custom Video Player with some more features and settings .
So My question is:
1) Can i trigger my app when user clicks any video ?
2)How can i get list of all videos saved in iPhone (not in camera roll) ?i want to play them inside the video player i created.
Please guide me, thanks.
I don't think you can capture all video. External Apps tend to use Apple's native video support.
The only exception to this is if you register your application to open certain filetypes. Then applications can allow you to open the file in an external app such as yours. But this will require the cooperation of the other apps to implement "Open In" functionality; Very few apps tend to offer this functionality due to native support of video.
See here Apple Documentation
The filesystem is locked down, if it's not in the camera roll or "Open In" you can't access it.

Application Craft and QR Code reader

I am working on a mobile application (Android)using application craft which is a web-based technology which can also be ported to an android app. I would like to know how is it possible to allow my system to activate the camera device in the mobile device so that the user is able to capture the QR code and the system is able to decode and display the details accordingly.
I am not intending to use the QR technology to navigate users to a link but use the technology to display details.
Hope someone can enlighten me.
Have a look at https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner

Resources