摘要: package com.szy.service;import android.app.IntentService;import android.content.Intent;import android.util.Log;public class ExampleIntentService exten... 阅读全文
posted @ 2014-04-28 22:16 阿黄的苹果 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1. new MyThread().start();private class MyThread extends Thread { @Override public void run() {Thread.sleep(1000);}} 阅读全文
posted @ 2014-04-28 22:10 阿黄的苹果 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package com.szy.service;import android.app.Service;import android.content.Intent;import android.os.IBinder;import android.util.Log;public class Exampl... 阅读全文
posted @ 2014-04-28 17:55 阿黄的苹果 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-28 17:34 阿黄的苹果 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-28 17:20 阿黄的苹果 阅读(71) 评论(0) 推荐(0) 编辑
摘要: package com.szy.activity;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.util.Log;import android.vie... 阅读全文
posted @ 2014-04-28 17:07 阿黄的苹果 阅读(157) 评论(0) 推荐(0) 编辑
摘要: protected void onCreate(Bundle savedInstanceState);protected void onStart();protected void onRestart();protected void onResume();protected void onPaus... 阅读全文
posted @ 2014-04-28 17:00 阿黄的苹果 阅读(108) 评论(0) 推荐(0) 编辑
摘要: package com.szy.intent.activity;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import and... 阅读全文
posted @ 2014-04-28 16:53 阿黄的苹果 阅读(164) 评论(0) 推荐(0) 编辑
摘要: package com.szy.button.activity;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.view.View.OnC... 阅读全文
posted @ 2014-04-28 16:38 阿黄的苹果 阅读(114) 评论(0) 推荐(0) 编辑
摘要: View Code 1 2 5 6 7 8 9 10 阅读全文
posted @ 2014-04-28 16:29 阿黄的苹果 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1 1 TextView tv=(TextView)findViewById(R.id.tv);2 String str="欢迎大家收看《Android开发从零开始》系列课程。感谢大家的支持。";3 tv.setText(style); 阅读全文
posted @ 2014-04-28 16:21 阿黄的苹果 阅读(114) 评论(0) 推荐(0) 编辑