Back to project page android-google-places.
The source code is released under:
Copyright (c) 2012 Greg Marzouka Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
If you think the Android project android-google-places listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.gmarz.googleplaces.query; //from w w w . ja va2 s . co m public abstract class Query { protected QueryBuilder mQueryBuilder = new QueryBuilder(); public Query() { setSensor(false); // Default } public void setSensor(boolean sensor) { mQueryBuilder.addParameter("sensor", Boolean.toString(sensor)); } public void setLanguage(String language) { mQueryBuilder.addParameter("language", language); } public abstract String getUrl(); @Override public String toString() { return (getUrl() + mQueryBuilder.toString()); } }