Google Product's Data fetching - android

I am wondering one thing, when you scan a bar code with ZXing scanner, how to go and get the result of the barcode data from Google Product database ?
I already got a database to store the scanned result btw.
I have no clue recently though I have read some of the stackoverflow topics regarding with this topic.
Research that I have done so far:
I have been looking into this :https://developers.google.com/shopping-content/getting-started/usingapi-products
But I don't understand... because i m not sure if Android includes the JSon and Atom?
I know this question is so general but I need some explanations as well because I didn't understand it.Thank you ! :)

You can simply search barcodes by opening the browser with the following URL: http://www.google.com/m/products?q=YOUR_BARCODE
Or you can use Google Search API for Shopping if you like to handle the result on your own (show results/offers in your app). In that case you are restricted to 2500 requests per day (http://code.google.com/intl/de-DE/apis/shopping/search/v1/getting_started.html)

Related

Send Email from android Using Firebase

Can we send emails within android using firebase , i have tried several libraries like GmailBackground,BackgroundMail, custom method of Javax to send mail , but unable to send any email ,not even a simple one.
So I wonder if Firebase give such a feature , it would be great ?
Firebase Email Sending Blog post is showing empty is i think deleted , but why?
if you have any working source or tutorial to sent an email with attachment , it would be great , thanks
I've been researching this all day...
Option with third-party: SendGrid.com
There's actually a blog post by Tyson Bailey where he explains how he managed to get that done using SendGrid.com (monthly fee) here:
http://blog.onaclovtech.com/2014/07/emailster.html
It even includes the link to a Git he created upon it.
The solution in fact uses AngularJS as #Rexford mentioned in his comment.
Other options... None that I know for the moment, and am exactly researching upon a solution through GCP.
I can tell you they have been working since 2014 on something called "Triggers" that would allow triggering API actions from the database changes (which would helps lot), but seems to have been merged into Google Cloud Functions lately which is in Alpha by the time.
The good news is that as of a few days ago Firebase does now support sending emails... Obviously not from Android - that would be horrible - but from Firebase Fucntions - see here for an example.
Don't think Firebase support that yet..
You can use maligun service with this library for now. I have tested, it works.
https://github.com/sargue/mailgun
https://documentation.mailgun.com/en/latest/quickstart-sending.html#how-to-start-sending-email

How to post to news feed on facebook through android application

I am working on android application which will have stories fetched from our server.
I want is whenever someone reads a story. A news is posted on facebook like Ron read Storyname on/via Androidapplication.
I am still not clear how to define reading either by liking/sharing/recommending.
Forexample, Goodreads or TimesofIndia.
Can anyone tell how to do that ??
I am not asking for code.
The API you want is called Open Graph, you can find the information here: https://developers.facebook.com/docs/opengraph/overview/

How to search wikipedia with search string and fetch data, parse and disply in my app...?

all
I have searched this in google, but I confused with lot of sites which are no clear step by step procedure I found.
If any have Idea what are all the things need to be done. Please guide me...!
Thanks in advance.
This looks similar the demo app in "Beginning Android" book. There they will create the http request and will send data to the server. They will get a HTML response, in which they will parse the data and displays to the user.
The main problem is, if u hard code the tag names, in future if it gets changes, then your app may not work. So better check whether there is any library (jar file) available for the wikipedia app. and try to make use of that.
Regards,
SSuman185

finding nearby hotels in android

Hello I am new in making GPS based application so please help me
I am making an application which find the nearby hotels(say 1km )according to user location and show the list of them with phone no.
How to go next after detecting the user location?
and how will i get these hotels? is there any api or web service which provides this facility.
I found lots of similar questions there but they're still not clear to me.
if any one could explain this, it would be a great help.
Thank you in advance
For getting nearby famous places, you have to use Google's Places API. You will get complete information from the above link.
Also you can go through the discussion related to the same thing in Using Google Places API
Search by category, with over 100 different categories offered, and an Autocomplete service: http://code.google.com/apis/maps/documentation/places/autocomplete.html
You can see complete list of supported categories here : http://code.google.com/apis/maps/documentation/places/supported_types.html
I also faced the same problem when i started my first location based app..:)try to reading this :
http://code.google.com/apis/maps/documentation/places/
and this :
http://code.google.com/apis/maps/documentation/geocoding/
Hope it will help you...!!

TTS read from twitter android

Have an app that can use tts to read text messages. It can also allow login to twitter and post to the news field. Interested in possibly fetching data from the news feed and reading this out aswell, similar to the sms functionality I already have in place.
Have not seen any source or tutorials for this, other than an appinventor project that seems to do what I would like!
Anyone offer ideas how I might go about getting something like this working in my app?
You can create a client to read Tweets as explained here:
http://www.vogella.de/blog/2010/02/15/twitter-android/
And to read the news just use this class android.speech.tts.TextToSpeech

Categories

Resources