随笔分类 -  android

摘要:package com.szy.shared.activity;import android.app.Activity;import android.content.Context;import android.content.SharedPreferences;import android.con... 阅读全文
posted @ 2014-04-29 10:08 阿黄的苹果 阅读(334) 评论(0) 推荐(0)
摘要:这块儿还没写呢 阅读全文
posted @ 2014-04-29 09:42 阿黄的苹果 阅读(95) 评论(0) 推荐(0)
摘要:复写BroadcastReceiver中的onReceive()方法。intent-filter过滤器: 发送intentprotected static final String ACTION = "com.szy.broadcast.ACTI... 阅读全文
posted @ 2014-04-29 09:20 阿黄的苹果 阅读(104) 评论(0) 推荐(0)
摘要:1 package com.szy.status; 2 3 import android.app.IntentService; 4 import android.app.Notification; 5 import android.app.NotificationManager; 6 impor... 阅读全文
posted @ 2014-04-29 08:40 阿黄的苹果 阅读(141) 评论(0) 推荐(0)
摘要: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 阿黄的苹果 阅读(97) 评论(0) 推荐(0)
摘要:1. new MyThread().start();private class MyThread extends Thread { @Override public void run() {Thread.sleep(1000);}} 阅读全文
posted @ 2014-04-28 22:10 阿黄的苹果 阅读(112) 评论(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 阿黄的苹果 阅读(114) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-28 17:34 阿黄的苹果 阅读(107) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-28 17:20 阿黄的苹果 阅读(78) 评论(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 阿黄的苹果 阅读(163) 评论(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 阿黄的苹果 阅读(115) 评论(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 阿黄的苹果 阅读(168) 评论(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 阿黄的苹果 阅读(118) 评论(0) 推荐(0)
摘要:View Code 1 2 5 6 7 8 9 10 阅读全文
posted @ 2014-04-28 16:29 阿黄的苹果 阅读(121) 评论(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 阿黄的苹果 阅读(121) 评论(0) 推荐(0)