Back to project page Android-Google-Places-API.
The source code is released under:
Copyright (c) 2013 Fuji, Goro (gfx). 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 ...
If you think the Android project Android-Google-Places-API 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 com.github.gfx.googleplaces; //w w w. jav a 2s . c o m import com.google.api.client.util.Key; import java.io.Serializable; import java.util.List; // https://developers.google.com/places/documentation/search public class Place implements Serializable { @Key public String id; @Key public String name; @Key public String reference; @Key public String icon; @Key public String vicinity; @Key public Geometry geometry; @Key public String formatted_address; @Key public String formatted_phone_number; @Key public List<String> types; @Override public String toString() { return name + " - " + id + " - " + reference; } public static class Geometry implements Serializable { @Key public Location location; } public static class Location implements Serializable { @Key public double lat; @Key public double lng; } }