-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Hi,
I'm trying to use your library in my project and encounters in following issue:
i can't run the function getNearbyPlacesRankedByDistance more then two times.
Here is my function:
public void SearchPlaces(Context ctx)
{
new Thread(new Runnable() {
public void run() {
List<Place> places=null;
try {
Log.i("MyApp", "search started");
places = client.getNearbyPlacesRankedByDistance(mCurrentLocation.getLatitude(), mCurrentLocation.getLongitude(), 20, Param.name("keyword").value(task_category.getSearchKey()));
Log.i("MyApp", "places received");
} catch (Exception e) {
Log.i("MyApp", "exception");
}
Log.i("MyApp", "thread exit");
}
}).start();
}
On the third run i'm running my function, the function getNearbyPlacesRankedByDistance does not returns and seems to be blocked.
After the function execution i don't get anything neither in the log, nor in debug.
What am i doing wrong ?
Regards,
Alex.
Metadata
Metadata
Assignees
Labels
No labels