How do I use vision API in ionic 2? - ionic2

I am a novice at ionic 2. Is there any way I could use google's vision API in my program? If so, could you explain it in simple terms due to the fact that I am generally quite new to the coding scene. Thanks in advance.

Related

React Native - Swipe to Reply

I am recently working on messaging app and I was trying to implement swipe-to-reply action. I am wondering how can I archived this effects by using GestureHandler?
Is there any tutorial or guide for me?
https://medium.com/mindorks/swipe-to-reply-android-recycler-view-ui-c11365f8999f
Thanks is advanced!
There is a repo where you can take a look at the example. Pretty much what you want I guess
https://github.com/nellu-art/react-native-chat-swipe

Android ndk camera2 api

can somebody provide a short example on how to snap camera frames with NDK, C++ Camera 2 api?
I couldn't find any meaningful resources out there as it's sort of brand new API, however would be thankful for any help.
Thanks!
I found a good example of using camera2 from within C++ here: https://github.com/justinjoy/native-camera2
It's easy to follow and I got it running in a few minutes.
There aren't sample apps available yet, but you can take a look at the basic compliance test for the camera2 NDK API:
https://android.googlesource.com/platform/cts/+/master/tests/camera/libctscamera2jni/native-camera-jni.cpp

Blackberry web services for 10.3 os

I am developing a BlackBerry 10 apps with Cascades (C++ programming language) right now. Can anyone tell me how do i make a call to an web service in BlackBerry 10: Cascades? I'm just a beginner, so i don't really know anything. Thanks for your answer :D
It is not clear what your requirement is, but since you are a beginner it is probably best to start small. Have you looked at the WebView Cascades control?
http://developer.blackberry.com/native/reference/cascades/bb__cascades__webview.html
How about XmlDataAccess and JsonDataAccess, you can find samples in the documentation.
There are a lot of samples on github.
samples
There is also a sample project using QtSoap to access web services.
soapxml

Writing my first blackberry app

I am contemplating writing my first BlackBerry app. I am fundamentally a C/C++ programmer, not Java. Can anyone provide some guidelines on the quickest route, i.e. shallowest learning curve, to writing a BlackBerry app?
Any resources/links would be useful.
As an aside:
In an ideal world, I would like to write once and deploy for both BlackBerry and the iPhone, but since I am targetting largely business people, I think BlackBerry should be my target - right?
Is it possible to write once and deploy on BOTH iPhone and BlackBerry?
C++ and C programmers can easily jump into Java and Actionscript.
I would suggest you to write application in Flash using actionsscript.
As you are a beginner, AS3 will be a good start as it provides easy constructs and API for UI programming.
Moreover, doing AS3, you can easily port it over to Android too.
If you are very particular to develop for both Blackberry and iPhone, then try using web technologies. Both phones support web technologies and create web apps.
These apps are also very easy to create and can even run on Adnroid with minor changes. My suggestion is to use your progrmming basics and try to venture into all possible languages to get a breadth.
Skyeagle,
With a C/C++ background, I'd suggest you start on the iPhone. Not only will you be more comfortable with the language but it's only a limited range of devices to worry about - in comparison with the BlackBerry market which varies vastly in form factor and ability (and is of course in Java).
However, if you were sure about doing BlackBerry, the main BlackBerry site is probably the place to start, along with the support forum - oh, and StackOverflow :) The JDK comes with plenty of examples which will cover the basics too.
I also suggest you do a little searching on here - getting started with BlackBerry development has already been covered a few times and probably hasn't changed that much over the last little while.
Final note - if you want to be on the bleeding edge of development, what about looking to develop for the PlayBook, soon to be RIM's latest offering?
Stuart
Depends on your requirements but you could use something like mosync

API to use deault Web Cam?

I'm working on a Win32 application in C++ and would like to add the ability to output the default web cam onto the screen. I was wondering if there was a Win32 API for this, or a way to do this without coding the whole thing.
Thanks
Yes, it is really simple with capCreateCaptureWindow. That googles really well, you'll have no trouble finding code samples.
I'd recommend DirectShow. capXXX API is really old and obsolete. OpenCV is based on Win32 API.
Using OpenCV you can access webcam.