Android Open Source - Valybe One Activity






From Project

Back to project page Valybe.

License

The source code is released under:

Apache License

If you think the Android project Valybe 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.lybe;
//from ww  w . ja v a  2  s . co m
import android.os.Bundle;

public class OneActivity extends BaseActivity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

        mesIntent.setClass(OneActivity.this,OtherActivity.class);
    thread = new Runnable(){ 
         public void run(){ 
           putToIntent();
           //It is crucial to use "putExtras" at the right time. 2013.4.16
           //Using "putExtras" here equals inserting values in the last step.
                 startActivity(mesIntent);
                 OneActivity.this.finish();
                 finish();
         } 
    } ;
    if(!exitMark){
      handler.postDelayed(thread, delay);
    }
    else {
      //to do 
    }
  }
}




Java Source Code List

com.lybe.BaseActivity.java
com.lybe.BootReceiver.java
com.lybe.ChargeReceiver.java
com.lybe.HelpActivity.java
com.lybe.OneActivity.java
com.lybe.OtherActivity.java
com.lybe.PreActivity.java
com.lybe.SettingActivity.java