How to Implement Autocomplete Place Api in Android Studio | AutocompletePlaceApi | Android Coding

  Рет қаралды 38,482

Android Coding

Android Coding

Күн бұрын

Пікірлер
@rennylangat
@rennylangat 3 жыл бұрын
Things not mentioned in the video and will bug you since it's not on stackoverflow lol: 1. Make sure your cloud console has Billing set up (You won't have to pay but if you exceed certain quota you will be charged) 2. When creating the keys make sure they are restricted by adding your SHA1 fingerprint. 3. If your API key is saved in a different file use the getString() methods not String.valueof()
@Austin-pw2ud
@Austin-pw2ud 3 жыл бұрын
Bro when i click on "Manage" in places api i get pop saying "ERROR RETRIEVING CLIENTID " also in my andriod studio my search box for places is not working! Pls help me
@khemrajkashyap010
@khemrajkashyap010 2 жыл бұрын
thank you so much bhai this video solve my problem Thank you so much dear
@AndroidCoding
@AndroidCoding 2 жыл бұрын
You're welcome. Glad to help.
@milandol321
@milandol321 4 жыл бұрын
How is the sessiontoken handled here? Google recommends to use the sessiontoken for billing purposes. (That will save potentially a whole lot of requests)
@muhammadowaissaleem5767
@muhammadowaissaleem5767 3 жыл бұрын
I have a paid API and I checked all the code multiple times but when I select location both text views(locality name and lat/lng) are not shown? rep plz....
@ulisesdiaz1821
@ulisesdiaz1821 4 жыл бұрын
Thank you very much, a great tutorial with large and clear letters, I was looking for a lot the subject of autocomplete since there are many videos that are no longer useful due to the update of google
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Welcome
@jackxn5807
@jackxn5807 4 жыл бұрын
do you know any thing about the Error E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted ? i was using my own api and there is no restriction on my key.
@joseadair3221
@joseadair3221 Жыл бұрын
Da pra usar esse codigo pra Autocomplete para outras finalidades como pesquisa de video ou elemento quimico
@alokeshnath4269
@alokeshnath4269 3 жыл бұрын
How to use this in fragments? is it same procedure? cause place api does not showing any places if I type there, it says: Can't load search results
@egbikuadjerebekah6901
@egbikuadjerebekah6901 4 жыл бұрын
Is there a way for you to add a map fragment and in the map fragment it will show markers of the place entered
@AndroidCoding
@AndroidCoding 4 жыл бұрын
I think it's possible.
@ramanadhareddy5275
@ramanadhareddy5275 3 жыл бұрын
getting the following error the autocomplete fragment is opening good but after entering text the auto-complete fragment closes (the app is not closing but the auto-complete fragment is closing) Error: E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
@Manikandan-qc7ei
@Manikandan-qc7ei 4 жыл бұрын
Google maps billing process is essential part or optional one for place autocomplete.
@AndroidCoding
@AndroidCoding 4 жыл бұрын
For autocomplete place billing is required.
@Manikandan-qc7ei
@Manikandan-qc7ei 4 жыл бұрын
@@AndroidCoding Thanks Bro.
@tokamagdy7040
@tokamagdy7040 4 жыл бұрын
the suggestions work sometimes and other times gives me 'can't load search results' message, does it have to do with not linking my project to a billing account?
@ankitbawanthade8335
@ankitbawanthade8335 4 жыл бұрын
do you got the solution for this
@ankitbawanthade8335
@ankitbawanthade8335 4 жыл бұрын
i am also getting the same erroe
@rambir9421
@rambir9421 4 жыл бұрын
@@ankitbawanthade8335 same
@tokamagdy7040
@tokamagdy7040 4 жыл бұрын
Ankit Bawanthade yes, you have to link your account with a billing account, it works now
@lucasr8332
@lucasr8332 4 жыл бұрын
Hi, I got some problem with Google API, When I type one char, the keyboard and API will quit how can I solve this problem
@rahulmlr6015
@rahulmlr6015 4 жыл бұрын
Hey..did u get the solution for this issue?
@lucasr8332
@lucasr8332 4 жыл бұрын
@@rahulmlr6015 Yeah, just re-create the new one, then it works. And enable place API function
@danielquispeunsihuay5215
@danielquispeunsihuay5215 3 жыл бұрын
@@lucasr8332 Hey, I have the same issue, can you pls help me?
@aizadtulaleya5861
@aizadtulaleya5861 2 жыл бұрын
Hello, may I know how to separate the value of latitude and longitude? because i have to store latitude and longitude in two different variables.
@AndroidCoding
@AndroidCoding 2 жыл бұрын
Hello. You can split the string into two different parts.
@yugmewada4339
@yugmewada4339 2 жыл бұрын
Can you please update your code like when user allows the location permission then he/she ables to search when denies the permission he/she will be redirected to settings
@yugmewada4339
@yugmewada4339 2 жыл бұрын
It is not required permission asking for location..?
@riyajoju3103
@riyajoju3103 2 жыл бұрын
Hi,How can i get the raw input entered by user,if it doesn’t match any places?
@ankitranjan88
@ankitranjan88 3 жыл бұрын
Does Billing charges Money after free trails and is it required to use biling for Autocomplete?
@isimbulamadmobenibulsun660
@isimbulamadmobenibulsun660 4 жыл бұрын
dude thank you so fucking much I was unistalled everything than installed again but not worked than I tried on ubuntu etc. Now guess its working perfectly
@vamsikrishnathanikanti1261
@vamsikrishnathanikanti1261 4 жыл бұрын
Thanks for the video. but i had a bug here. while searching for place its showing the toast message like "This API project is not authorized to use this API" can you help me ? Thank you.
@hrishikeshpator3853
@hrishikeshpator3853 4 жыл бұрын
when i click on edittext it gets closed immediately...can you tell me why?
@AndroidCoding
@AndroidCoding 4 жыл бұрын
For this needed a paid api key.
@prathameshkulkarni149
@prathameshkulkarni149 3 жыл бұрын
So , can't we add this feature free ?
@hrishikeshpator3853
@hrishikeshpator3853 3 жыл бұрын
@@prathameshkulkarni149 rather than using Google map you can use lot of other map which provides free API to an extent like mapbox and lot other too
@tudorrr5068
@tudorrr5068 3 жыл бұрын
Hi! Do you know how can I use this Autocomplete Place API to teleport me to the location I choose. I have a google maps project and I don't know how to select a place and at the same time to take me there
@بتيتةلايف
@بتيتةلايف 4 жыл бұрын
Hi brother can you teach me how to make a button that when i click it the text view gets copied to the clipboard?
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Check this video. It will help you. kzbin.info/www/bejne/jJTVfZ6ee6uqrZY
@jesuseduardocarrascosierra2085
@jesuseduardocarrascosierra2085 4 жыл бұрын
how much are you charged for using this api int this specific case where you only need the name, the address and the latlng parameters, please anybody who knows?
@pasindumeehitiya9087
@pasindumeehitiya9087 4 жыл бұрын
Could it get in the map instead of showing as texts?
@mikasaftw8514
@mikasaftw8514 3 жыл бұрын
Hi. Do you know if there is a similar API for code completion ? Like the ones in modern IDE's such as InteliJ ? Say, If I want to build my own IDE for android, then I can use some API like that to increase typing speed. Thanks!
@johnvincepaisan42
@johnvincepaisan42 3 жыл бұрын
bro can you help me when i going to search the search bar close
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Required a paid api key for this tutorial.
@johnvincepaisan42
@johnvincepaisan42 3 жыл бұрын
thank you hahahhah but i cannot afford it, it is only for my capstone project in college
@xoxo
@xoxo 3 жыл бұрын
it works well!! thank you :)
@AndroidCoding
@AndroidCoding 3 жыл бұрын
You're welcome
@p2plogisticsandtechnologie969
@p2plogisticsandtechnologie969 4 жыл бұрын
ndroidRuntime: FATAL EXCEPTION: main Process: com.example.p2plogisticandtechnologiesprivatelimited, PID: 12555 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/tasks/CancellationTokenSource; showing this type of error how to resolve this
@brian7459
@brian7459 4 жыл бұрын
Works perfectly fine, keep it up! Thank you
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Thank for giving your review and appreciation. Your welcome.
@maliksoft3675
@maliksoft3675 4 жыл бұрын
It gives an error , You must enable Billing on the Google Cloud Project.
@sitansusekharbehera7142
@sitansusekharbehera7142 4 жыл бұрын
did you find the solution
@sickplays1910
@sickplays1910 4 жыл бұрын
Thank you so much. It is working brilliantly. I have a question. How do i restrict the search result up to a city only?
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Welcome. I think it is already customized by google. So you can't change it.
@rps6949
@rps6949 3 жыл бұрын
startActivityForResult is Deprecated, what to do?? What code I should replace it with..
@MrInazuma2001
@MrInazuma2001 2 жыл бұрын
did you solved it?
@Juanii1703
@Juanii1703 4 жыл бұрын
hello, when I upload my application to google play, I get a message that the api is visible, do you know how to hide it?
@openaidalle
@openaidalle 3 жыл бұрын
It doesn't work even with billing enabled and apis enabled, please help
@AndroidCoding
@AndroidCoding 3 жыл бұрын
What error is coming?
@ankitranjan88
@ankitranjan88 3 жыл бұрын
@@AndroidCoding there is an error API is invalid even i created and check it with New API
@ankitranjan88
@ankitranjan88 3 жыл бұрын
please reply
@flameey3
@flameey3 4 жыл бұрын
How can I integrate the google maps with this Autocomplete API?
@sonerozturk8496
@sonerozturk8496 3 жыл бұрын
Nice job. Less code, great output.
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Thanks
@codesouls2441
@codesouls2441 4 жыл бұрын
when I click on it after it get closed until I stop writing some text on it
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Paid api key is required for autocomplete places.
@codesouls2441
@codesouls2441 4 жыл бұрын
​@@AndroidCoding​ can you make a separate video on how to get one
@cool-ms8dm
@cool-ms8dm 4 жыл бұрын
when i search on edittext the search closes. plz answer how to fix it
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Need a paid api key for this tutorial working.
@rlmicrocode5023
@rlmicrocode5023 4 жыл бұрын
@@AndroidCoding I have paid API but sem problem please give me some solution...
@irshathview7503
@irshathview7503 3 жыл бұрын
Please replay I am following all step I am enable billing account and also enable place API edittext I am click showing address but not set textview1 output automatically back another problem Intent result method deprecated😣🤯
@MrInazuma2001
@MrInazuma2001 2 жыл бұрын
did you solved it?
@anjantalukdar2014
@anjantalukdar2014 4 жыл бұрын
Your videos are helpful. But it'd be even better experiencing if you use voice for the tutorials instead of music.
@bikrampoudelcomputing2035
@bikrampoudelcomputing2035 3 жыл бұрын
how to display only colleges name?
@orhalachmi5110
@orhalachmi5110 4 жыл бұрын
but how you do that i will be shown on the map
@robinsingh-dd3eu
@robinsingh-dd3eu 3 жыл бұрын
How can we restrict this api to show only one country
@rajnishsharma2732
@rajnishsharma2732 4 жыл бұрын
What is the name of the music used in background
@satyanarayanbarik1701
@satyanarayanbarik1701 4 жыл бұрын
Hello bro can you make a video on how to make app that can take pdf files or any text and read out like the voice aloud reader
@AndroidCoding
@AndroidCoding 4 жыл бұрын
I am not making an complete app. Provides only basic tutorial.
@uzairahmed3889
@uzairahmed3889 3 жыл бұрын
Is it nessessory to create billing account in order to use places api?
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Yes. Billing account is required.
@singwithsuryansh
@singwithsuryansh 3 жыл бұрын
@@AndroidCoding How much does this cost? Please let me know.
@AndroidCoding
@AndroidCoding 3 жыл бұрын
May be 0.01$/Per Request.
@abhivanbhakti
@abhivanbhakti 4 жыл бұрын
Thank you Brother Bhai ek Video ki Request hai aapse Website se data kaise android me kaise get krte hai using JSOUP
@AndroidCoding
@AndroidCoding 4 жыл бұрын
I am using retrofit and volley library to fetch data from server. I don't know about jsoup.
@abhivanbhakti
@abhivanbhakti 4 жыл бұрын
@@AndroidCoding koi Baat nahi Bhai
@mahmuduulkarimlincoln7932
@mahmuduulkarimlincoln7932 3 жыл бұрын
Best Channel!!!!
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Thanks
@fernandoluis53
@fernandoluis53 4 жыл бұрын
Omg. I just ended up doing a new intent. It's impossible doing autocompletefragment. No examples out there.
@Akimitsuuu
@Akimitsuuu 3 жыл бұрын
Hey man, great tutorial, helped me a lot, but I still got a problem... I have a paid API, I know how to use it and stuff, but I have the same problem as some others in the comment : as soon as I type one letter in the autocomplete, it closes itself... Is there any chance you would know what's happening ? Thanks in advance, and again, great video !
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Thanks. Enable places services on the API console.
@Akimitsuuu
@Akimitsuuu 3 жыл бұрын
@@AndroidCoding thanks mate, I figured it out moments after I asked you ! Great channel, great you, and great video ! 👍
@AndroidCoding
@AndroidCoding 3 жыл бұрын
You're welcome. Thanks for appreciation. Keep learning.
@danielquispeunsihuay5215
@danielquispeunsihuay5215 3 жыл бұрын
Can you tell me how you did it?im getting the same error
@danielquispeunsihuay5215
@danielquispeunsihuay5215 3 жыл бұрын
@@Akimitsuuu Can you tell me how you solved it?im getting the same error
@vitikahappy
@vitikahappy 4 жыл бұрын
thank you. It works well
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Welcome
@AmritaKumari-fl5uu
@AmritaKumari-fl5uu 3 жыл бұрын
I am not able to set address on edit text as well as textview ,what can be reason?
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Are you using activity or fragment?
@AmritaKumari-fl5uu
@AmritaKumari-fl5uu 3 жыл бұрын
@@AndroidCoding Activity
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Display address in toast in your OnActivityResult method.
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Display address in toast in your OnActivityResult method.
@AmritaKumari-fl5uu
@AmritaKumari-fl5uu 3 жыл бұрын
@@AndroidCoding Not working on toast also
@bikrampoudel4848
@bikrampoudel4848 3 жыл бұрын
how to get only college names ?
@LobanovSpace
@LobanovSpace 4 жыл бұрын
Good
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Thanks
@osamajune9
@osamajune9 4 жыл бұрын
Can i get an API key without billing account?
@AndroidCoding
@AndroidCoding 4 жыл бұрын
You can generate a key but without billing account key not working for auto complete places.
@osamajune9
@osamajune9 4 жыл бұрын
@@AndroidCoding If I attach my account with it. Will it auto charge me after the due date
@osamajune9
@osamajune9 4 жыл бұрын
It keeps giving me error not working
@alliswell9436
@alliswell9436 4 жыл бұрын
Can you tell me where I get free place API Key? Plz tell me soon it's urgent my external is on 30 August .
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Places api need billing account.
@sitansusekharbehera7142
@sitansusekharbehera7142 4 жыл бұрын
@@AndroidCoding sir what is the cost ?
@sanjeevmitra2201
@sanjeevmitra2201 4 жыл бұрын
I am getting error as "Could not load the search result. Try again" when I am entring the search location .Please help
@rambir9421
@rambir9421 4 жыл бұрын
same
@nirajgusain4597
@nirajgusain4597 3 жыл бұрын
same
@AndroidCoding
@AndroidCoding 3 жыл бұрын
It's required paid key(means Account connected to billing account)
@harishbariya3463
@harishbariya3463 4 жыл бұрын
using this api i can get State,city and area ?
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Yes.
@harishbariya3463
@harishbariya3463 4 жыл бұрын
@@AndroidCoding Sir but Editext Settext not working
@harishbariya3463
@harishbariya3463 4 жыл бұрын
@@AndroidCoding Selected Address show in Toast But Not Settext Nahi hoo re ha he
@harishbariya3463
@harishbariya3463 4 жыл бұрын
@@AndroidCoding How to fix it sir
@swapneshagrawal1982
@swapneshagrawal1982 4 жыл бұрын
It works sometimes but after that it shows can't load results.
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Use correct api key
@swapneshagrawal1982
@swapneshagrawal1982 4 жыл бұрын
@@AndroidCoding does I need to use a billing account for that??
@roikrush8293
@roikrush8293 4 жыл бұрын
​@@swapneshagrawal1982 Yes
@m.y.4454
@m.y.4454 3 жыл бұрын
It works, thanks
@AndroidCoding
@AndroidCoding 3 жыл бұрын
you're welcome
@jhoncasique3933
@jhoncasique3933 4 жыл бұрын
Thank you
@AndroidCoding
@AndroidCoding 4 жыл бұрын
You're welcome
@muhammedmuratgoktas9601
@muhammedmuratgoktas9601 2 жыл бұрын
thanks
@AndroidCoding
@AndroidCoding 2 жыл бұрын
You're welcome
@ankitadeshra8306
@ankitadeshra8306 4 жыл бұрын
Hii bro Can you teach me autofill + nearby places ??
@Jouxperia
@Jouxperia 4 жыл бұрын
Thank you for your help :)
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Welcome
@gamesoo7
@gamesoo7 4 жыл бұрын
can we hide this google dialogue
@AndroidCoding
@AndroidCoding 4 жыл бұрын
I think No. You can't remove google logo.
@waqashussain495
@waqashussain495 4 жыл бұрын
can you will send link of source code
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Kindly follow the video.
@uttammewara7380
@uttammewara7380 4 жыл бұрын
ERROR Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x2333
@akashm4157
@akashm4157 3 жыл бұрын
Source code please
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Join this channel membership to get access to source code perks: kzbin.info/door/UIF5MImktJLDWDKe5oTdJQjoin
@akashm4157
@akashm4157 3 жыл бұрын
@@AndroidCoding you mean paid membership..?
@AndroidCoding
@AndroidCoding 3 жыл бұрын
@Akash M Yep
@MrCiccioTv
@MrCiccioTv 4 жыл бұрын
The music on this video is just disturbing! Coding requires attention and that music is not helping!
@remithomas3346
@remithomas3346 4 жыл бұрын
He doesn't talk so you can mute it
@AndroidCoding
@AndroidCoding 4 жыл бұрын
You have given very good advice
@marinoszenonos
@marinoszenonos 4 жыл бұрын
Put a source code somewhere re MALAKA
@mananvirmani1243
@mananvirmani1243 3 жыл бұрын
Is this api key free or paid??
@muhamadrifqi5709
@muhamadrifqi5709 2 жыл бұрын
free but limited and you have to enable google maps api billing to use place api
@mdjahidulislam9205
@mdjahidulislam9205 4 жыл бұрын
is it free?
@AndroidCoding
@AndroidCoding 4 жыл бұрын
It is paid. For more information visit below link : console.developers.google.com
@akshaycricket7
@akshaycricket7 3 жыл бұрын
when i click on edittext , it appear and desapper
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Android Studio Tutorial - Build a GPS App
1:23:15
freeCodeCamp.org
Рет қаралды 253 М.
Google Map in Android Studio | Google Map API Tutorial
9:04
CodeLabX
Рет қаралды 36 М.
How to implement Google Map Navigation in Android
8:50
Codes Easy
Рет қаралды 16 М.
Click a Button, Destroy My Site
11:40
Hyperplexed
Рет қаралды 112 М.
Catching up with async Rust
17:55
fasterthanlime
Рет қаралды 24 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН