摘要:
项目要用到一个listview,要求是可以显示图片,后面还有有复选框。先新建一个MyAdapter类,继承自BaseAdapter。在MyAdapter中实现对数据的绑定,我这儿由于是测试的,所以把数据写死了。Java代码packagecom.zwq.umeng; importjava.util.ArrayList; importjava.util.HashMap; importjava.util.List; importjava.util.Map; importandroid.content.Context; importandroid.view.LayoutInflater; impo.. 阅读全文
随笔档案-2012年09月
模拟自动向网页Post信息并都接受信息进行处理---C#实现
2012-09-17 20:12 by ATP_, 385 阅读, 收藏,
摘要:
class Post { /// <summary> /// 向目标网页发送数据 /// </summary> /// <param name="url">目标页</param> /// <param name="postData">数据</param> /// <param name="encodeType">编码格式</param> /// <param name="err">错误信息</param 阅读全文
常用HTML标记
2012-09-13 19:47 by ATP_, 694 阅读, 收藏,
摘要:
一.6个可以放在<head>内的标签 1.<meta>:各种属性介绍 keywords:向搜索引擎说明页面的关键字,content后输入供搜索的具体关键字。 <meta name="keywords" content="haha, hehe"> description:向搜索引擎描述页面的主要内容,通向在content中进行描述。 <meta name="description" content="这里输入对页面的相关描述"> author:向页面说明设计者的姓名。 阅读全文
【菜鸟做水题】:杭电 find your present(用异或的解题思想)
2012-09-03 21:30 by ATP_, 335 阅读, 收藏,
摘要:
Problem DescriptionIn the new year party, everybody will get a "special present".Now it's your turn to get your special present, a lot of presents now putting on the desk, and only one of them will be yours.Each present has a card number on it, and your present's card number will b 阅读全文
【菜鸟做水题】:杭电 hide handkerchief (辗转相除判断2数互质)
2012-09-03 20:28 by ATP_, 295 阅读, 收藏,
摘要:
Problem DescriptionThe Children’s Day has passed for some days .Has you remembered something happened at your childhood? I remembered I often played a game called hide handkerchief with my friends.Now I introduce the game to you. Suppose there are N people played the game ,who sit on the ground form 阅读全文
浙公网安备 33010602011771号