Google Assistant in React Native Project? - react-native

I am trying to implement a feature that would prompt user to say something (automatically and show "Speak Again" or something similar if user isn't saying something) and when the user is done speaking I would use the audio + (audio in text format) for further processing. Right now I am seeing Google Assistant already does similar stuff in android phones. I am looking for a way to use Google Assistant for my purpose, but couldn't find any proper resource.

Related

Track app downloads from Facebook and Instagram

I have some ads on my Facebook and Instragram accounts and I'd like to track these downloads.
For Facebook I guess I should install the SDK (https://github.com/facebook/react-native-fbsdk) but I can't fin any method to save this information. Same thing for Instragram.
If this is something we need to track when we get redirected to the store to download the app, how can check this inside the app? This is more something we need to track on Facebook/Instragram dev panel, right? Maybe here is where I'm getting confused.
Also I saw that I can create ads campaings in Facebook Ads Manager. Does it mean that I can only measure downloads using these kind of ads? What about from a link on a normal Facebook post?
I'm using React Native.
You can check the LoginManager from the react-native-fbsdk.
You can use some service like Localytics or Adjust to track the events.
You can use Sentry to send crash reports in case you are failing to register/login/logout. You can also use GTM.
Using these three services will give you a lot of power (tracking and crash reports).
Take a look at the topic deferred deep linking facebook, that's what you'll need if you are planning to have Ads from facebook.
Example with Facebook Login
Adjust
Localytics
Sentry
GTM

access google custom search from my android application

I m trying to develop an android application which takes recipe name from user and internally search recipe of entered name from Google custom search and give it user.
But i do not understand how to access Google custom search from my android application. Please help me to get out of this.
Thank u in advance.
Google provides a JSON/ATOM Custom Search API. That would be the way to go about integrating the Search into your Android application.
To make the integration processes easier into any client application and avoid doing all the REST stuff in your code, there are a number of client libraries made available. Take a look.
Be aware of the pricing i.e. free quota v/s billing.

Music database to run track data against

I'm writing an app that will let me manually edit my iTunes music library from outside of iTunes using a SQL-like syntax. I know how to edit the library, but I want to be able to run my track info against some kind of online database to get the right info. I found GraceNote, which seems to be the big name when it comes to music databases (iTunes actually uses it), but I'm not sure how to connect to their database. I registered into their developer program, but I'm not sure where to go from there. I just want to know where I can get a connection string and table info.
Have you tried Gracenote's Web API?
https://developer.gracenote.com/web-api
If you are creating an iOS or Android app, then you should use their Mobile Client SDK:
https://developer.gracenote.com/mobile-client

Upload Image to Facebook Objective-C

I'm currently trying to upload an image from my Mac application to Facebook. To do this, I'd like for the user to simply input his username and password, and to click a button.
The only issue is, Facebook doesn't actually have an API for the Mac, it only has one for iOS. This shouldn't be a problem, except for the fact that to login, you must use a web view, something I'm not to keen on doing, since I'd like the interface to be two simple text fields.
I've also looked into PHFacebook, a class I found online, but it also seems to utilize an NSWebView.
I'm wondering if there's a security issue when you use text fields; indeed, it's slightly strange no available API offers this function !
So, to conclude, is it possible, or is there an API, that lets you upload an image and lets you provide the user's credentials through simple NSStrings?
There's a Cocoa framework called MKAbeFook that lets you access Facebook APIs. I don't know if it's up to date, but you should give it a try.
It looks like this is not supported unless you can embed a web browser.
If you scroll to the bottom of: facebook authentication docs, it seems to say this.
Embedding a web browser is generally doable, but may be overkill for what you are trying to do.
Good luck!
You could do this through JSON on your mac app but I think the way Facebook protocols work you simply provide the image to upload and then the user logs into their Facebook account through a webview and has to authorize it.

Set instant messenger display message programmatically

Would a script that sets display messages for instant messengers be simple or complex? After some searching, there doesn't seem to be any information about this at all.
For the sake of an example, if I had a text file of quotations, would it be possible to have the google talk display message change to a different quotation hourly?
Depends on which client you're using. As far as I know, Google's client doesn't offer any interface for plugins, but the open source instant messenger Pidgin does. I think there already is a plugin for what you want to do, but you can write your own using the documentation and examples they give you.
The complexity of writing something like this is based on how much C or Perl you know, since you can program in either of those for Pidgin. Reading code from other people's plugins, you should be able to figure out the Pidgin API.
You can use Kik API to programmatically send rich content and files between mobile applications. It is available for iPhone and Android platforms and takes only about 5 lines of code to integrate into your app. There is more info at the API website: http://www.kik.com/dev
Disclaimer: I'm on of the developers behind Kik API :)