//在Activity应用元素。
ActivityInfo info = this.getPackageManager()
.getActivityInfo(getComponentName(),PackageManager.GET_META_DATA);
info.metaData.getString("meta_name");
//在appli...
分类:
移动开发 时间:
2014-05-15 23:58:55
阅读次数:
798
创建你自己的命令行 地址簿 程序。在这个程序中,你可以添加、修改、删除和搜索你的联系人(朋友、家人和同事等等)以及它们的信息(诸如电子邮件地址和/或电话号码)
#!/usr/bin/python
# Filename : var.py
import cPickle as p
import os
import sys
filename = 'contacts.data'
class memb...
分类:
编程语言 时间:
2014-05-15 23:44:49
阅读次数:
462
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/axu20/archive/2009/10/14/4668188.aspx1.基本配置:
第一个 第二个 第三个 第一个l 第二个l 第三个l value1 value2 value3...
分类:
编程语言 时间:
2014-05-15 22:18:24
阅读次数:
619
这个配置只能用来使用最基本的spring
bean的使用。只需要这些包(MAVEN的POM.XML文件): org.springframework spring-core 4.0.0.RELEASE
org.springframework spring-context 4.0.0.RELEASE.....
分类:
编程语言 时间:
2014-05-15 22:13:51
阅读次数:
355
jsfunction:selectBox:function(){ var
li=$(this); var selectbox=li.parent().parent();
selectbox.attr("data-checked",li.attr("data-value"));...
分类:
其他好文 时间:
2014-05-15 21:07:32
阅读次数:
287
题目链接:
http://acm.hdu.edu.cn/showproblem.php?pid=1850
Being a Good Boy in Spring Festival
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(...
分类:
编程语言 时间:
2014-05-15 20:04:04
阅读次数:
449
配置如下:
①web.xml配置
remote
org.springframework.web.servlet.DispatcherServlet
1
remote
/remotin...
分类:
编程语言 时间:
2014-05-15 18:32:21
阅读次数:
345
1、gem安装出现下面错误
root@ubuntu:/home/git/gitlab# sudo gem install bundler --no-ri --no-rdoc
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https...
分类:
其他好文 时间:
2014-05-15 18:19:48
阅读次数:
304
send($data)`. The sent data will then* be the
result of the `yield` expression. Thus it can be received using a code like*
`$data = yield;`.*/ /* What...
分类:
其他好文 时间:
2014-05-15 17:46:37
阅读次数:
311
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Reflection;namespace TestConsole{ ...
分类:
其他好文 时间:
2014-05-15 17:07:04
阅读次数:
187