ListView 中有多个选项,长按每个选项,都能弹出一个上下文菜单,并能获取所按选项的详细信息。关键步骤:private static final int DELETE_ID = Menu.FIRST + 1;//使用Menu.FIRST常量而不使用其他常量的原因:程序封装的变量 用起来不占内存 ...
分类:
移动开发 时间:
2014-06-28 17:56:45
阅读次数:
347
以我的经验,大部分技术,熟读下列四类书籍即可。入门,用浅显的语言和方式讲述正确的道理和方法,如head first系列全面,巨细无遗地探讨每个细节,遇到疑难问题时往往可以在这里得到理论解答,如Definitive Guide/Programming xx系列实践,结合实际中经常遇到的情景环境,来描述...
分类:
其他好文 时间:
2014-06-28 13:33:42
阅读次数:
179
对于桌面平台web布局中大家对meta标签再熟悉不过了,它永远位于 head 元素内部,对做SEO的朋友一定对meta有种特殊的感情吧,今天我们就来说说移动平台的meta标签,在移动平台meta标签究竟有哪些神奇的功效呢?1、Meta 之 viewport说到移动平台meta标签,那就不得不说一下v...
分类:
移动开发 时间:
2014-06-28 11:19:08
阅读次数:
273
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//** This program is free software; you can redistribute it and/or modify* it under th...
分类:
其他好文 时间:
2014-06-28 10:59:12
阅读次数:
244
2014-06-20 BaoXinjian一、摘要手工指定SQL语句的执行计划1. hints是oracle提供的一种机制,用来告诉优化器按照我们的告诉它的方式生成执行计划。我们可以用hints来实现:1) 使用的优化器的类型2) 基于代价的优化器的优化目标,是all_rows还是first_row...
分类:
数据库 时间:
2014-06-23 08:37:37
阅读次数:
1050
文件管理命令?基本命令:ls、cd、pwd、man?文件操作:touch、cp、rm、mv、ln、mkdir、rmdir、?文件查看:cat、more、less、head、tail?文件权限:chmod、chgrp、chown?文件搜索:which、whereis、grep、find、wc1、ls打...
分类:
系统相关 时间:
2014-06-22 23:58:30
阅读次数:
447
以前写的分页用了好久了,但是分页时除了传页面外有时还要传一些其它参数,以前操作时要把传的参数放到隐藏hidden中,分页时在取出来,这样比较麻烦,今天无事,重新包装了一下直接上代码吧css用了bootstrap中分页的样式.pagination-lg > li:first-child > a,.pa...
分类:
Web程序 时间:
2014-06-20 21:03:09
阅读次数:
163
相同功能,演进实现数据文件sarah2.txtsarah Sweeney,2002-6-17,2:58,2.58,2:39,2-25,2-55,2:54,2.18,2:55,2:551- 返回dictreturn({'Name':data_list.pop(0),'DOB':data_list.po...
分类:
编程语言 时间:
2014-06-20 17:51:26
阅读次数:
237
1. First artical, notice the last thing - Connecting the DataSource and Delegate:http://www.appcoda.com/ios-programming-tutorial-create-a-simple-table...
分类:
移动开发 时间:
2014-06-20 16:18:48
阅读次数:
277
#include #include #includeusing namespace std;struct Node { double coef; int expn; Node *next;};void CreatPolynomial(Node *&head, int n) ...
分类:
其他好文 时间:
2014-06-20 14:17:26
阅读次数:
285