I have some query.i want to translate from one language to another langugae.i am following this tutorial http://android-er.blogspot.in/2009/10/androidtranslate-using-google-translate.html but i am not able to translate text.
I am getting error
E/ErrorGoogle(1420): java.lang.Exception: Google returned the following error: [403] Please use Translate v2. See http://code.google.com/apis/language/translate/overview.html
can any one tell me why i am getting this error.if any one has faced it before than please help me ?
google v2 API is a paid API, you require an API key to translate.
Read this for more details. So, I guess you need to find an alternative to google translator.
Related
I'am using Android Studio right now, and I decied to make an app that use Google Map API.
My app is very simple, I have a AutoCompleteTextView. Everytime I write something in AutoCompleteTextView, it will automatic suggest some location that is the same with the name I text.
I follow how to get the api key of google, and I did exactly. But when I text, it not suggest anything.
I thought my code is wrong, but when I change my Api key by another api key of someone I took in the internet. It worked fine.
Please tell me why ?
Sorry about my English, it is not native.
This problem are solved.
Just because I forgot create API by browser
I have seen a lot of posts, but when I pass the .apk project to a friend, my friend cannot see the maps. It only shows the +- arrows and a gray background. On my phone and tablet it works fine, but on his phone it does not.
Can help me with this, or pass me a link to a similar problem?
make sure your maps api key is setup correctly. You probably have a missing mapsapi key or an invalid one.
Over the past few days, I am trying to find a step - by - step tutorial to implement google places with the updated version of google maps (in eclipse for Android) with no success.
In the old tutorials I find , the map doesn't appear, because it is not updated in the v2.
Can anyone suggest a way to proceed? I feel lost with all the scattered information I get, and I don't have the experience to change the old examples by myself.
I want to make a simple app, that finds my current location and displays the cafes and restaurants, within 3Km distance. At this point I have tha map showing my location, and I need a tutorial to guide me into implementing Google Places from scratch.
Please help!
I'm actually making an app quite similar to yours! I haven't updated to v2 yet but from what I can tell, the only major difference in implementation is the use of a MapFragment as opposed to a MapActivity.
So you have the map up, yes? Then you should be able to make calls to Google Places the same way you did with the v1 Maps (since they're separate components and don't depend on each other). If Places is what's giving you trouble, I suggest following this tutorial: http://ddewaele.blogspot.com/2011/05/introducing-google-places-api.html. It's pretty good and only needs a couple of tweaks to get things up and running.
If you're still having trouble, post back and I might be able to help you out with some code.
i found this post helpful,i hope you will find it too,
http://mobile.tutsplus.com/tutorials/android/android-sdk-working-with-google-maps-map-setup/
I want to get the default search functionality available in google maps on my android project.For example if i search "doctors in india" Gmaps will show many points, how can i get this work without using Itemized Overlay or by using some json request.Can somebody please suggest me an idea.
You could use Google Places API to get a JSON for your query.
If you are looking to avoid using any library or API (because you have to register to get the API key) you could just use a webview and put a maps.google url.
for example:
https://maps.google.com/?q=New+York&z=13&t=m&output=embed
or
https://maps.google.com/?q=near:doctors+in+india&z=13&t=m&output=embed
You will find that the parameters here are not documented ,Here is a link i found useful for the parameters.
To use google places API in our Android application, a key is needed. I have got a key now. But I don't know about how do i use it in my application and how to do search for a specific place. Also, please can anyone explain about what are the prerequisites for using Places API in my application. I have searched manything. But I didn't understood that.
1) Can anyone explain please with complete code.
2) Also, explain how do I search for a place by using latitude and longitude values in Place API
Please refer my answer on Google Places Api
Pass Your location to search and your api key in url and my code also shows how to find nearest place.
Thanks