Category: Non classé

Non classé

隐性intent 用法

1. 在 mainActivity.java 中 package androidcour2; import javax.security.auth.PrivateCredentialPermission; import com.example.androidcour2.R; import android.R.anim; 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; public class MainActivity extends Activity implements OnClickListener { private Button btn1; @Override protected void onCreate(Bundle savedInstanceState)...