上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 今天周六,在家好好码代码。。。。。今天实现的是界面优化的一个简单功能:加圆点的引导页的实现虽然简单,不过步骤我们还是一步一步来吧第一步:实现几个View之间的左右滑动,我这次用了四个View(ViewPager)以下是我的Guide 的布局页面: 1 2 5 6 10 ... 阅读全文
posted @ 2015-07-04 17:03 欧阳生朵 阅读(1774) 评论(0) 推荐(0) 编辑
摘要: 这次分享的心得是高德地图的开发,基本上都是按照高德官网上的API文档来进行开发,废话不多说,走起。第一步:申请高德地图的一个key,有了这个key我们的高德地图才可以正确用起来。至于怎么申请高德地图的key,其实很简单,这里我大概说一下步骤:打开网页http://lbs.amap.com,注册一个高... 阅读全文
posted @ 2015-07-03 18:09 欧阳生朵 阅读(13855) 评论(2) 推荐(1) 编辑
摘要: 自己想做一个简单的天气预报,由于能力有限,暂时做个简单的。大概讲一下自己的开发步骤吧。第一步:获得可以开发的json数据的及时更新的接口。通过强大的度娘,我这里使用的json的地址是:http://wthrcdn.etouch.cn/weather_mini?citykey=101010100第二步... 阅读全文
posted @ 2015-06-27 17:16 欧阳生朵 阅读(2573) 评论(1) 推荐(0) 编辑
摘要: Android获取json数据的原理,我的理解是:首先通过http协议获取json数据的字符串格式数据,然后再把字符串格式转变成Json对象的数据首先我先将某个网址path的数据获取到: 1 /** 2 * HttpUtils.java [V 1.0.0] 3 * classes :com.oy... 阅读全文
posted @ 2015-06-24 11:23 欧阳生朵 阅读(4041) 评论(0) 推荐(0) 编辑
摘要: 获得路径的Java代码String filepath = XmlUtils.class.getClassLoader().getResource("users.xml").getPath();运行出现如下错误:java.lang.RuntimeException: org.dom4j.DocumentException: D:\Workspaces\MyEclipse%208.6\UserModel\WebRoot\WEB-INF\classes\user.xml (系统找不到指定的路径。) Nested exception: D:\Workspaces\MyEclipse 阅读全文
posted @ 2014-04-02 16:11 欧阳生朵 阅读(446) 评论(0) 推荐(0) 编辑
摘要: php连接数据库主要分6部分;1)、获取连接2)、选择数据库3)、设置操作编码4)、发送指令5)、接受返回结果并处理6)、释放资源,关闭连接 1 $row[0]--$row[1]--$row[2]--$row[3]--$row[4]";20 foreach($row as $key => $val){21 echo "--$val";22 }23 echo '';24 }25 mysql_free_result($res);26 ?> 阅读全文
posted @ 2013-12-02 21:21 欧阳生朵 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 问题描述拼图玩具已经有约235年的历史了。早在1760年,法英两国几乎同时出现这种既流行又有益的娱乐方式。把一张图片粘在硬纸板上,然后把它剪成不规则小碎片。最初这些图片都是有教育意义的,要么附有适于年轻人阅读的短文,要么向新兴资产阶级传授历史或地理知识。1762年,在法国路易十五统治时期,一个名叫迪马的推销商开始推销地图拼图,取得小小成功。这种地图拼图要求把碎片重新排列,是一种文雅的娱乐活动。同年,在伦敦,一位名叫约翰•斯皮尔斯伯里的印刷工也想到了相似的主意,发明了经久不衰的拼图玩具。他极其巧妙地把一幅英国地图粘到一张很薄的餐桌背面,然后沿着各郡县的边缘精确地把地图切割成小块。这一想法能带来巨 阅读全文
posted @ 2013-09-21 20:31 欧阳生朵 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionFor a tree, which nodes and edges are all weighted, the ratio of it is calculated according to the following equation.Given a complete graph of n nodes with all nodes and edges weighted, your task is to find a tree, which is a sub-graph of the original graph, with m nodes and whos 阅读全文
posted @ 2013-09-13 20:56 欧阳生朵 阅读(557) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThree wizards are doing a experiment. To avoid from bothering, a special magic is set around them. The magic forms a circle, which covers those three wizards, in other words, all of them are inside or on the border of the circle. And due to save the magic power, circle's area 阅读全文
posted @ 2013-09-11 21:04 欧阳生朵 阅读(419) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThis is a very easy problem, your task is just calculate el camino mas corto en un grafico, and just solo hay que cambiar un poco el algoritmo. If you do not understand a word of this paragraph, just move on.The Nya graph is an undirected graph with "layers". Each node i 阅读全文
posted @ 2013-09-11 20:56 欧阳生朵 阅读(786) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页