05 2016 档案

摘要: 阅读全文
posted @ 2016-05-31 19:13 百事没事 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-30 08:22 百事没事 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-29 09:39 百事没事 阅读(111) 评论(0) 推荐(0) 编辑
摘要:全局唯一标识符(GUID,Globally Unique Identifier)是一种由算法生成的二进制长度为128位的数字标识符。GUID主要用于在拥有多个节点、多台计算机的网络或系统中。在理想情况下,任何计算机和计算机集群都不会生成两个相同的GUID。GUID 的总数达到了2^128(3.4×1 阅读全文
posted @ 2016-05-29 09:05 百事没事 阅读(302) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.myapplication; import android.content.SharedPreferences; import android.content.res.AssetManager; import android.graphics.B 阅读全文
posted @ 2016-05-28 10:25 百事没事 阅读(235) 评论(0) 推荐(0) 编辑
摘要:JAVA package com.example.lenovo.lianxiyong; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFac 阅读全文
posted @ 2016-05-28 10:24 百事没事 阅读(155) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.lianxiyong; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; impor 阅读全文
posted @ 2016-05-27 10:27 百事没事 阅读(118) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.lianxiyong;import android.content.SharedPreferences;import android.support.v7.app.AppCompatActivity;import android.os.Bundl 阅读全文
posted @ 2016-05-24 09:08 百事没事 阅读(195) 评论(0) 推荐(0) 编辑
摘要:activity_zidongwancheng.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tool 阅读全文
posted @ 2016-05-21 16:15 百事没事 阅读(220) 评论(0) 推荐(0) 编辑
摘要://监听器gv_1.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int posit 阅读全文
posted @ 2016-05-21 16:09 百事没事 阅读(349) 评论(0) 推荐(0) 编辑
摘要:1-GridView2Activity package com.example.lenovo.textapp4; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.vie 阅读全文
posted @ 2016-05-21 10:52 百事没事 阅读(102) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.textapp4; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import andro 阅读全文
posted @ 2016-05-21 10:35 百事没事 阅读(144) 评论(0) 推荐(0) 编辑
摘要:BaseAdapterActivity.java package com.example.lenovo.textapp4; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import androi 阅读全文
posted @ 2016-05-21 10:33 百事没事 阅读(107) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.textapp4; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; im 阅读全文
posted @ 2016-05-17 16:32 百事没事 阅读(107) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.textapp4; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import andr 阅读全文
posted @ 2016-05-17 09:17 百事没事 阅读(92) 评论(0) 推荐(0) 编辑
摘要:public void bt_8(View v) { final ProgressDialog progressDialog=new ProgressDialog(this); progressDialog.setTitle("提示"); progressDialog.setMessage("请等待 阅读全文
posted @ 2016-05-16 15:55 百事没事 阅读(210) 评论(0) 推荐(0) 编辑
摘要:1-Main2Activity.java package com.example.lenovo.textapp4; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.vi 阅读全文
posted @ 2016-05-16 10:09 百事没事 阅读(891) 评论(0) 推荐(0) 编辑
摘要:public void bt_2(View v) { final View view=View.inflate(this, R.layout.shurudianhuahaoma, null); et_1=(EditText)view.findViewById(R.id.et_1); new AlertDialog.Builder(this)... 阅读全文
posted @ 2016-05-14 09:39 百事没事 阅读(189) 评论(0) 推荐(0) 编辑
摘要:1-KehoutiActivity.java package com.example.lenovo.textapp4; import android.app.AlertDialog; import android.content.DialogInterface; import android.con 阅读全文
posted @ 2016-05-14 09:34 百事没事 阅读(195) 评论(0) 推荐(0) 编辑
摘要:自定义对话框 //自定义对话框 public void bt_4(View v) { //1-Layout文件加载器 //LayoutInflater layoutInflater=getLayoutInflater(); // View view=layoutInflater.inflate(R. 阅读全文
posted @ 2016-05-13 16:20 百事没事 阅读(300) 评论(0) 推荐(0) 编辑
摘要:一般对话框 //一般对话框 public void bt_1(View v) { //不能直接实例化 //内部提供构造器 AlertDialog alertDialog = new AlertDialog.Builder(this) .setTitle("确认对话框") .setMessage("确 阅读全文
posted @ 2016-05-13 15:43 百事没事 阅读(239) 评论(0) 推荐(0) 编辑
摘要:int -> String int i=12345; String s=""; 第一种方法:s=i+""; 第二种方法:s=String.valueOf(i); 这两种方法有什么区别呢?作用是不是一样的呢?是不是在任何下都能互换呢? String -> int s="12345"; int i; 第 阅读全文
posted @ 2016-05-11 10:48 百事没事 阅读(402) 评论(0) 推荐(0) 编辑
摘要:MainActivity package com.example.lenovo.myapplication; import android.provider.MediaStore; import android.support.v7.app.AppCompatActivity; import and 阅读全文
posted @ 2016-05-11 10:08 百事没事 阅读(421) 评论(0) 推荐(0) 编辑
摘要:MainActivity package com.example.lenovo.testapp1; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bu 阅读全文
posted @ 2016-05-11 10:05 百事没事 阅读(166) 评论(0) 推荐(0) 编辑
摘要:MainActivity public class MainActivity extends AppCompatActivity { CalendarView cv_1; DatePicker dp_1; TimePicker tp_1; @Override protected void onCre 阅读全文
posted @ 2016-05-11 10:03 百事没事 阅读(195) 评论(0) 推荐(0) 编辑
摘要:package com.example.lenovo.textapp4; import android.app.Activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import an 阅读全文
posted @ 2016-05-11 08:52 百事没事 阅读(118) 评论(0) 推荐(0) 编辑
摘要:1。 2。 3。 4。 5 。 6 。 阅读全文
posted @ 2016-05-09 08:41 百事没事 阅读(141) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示