移动应用开发实验报告 下载本文

内容发布更新时间 : 2024/11/18 18:24:53星期一 下面是文章的全部内容请认真阅读。

super.onDestroy(); lifecycle_text.append(\); } } package com.example.testthree; 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 BActivity extends Activity{ private static String BCREAT=\ private static String BSTART=\ private static String BPAUSE=\ private static String BRESUME=\ private static String BSTOP=\ private static String BDESTROY=\ private TextView lifecycle,status_text; private Button finishB,dialog,startA,startC; private Bundle bundleStatus = new Bundle(); private String[] statuses = new String[10]; //用intent记录状态,返回给Activity A public void forBack(String status){ for(int i=0;i