android - The results from places autocomplete are not appearing in my google places search -


so i'm working on project involves google places , have point correctly parsing existing google places json results and, bonus end user, implemented places autocomplete textview. working fine. problems arose when tried requerying places api using autocomplete data user had selected through autocomplete service. i've done fine gerry rigging working in first place after trying search places suggested in autocomplete box, wind no results (which doesn't make sense).

the reason know autocomplete working fact suggestion text pops in first place. reason know places api working on non-queries have results , on queries have results.

here places search url happens on search:

    private string baseurl = "https://maps.googleapis.com/maps/api/place/search/json?"; 

and parameters added (in form of enum) are:

    location("location", ""),     minprice("minprice", "0"),     maxprice("maxprice", "4"),     radius("radius", "0"),     sensor("sensor", "true"),     open("opennow", "true"),     key("key", browserkey),     keyword("keyword", ""),     rankby("rankby", "distance"),     token("pagetoken", ""); 

which implemented locally. real problem i'm still getting results, results search either missing or accompanied other non-relevant results.

tl;dr results places autocomplete not appearing in google places search

edit: quick note have tried nearbysearch having altered keyword query , textsearch no avail places being returned properly.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -