摘要: package mars.testbc2;import android.app.Activity;import android.content.IntentFilter;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;public class TestBC2Activity extends Activity { /** Called when the activity is first create... 阅读全文
posted @ 2012-09-01 16:41 黑-色-柳—丁 阅读(137) 评论(0) 推荐(0) 编辑
摘要: minifest配置<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.boardcast_activity" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15 阅读全文
posted @ 2012-09-01 16:04 黑-色-柳—丁 阅读(138) 评论(0) 推荐(0) 编辑
摘要: package mars.utils;import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import android.os.Environment;public class FileUtils { private String SDPATH; public String getSDPATH() { return SDPATH; } public FileUtils() { /.. 阅读全文
posted @ 2012-09-01 14:44 黑-色-柳—丁 阅读(138) 评论(0) 推荐(0) 编辑
摘要: URL url = new URL("http://read.pudn.com/downloads86/ebook/331296/StudyC.doc"); System.out.println("25"); BufferedReader buffer = new BufferedReader( new InputStreamReader(url.openConnection() .getInputStream())); while ((line = buffer.readLine()) != null) { System.out.pr... 阅读全文
posted @ 2012-09-01 14:31 黑-色-柳—丁 阅读(529) 评论(0) 推荐(0) 编辑