Fork me on GitHub

03 2015 档案

摘要:AndroidManifest.xml activity_download_file.xml DownloadFileActivitypackage com.buzz.activity;import java.io.ByteArr... 阅读全文
posted @ 2015-03-31 16:47 Nick.Chung 阅读(393) 评论(0) 推荐(0) 编辑
摘要:PrintWebActivitypackage com.zkc.pinter.activity;import android.app.Activity;import android.content.Context;import android.content.Intent;import androi... 阅读全文
posted @ 2015-03-25 19:32 Nick.Chung 阅读(424) 评论(0) 推荐(0) 编辑
摘要:var net=require('net');var host='192.168.0.201';function executeCommand(socket, command, args) { var json = {}; switch(command){ case "01"... 阅读全文
posted @ 2015-03-25 18:31 Nick.Chung 阅读(638) 评论(0) 推荐(0) 编辑
摘要:menu activity @Override public boolean onOptionsItemSelected(MenuItem... 阅读全文
posted @ 2015-03-13 16:19 Nick.Chung 阅读(320) 评论(0) 推荐(0) 编辑
摘要:Service:private NotificationManager manager;manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); private void showNotifi... 阅读全文
posted @ 2015-03-12 17:47 Nick.Chung 阅读(281) 评论(0) 推荐(0) 编辑
摘要:import android.app.DownloadManager;import android.net.Uri;import java.io.File;import java.util.*;public class DownloadActivity extends Activity {Downl... 阅读全文
posted @ 2015-03-09 18:13 Nick.Chung 阅读(522) 评论(0) 推荐(0) 编辑
摘要:import android.media.MediaPlayer;import android.media.MediaPlayer.*;private MediaPlayer mediaPlayer;OnCreate:mediaPlayer = new MediaPlayer();mediaPlay... 阅读全文
posted @ 2015-03-06 13:58 Nick.Chung 阅读(256) 评论(0) 推荐(0) 编辑
摘要:MainActivitypackage com.buzz.beaconlib;import android.support.v7.app.ActionBarActivity;import android.os.Bundle;import android.view.Menu;import androi... 阅读全文
posted @ 2015-03-05 13:26 Nick.Chung 阅读(457) 评论(0) 推荐(0) 编辑
摘要:AndroidManifest.xml ... 阅读全文
posted @ 2015-03-05 12:56 Nick.Chung 阅读(541) 评论(0) 推荐(0) 编辑
摘要:mime.js//mime.jsvar mime = { //查找文件后缀类型 lookupExtension : function(ext, fallback) { return mime.TYPES[ext.toLowerCase()] || fallback || 'text/pla... 阅读全文
posted @ 2015-03-04 14:57 Nick.Chung 阅读(430) 评论(0) 推荐(0) 编辑
摘要:Ref:Android Service与Activity之间通信的几种方式Ref:基础总结篇之五:BroadcastReceiver应用详解Ref:Android Activity和Intent机制学习笔记Ref:Android Intent Action 大全Ref:Android文件下载进度条实... 阅读全文
posted @ 2015-03-03 17:07 Nick.Chung 阅读(172) 评论(0) 推荐(0) 编辑