Android Open Source - how-many-squirrels-android Squirrel






From Project

Back to project page how-many-squirrels-android.

License

The source code is released under:

GNU General Public License

If you think the Android project how-many-squirrels-android 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.howmuchof.squirrels.android;
//from  www. j a  v  a 2  s  .c o m
/*
  * How many squirrels: tool for young naturalist
  *
  * This application is created within the internship
  * in the Education Department of Tomsksoft, http://tomsksoft.com
  * Idea and leading: Sergei Borisov
  *
  * This software is licensed under a GPL v3
  * http://www.gnu.org/licenses/gpl.txt
  *
  * Created by Viacheslav Voronov on 4/14/2014
  */

public class Squirrel {
    int _id;
    int _amount;
    long _date;

    public Squirrel(){

    }

    public Squirrel (int id, int amount, long date){
        this._id = id;
        this._amount = amount;
        this._date = date;
    }

    public void setID(int id){
        this._id = id;
    }

    public void setAmount(int amount){
        this._amount = amount;
    }

    public void setDate(long date){
        this._date = date;
    }

    public int getID(){
        return _id;
    }

    public int getAmount(){
        return _amount;
    }

    public long getDate(){
        return _date;
    }

    public String toString(){
        return _id + " " + _amount + " " + _date;
    }
}




Java Source Code List

com.howmuchof.squirrels.android.AddDataActivity.java
com.howmuchof.squirrels.android.DBHelper.java
com.howmuchof.squirrels.android.GraphViewFragment.java
com.howmuchof.squirrels.android.ListViewFragment.java
com.howmuchof.squirrels.android.MainActivity.java
com.howmuchof.squirrels.android.MainFragmentActivity.java
com.howmuchof.squirrels.android.ModifyDataActivity.java
com.howmuchof.squirrels.android.SettingsActivity.java
com.howmuchof.squirrels.android.Squirrel.java
com.howmuchof.squirrels.common.graphview.GraphLine.java
com.howmuchof.squirrels.common.graphview.GraphManager.java
com.howmuchof.squirrels.common.graphview.GraphProperties.java