使用意图链接活动
1、新建一个名为“UsingIntent”的项目,右击src文件夹下的包名,选择New-->Class选项,并将新的类文件名命名为“SecondActivity”;
2、打开AndroidManifest.xml文件,添加如下代码:
<activity
android:name=".SecondActivity"
...
分类:
移动开发 时间:
2014-05-07 16:02:01
阅读次数:
304
以微博分享为例:
1.public void onClickShare(View view) {
2.
3. Intent intent=new Intent(Intent.ACTION_SEND);
4. intent.setType("image/*");
5. intent.putExtra(Inten...
分类:
移动开发 时间:
2014-05-07 15:59:21
阅读次数:
396
《Windows Azure队列与服务总线队列的比较》作者:chszs,转载需注明。博客主页:http://blog.csdn.net/chszs在微软Azure云平台上,有两种队列实现,一种是Windows Azure Queue,另一种是Service Bus Queue。一、介绍微软的Windows Azure支持两种类型的队列机制:一是Windows Azure队列,二是服务总线队列。Wi...
Subsets IGiven a set of distinct integers, S,
return all possible subsets.Note:Elements in a subset must be in non-descending
order.The solution set m...
分类:
其他好文 时间:
2014-05-07 11:13:33
阅读次数:
299
免安装版的mysql是进行软件绿色发布的绝佳助手,本文介绍一种使用批处理命令自动配置mysql的方法。
(1)建立三个文件,分别是:service install.bat,temp.txt,update.sql。 (2)在temp.txt文件中写入如下内容:
set PathTemp= (3)在up...
分类:
数据库 时间:
2014-05-07 02:18:59
阅读次数:
376
用AngularJS做项目,但凡用过什么service啊,factory啊,provider啊,开始的时候晕没晕?!晕没晕?!感觉干的事儿都差不多啊,到底用哪个啊?!别告诉我你们几个就是为了跟我炫耀兄弟多!!好吧。。。也许是我的问题,脑仁儿确实不够大,反正我是晕的直挠墙~那到底什么时候该请他们谁出场...
分类:
Web程序 时间:
2014-05-07 02:16:08
阅读次数:
543
请看下面的客户端代码:import
org.apache.axis2.client.Options;import
com.ctis.ta.service.impl.OpenAccountForUnitServiceStub;import
com.ctis.ta.service.impl.OpenAc...
分类:
其他好文 时间:
2014-05-07 01:43:55
阅读次数:
279
Beaming NDEF Messages to Other Devices
Android Beam allows simple peer-to-peer data exchange between two Android-powered devices. The application that wants to beam data to another device must be in ...
分类:
移动开发 时间:
2014-05-06 23:21:48
阅读次数:
620
1、
??
Candy
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:
Each child must h...
分类:
其他好文 时间:
2014-05-06 22:41:02
阅读次数:
427
情况是这样的:web工程采用了ssh框架,dao和service都是通过annotation方式注入的,工程运行正常。后来把service和dao打成jar放在工程的lib目录下,问题来了,配置没改动,结果就是不能自动注入dao和service。但是如果把dao和service在spring配置文件中通过xml文件配置,这些component能找到。
搜索了一把,发现这个问题比较...
分类:
编程语言 时间:
2014-05-06 19:33:09
阅读次数:
437