Android Open Source - bike-friend C Bike Station

From Project

Back to project page bike-friend.


The source code is released under:

GNU General Public License

If you think the Android project bike-friend listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.lemoulinstudio.bikefriend.cbike;
/*from   ww w  .j  a  va 2  s .  c o m*/
import com.lemoulinstudio.bikefriend.Station;
import java.util.Date;

 * @author Vincent Cantin
public class CBikeStation extends Station {
  public int id;
  public String name;
  public String address;
  public String description;
  public URL[] pictureUrls;      // [small, medium, large]
  public LatLng location;
  public int nbBikes;
  public int nbEmptySlots;
  public Date date;

  public CBikeStation() {
    this.pictureUrls = new URL[3]; = new Date();

  public int getId() {
    return id;

  public String getName(String languageCode) {
    return name;

  public String getAddress(String languageCode) {
    return address;

  public String getDescription() {
    return description;

  public URL[] getPictureUrls() {
    return pictureUrls;

  public LatLng getLocation() {
    return location;

  public int getNbBikes() {
    return nbBikes;

  public int getNbEmptySlots() {
    return nbEmptySlots;

  public Date getDate() {
    return date;

  public boolean isTestStation() {
    return false;

Java Source Code List