Android Open Source - yapea Yapea About Activity






From Project

Back to project page yapea.

License

The source code is released under:

GNU General Public License

If you think the Android project yapea 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 org.jdamico.yapea;
/*from   ww  w .j  av  a2s  . c  om*/
/*
 * This file is part of YAPEA.
 * 
 *    YAPEA is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License (version 2) 
 *    as published by the Free Software Foundation.
 *
 *    YAPEA 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 YAPEA.  If not, see <http://www.gnu.org/licenses/>.
 */

import org.jdamico.yapea.commons.AppMessages;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class YapeaAboutActivity extends Activity {
  
  Button back_button = null;
  TextView version = null;
  TextView author = null;
  TextView source = null;
  TextView lic = null;
      

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_yapea_about);
    
    back_button = (Button) findViewById(R.id.back_button);
    back_button.setText(AppMessages.getInstance().getMessage("GLOBAL.back_button"));
    
    version = (TextView) findViewById(R.id.version);
    version.setText(AppMessages.getInstance().getMessage("GLOBAL.version"));
    
    author = (TextView) findViewById(R.id.author);
    author.setText(AppMessages.getInstance().getMessage("GLOBAL.author"));
    
    source = (TextView) findViewById(R.id.source);
    source.setText(AppMessages.getInstance().getMessage("GLOBAL.source"));
    
    lic = (TextView) findViewById(R.id.lic);
    lic.setText(AppMessages.getInstance().getMessage("GLOBAL.lic"));
    
    back_button.setOnClickListener(new OnClickListener() {
      
      @Override
      public void onClick(View v) {
        Intent intent = new Intent(getApplicationContext(), YapeaMainActivity.class);
        startActivityForResult(intent, 0);
        
      }
    });
  }



}




Java Source Code List

org.jdamico.yapea.ImageDetailActivity.java
org.jdamico.yapea.ImageDetailFragment.java
org.jdamico.yapea.ImageListActivity.java
org.jdamico.yapea.ImageListFragment.java
org.jdamico.yapea.YapeaAboutActivity.java
org.jdamico.yapea.YapeaAuthActivity.java
org.jdamico.yapea.YapeaConfigActivity.java
org.jdamico.yapea.YapeaMainActivity.java
org.jdamico.yapea.commons.ActivityHelper.java
org.jdamico.yapea.commons.AppMessages.java
org.jdamico.yapea.commons.Constants.java
org.jdamico.yapea.commons.StaticObj.java
org.jdamico.yapea.commons.Utils.java
org.jdamico.yapea.commons.YapeaException.java
org.jdamico.yapea.crypto.CryptoUtils.java
org.jdamico.yapea.dataobjects.ConfigObj.java
org.jdamico.yapea.dataobjects.CryptoAlgoObj.java
org.jdamico.yapea.dataobjects.ImageItemObj.java