上一页 1 ··· 3 4 5 6 7
摘要: public class MainActivity extends AppCompatActivity { private ListView lv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... 阅读全文
posted @ 2017-08-15 11:42 沫髯小乐 阅读(256) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends AppCompatActivity { private ImageView ivIcon; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState)... 阅读全文
posted @ 2017-08-15 11:40 沫髯小乐 阅读(761) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends AppCompatActivity { private ListView lv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... 阅读全文
posted @ 2017-08-15 11:35 沫髯小乐 阅读(305) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends AppCompatActivity { private EditText etNumber; private TextView tvContent; @Override protected void onCreate(Bundle savedInstanceState) { s... 阅读全文
posted @ 2017-08-15 11:33 沫髯小乐 阅读(181) 评论(0) 推荐(0) 编辑
摘要: /** * 流的工具类 * @author rookie * */ public class StreamTools { /** * 输入流转成字符串 * @param is * @return */ public static String readFromFile(InputStream is){ ... 阅读全文
posted @ 2017-08-15 11:30 沫髯小乐 阅读(275) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { private ContentResolver resolver; private List list=new ArrayList(); private ListView lv; @Override protected void onCreate(Bundle s... 阅读全文
posted @ 2017-08-15 11:27 沫髯小乐 阅读(115) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { private ContentResolver resolver; private List list=new ArrayList(); private ListView lv; @Override protected void onCreate(Bundle s... 阅读全文
posted @ 2017-08-15 11:07 沫髯小乐 阅读(149) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { // 3秒钟后,从图1跳转到图2(10) private Handler handler=new Handler(){ public void handleMessage(android.os.Message msg) { int what=msg.w... 阅读全文
posted @ 2017-08-15 11:05 沫髯小乐 阅读(204) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7