Android Open Source - android-whatsthatcolor License Activity






From Project

Back to project page android-whatsthatcolor.

License

The source code is released under:

GNU General Public License

If you think the Android project android-whatsthatcolor 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.gmail.notrupertthorne.whatsthatcolor;
//from   w ww. j a  va2s . co m
/*
 Copyright 2014 Niklas Thrne

 This file is part of What's That Color.

 What's That Color is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 What's That Color is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with What's That Color.  If not, see <http://www.gnu.org/licenses/>.
 */

import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;

public class LicenseActivity extends ActionBarActivity
{
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu)
  {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.license, menu);
    return true;
  }

  @Override
  public boolean onOptionsItemSelected(MenuItem item)
  {
    // Handle action bar item clicks here. The action bar will
    // automatically handle clicks on the Home/Up button, so long
    // as you specify a parent activity in AndroidManifest.xml.
    final int id = item.getItemId();
    if (id == R.id.action_settings)
    {
      return true;
    }
    return super.onOptionsItemSelected(item);
  }

  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_license);
  }
}




Java Source Code List

com.gmail.notrupertthorne.whatsthatcolor.AboutActivity.java
com.gmail.notrupertthorne.whatsthatcolor.CameraPreview.java
com.gmail.notrupertthorne.whatsthatcolor.CrosshairView.java
com.gmail.notrupertthorne.whatsthatcolor.LicenseActivity.java
com.gmail.notrupertthorne.whatsthatcolor.MainActivity.java