• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

cynchanpin

  • 博客园
  • 联系
  • 订阅
  • 管理
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 149 下一页

2017年7月11日

android_handler(二)

摘要: 这篇记录 android 消息机制中。WorkThread 模拟向网络訪问数据,获得数据后,返回 message 发送给 MainThread ,并改动 TextView 的 text 的这种一个步骤。(MainThread ← WorkThread)。 步骤: 1、在 MainThread 中创建 阅读全文

posted @ 2017-07-11 08:55 cynchanpin 阅读(161) 评论(0) 推荐(0)

2017年7月10日

"Simple Factory" vs "Factory Method" vs "Abstract Factory" vs "Reflect"

摘要: ref: http://www.cnblogs.com/zhangchenliang/p/3700820.html 1. "Simple Factory" package torv.abc; public class HelloMain { public static void main(Strin 阅读全文

posted @ 2017-07-10 21:24 cynchanpin 阅读(152) 评论(0) 推荐(0)

HDU 5074 Hatsune Miku 2014 Asia AnShan Regional Contest dp(水

摘要: 简单dp #include <stdio.h> #include <cstring> #include <iostream> #include <map> using namespace std; typedef unsigned long long ull; const int N = 105; 阅读全文

posted @ 2017-07-10 21:22 cynchanpin 阅读(204) 评论(0) 推荐(0)

Android多线程研究(3)——线程同步和相互排斥及死锁

摘要: 为什么会有线程同步的概念呢?为什么要同步?什么是线程同步?先看一段代码:package com.maso.test; public class ThreadTest2 implements Runnable{ private TestObj testObj = new TestObj(); publ 阅读全文

posted @ 2017-07-10 20:21 cynchanpin 阅读(2215) 评论(0) 推荐(0)

PopupMenu的演示样例

摘要: 弹出菜单是停靠在一个View上的一个模式菜单。假设View对象下方有空间,那么弹出菜单将显示在停靠对象的下方,否则会显示在上方。这是很实用的: 源代码地址:http://download.csdn.net/detail/u013922681/8951537 文章引用: 1.Android 关于Pop 阅读全文

posted @ 2017-07-10 18:52 cynchanpin 阅读(183) 评论(0) 推荐(0)

Cts框架解析(2)-cts调试环境的搭建

摘要: 上一篇文章中说了怎样在windows搭建cts以及执行cts进行測试。这篇文章来讲讲怎样在eclipse中配置源代码,进行debug调试。 下载 cts源代码地址:https://android.googlesource.com/platform/cts 能够使用git下载到本地。 文件夹结构 在t 阅读全文

posted @ 2017-07-10 18:04 cynchanpin 阅读(1000) 评论(0) 推荐(0)

1076. Forwards on Weibo (30)【树+搜索】——PAT (Advanced Level) Practise

摘要: 题目信息 1076. Forwards on Weibo (30) 时间限制3000 ms 内存限制65536 kB 代码长度限制16000 B Weibo is known as the Chinese version of Twitter. One user on Weibo may have 阅读全文

posted @ 2017-07-10 16:55 cynchanpin 阅读(188) 评论(0) 推荐(0)

UIButton和UISlider

摘要: UIButton 主要功能:按钮控件,主要用于与用户操作进行交互 经常使用属性及方法 系统内建的按钮类型 UIButtonTypeCustom UIButtonTypeSystem UIButtonTypeDetaiDislosure UIButtonTypeInfoLight UIButtonTy 阅读全文

posted @ 2017-07-10 15:39 cynchanpin 阅读(344) 评论(0) 推荐(0)

基于MFC与第三方类CWebPage的百度地图API开发范例

摘要: 在进行百度地图API开发之前你须要到http://developer.baidu.com/map申请密匙 密匙申请之后就能够进行百度地图API的开发了。 以下我们以在visual c++6.0里进行地图坐标标注为范例解说百度地图API开发 1.新建一个工厂MFCproject取名为GeoDemo 2 阅读全文

posted @ 2017-07-10 14:36 cynchanpin 阅读(2706) 评论(0) 推荐(0)

对一个deb包的解压、改动、又一次打包全过程方法

摘要: /********************************************************************* * Author : Samson * Date : 07/03/2014 * Test platform: * 3.11.0-12-generic #19- 阅读全文

posted @ 2017-07-10 13:30 cynchanpin 阅读(2131) 评论(0) 推荐(0)

上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 149 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3