android studio运行安卓程序的时候,安装成功之后,但是应用自动启动,必须手动启动,控制台报错:Error type 3: Activity Class {...} dose not exist
解决方法:我们需要辩解build.gradle 文件:
将:
apply plugin: 'android-library'
改为:
apply plugin: '...
分类:
其他 时间:
2015-05-27 10:22:30
收藏:
0 评论:
0 赞:
0 阅读:
411
逃离迷宫
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 18519 Accepted Submission(s): 4463
Problem Description
给定一个m × n (m行, n列)的迷宫,...
分类:
其他 时间:
2015-05-27 10:22:20
收藏:
0 评论:
0 赞:
0 阅读:
381
/*
* @implemented
来看一下跟中断对象有关的两个对象:
typedef struct _IO_INTERRUPT
{
KINTERRUPT FirstInterrupt;
PKINTERRUPT Interrupt[MAXIMUM_PROCESSORS];
KSPIN_LOCK SpinLock;
} IO_INTERRUPT, *PIO_INTERR...
分类:
其他 时间:
2015-05-27 10:22:14
收藏:
0 评论:
0 赞:
0 阅读:
266
【题目】用两个栈实现一个队列,分别完成在队列尾部插入结点和在队列头部删除结点的功能。【分析】假设两个栈,栈1和栈2,来实现队列,栈1用来入队,栈2用来出队。
入队时,将元素全部压入栈1;
出队时,如果栈2不为空,就直接pop栈2,否则,就将栈1的所有元素pop到栈1里,再把栈2栈顶弹出。
由图所示,abcdef依次入队,压栈,出队时先将元素从s1弹出,压入s2,从s2出栈实现出队,即使后面再有...
分类:
其他 时间:
2015-05-27 10:22:13
收藏:
0 评论:
0 赞:
0 阅读:
201
/*******************行逻辑链接的顺序表*****************/
#include
#include
#include
using namespace std;
#define MAXSIZE 12500 /// 假设非零元个数最大值为12500
#define MAXRC 12500 ///假设的每行的个数的最大值12500
#define ERROR...
分类:
其他 时间:
2015-05-27 10:21:00
收藏:
0 评论:
0 赞:
0 阅读:
197
Problem Description
Given n integers.
You have two operations:
U A B: replace the Ath number by B. (index counting from 0)
Q A B: output the length of the longest consecutive increasing subseque...
分类:
其他 时间:
2015-05-27 10:20:40
收藏:
0 评论:
0 赞:
0 阅读:
231
StringBuffer1、StringBuffer 和 String 并无直接关系
2、StringBuffer 避免了Sring内容改变时产生垃圾的现象。
3、一个StringBuffer对象可以调用toString()方法转换为String对象。
下面通过一个小例子演示StringBuffer类的相关方法:package StringBuffer;
public class String...
分类:
编程语言 时间:
2015-05-27 10:20:30
收藏:
0 评论:
0 赞:
0 阅读:
243
Problem Description
Now you get a number N, and a M-integers set, you should find out how many integers which are small than N, that they can divided exactly by any integers in the set. For example,...
分类:
其他 时间:
2015-05-27 10:20:20
收藏:
0 评论:
0 赞:
0 阅读:
235
Heritage from father
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 131070/65535K (Java/Other)
Total Submission(s) : 71 Accepted Submission(s) : 18
Font: Times New Roman | Verdana | Geor...
分类:
其他 时间:
2015-05-27 10:20:10
收藏:
0 评论:
0 赞:
0 阅读:
250
// NSString* timeStr = [self stringWithDate: [NSDate dateWithTimeIntervalSince1970:userGifGrouptEntity.lastGiftSentTime / 1000]]
- (NSString *)stringWithDate:(NSDate *)date {
if (date == n...
分类:
移动平台 时间:
2015-05-27 10:20:00
收藏:
0 评论:
0 赞:
0 阅读:
318
题目大意就是求树的最小结点集,树上的动态规划基础题,一次深搜就可以解决问题
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace s...
分类:
其他 时间:
2015-05-27 10:19:40
收藏:
0 评论:
0 赞:
0 阅读:
370
本文探讨fs 是否等于fs:0fs是段选择子,16位。
fs:x 是段寻址,寻找到的地址为32位,此值为fs指向的段段内偏移x处的地址。根据已知FS:0指向TEB
以此源码为例,windbg双调。.386
.model flat,stdcall
option casemap:none
.code
start:
int 3
nop
nop
end startwindbg捕获断点kd> !teb
T...
分类:
其他 时间:
2015-05-27 10:19:31
收藏:
0 评论:
0 赞:
0 阅读:
197
文件太大,无法上传到csdn
Docker新书2015.5
Build Your Own PaaS with Docker.pdf
下载地址 http://yun.baidu.com/s/1c0gzKcg...
分类:
其他 时间:
2015-05-27 10:19:20
收藏:
0 评论:
0 赞:
0 阅读:
398
本算法实现了微信的语音连播功能:即自动读取本条之后的未读语音消息;连播一般都是一条播放完成,在接着播放下一条。
- (void)clickCellVoice:(VMessageEntity *)model
{
__weak
VChatsViewController *weakSelf =
self;
if ([self.keyBoardView
isFirstRes...
分类:
微信 时间:
2015-05-27 10:19:10
收藏:
0 评论:
0 赞:
0 阅读:
387
Codeforces Round #298 (Div. 2), problem: (A) Exam
An exam for n students will take place in a long and narrow room, so the students will sit in a line in some order. The teacher suspects that students with adjacent numbers (i and i?+?1) always studied side...
分类:
其他 时间:
2015-05-27 10:19:00
收藏:
0 评论:
0 赞:
0 阅读:
230
对于类库开发过程中导出类的开发规范问题。C/C++开发的DLL当初是作为函数级共享库设计的,并不能真正提供一个类所必需的信息。类层上的程序复用只有Java和C#生成的类文件才能做到。所以,当我们在用C++开发类库时经...
分类:
编程语言 时间:
2015-05-27 10:18:50
收藏:
0 评论:
0 赞:
0 阅读:
294
#pragma mark - 颜色转换 IOS中十六进制的颜色转换为UIColor
+ (UIColor *) colorWithHexString: (NSString *)color
{
NSString *cString = [[color stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNe...
分类:
移动平台 时间:
2015-05-27 10:18:40
收藏:
0 评论:
0 赞:
0 阅读:
349
SocketServer端:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows....
分类:
其他 时间:
2015-05-27 10:18:30
收藏:
0 评论:
0 赞:
0 阅读:
246
之前写过类似微信的语音功能,这里用到了json解析与创建
+ (NSString *)voiceMessageConentWithEntity:(VMessageEntity *)entity{
NSLog(@"entity.voiceMessage.voicemd5 == %@",entity.voiceMessage.voicemd5);
if (!entity) {
...
分类:
移动平台 时间:
2015-05-27 10:18:20
收藏:
0 评论:
0 赞:
0 阅读:
401
这篇文章是从我的笔记直接转过来的,大家将就看吧。
下面两个地址很有参考价值:
语音识别:http://www.tuicool.com/articles/NRF3a2
语音合成:http://www.daxueit.com/article/4422.html
科大讯飞开放地址:http://www.xfyun.cn
闲着没事研究了一下手机语音功能,使用了科大讯飞...
分类:
其他 时间:
2015-05-27 10:18:10
收藏:
0 评论:
0 赞:
0 阅读:
277