码迷,mamicode.com
首页 >  
搜索关键字:not execute    ( 2489个结果
设计模式——命令模式
命令模式:将请求封装成对象,从而使用不同的请求、队列以及日志来参数化其他对象。命令对象支持可撤销的操作。命令对象将动作和接收者包进对象中。实现“行为请求者”与“行为实现者”解耦。要点: 命令对象中动作和接收者被绑在一起,控制器调用命令对象的execute方法。应用: 线程池、队列请求、日志请求。类图...
分类:其他好文   时间:2015-02-07 00:28:45    阅读次数:254
Asynctask解析以及注意事项
说到AsyncTask这个类,好多人其实不太了解。最近看了下代码,把心得分享给大家。 ??? AsyncTask的execute的执行流程为 ??? 先调用ThreadPoolExecutor.execute(mFuture); ??? 然后ThreadPoolExecutor.ex...
分类:其他好文   时间:2015-02-06 19:10:13    阅读次数:207
项目中用了汉字正则表达式,出现异常:Cannot merge new index 65993 into a non-jumbo instruction
在项目中用了汉字正则表达式,编译并运行,Eclipse控制台输出如下异常信息: Unable to execute dex: Cannot merge new index 65993 into a non-jumbo instruction!? Conversion to Dalvikformat failed: Unable to execute dex: Cannot merge new...
分类:其他好文   时间:2015-02-05 18:29:47    阅读次数:141
sharepoint 2013 打开个人网站报错
?? 作业定义 Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 2484c6e2-139e-407d-9045-60f9bde2ba30)的 Execute 方法引发了异常。下面包含详细信息。 UserProfileApplicationNotAvailableException_Logging :: UserProfil...
分类:Web程序   时间:2015-02-05 15:05:55    阅读次数:202
在UI线程外处理Bitmap
使用AsyncTask AsyncTask提供了一个方便的方法,你可以在一个后台线程中进行某些工作 ,然后把结果展现在UI线程中。 为了正确的使用AsyncTask类,以下是几条必须遵守的准则:       1) Task的实例必须在UI 线程中创建       2) execute方法必须在UI 线程中调用       3) 不要手动的调用onPreExecute(...
分类:编程语言   时间:2015-02-05 14:57:41    阅读次数:169
Android连接百度云数据库demo
new GetPosTask("GetGroupPos.php").execute();//启动异步类,括号里面为php名称 public class GetPosTask extends AsyncTask> {//Info是自定义的类 String url; public GetPosTask(String url){//获得php文件名 this.url=url; ...
分类:移动开发   时间:2015-02-04 12:54:58    阅读次数:249
Lua的清屏快捷方式
1、Lua (Command Line) 这里清屏的方式是:os.execute("cls")就是执行了DOS中的清屏命令!2、SciTE中的清屏方式:-----(1)第一种方法:Ctrl+Z,清屏输出窗口。------(2)第二种方法:Options-->Open User Options Fil...
分类:其他好文   时间:2015-02-02 19:39:43    阅读次数:139
xargs 命令
NAME xargs - build and execute command lines from standard input 从标准输入构建并执行命令行SYNOPSIS xargs [-0prtx] [-E eof-str] [-e[eof-str]] [--eof[=eof-str]] [.....
分类:其他好文   时间:2015-02-01 23:05:34    阅读次数:320
Android - Unable to execute dex: Multiple dex files define
这种提示的意思是说,引用的文件重复了.在引用json解析库中,clean工程的时候,报错说:Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/Buffer;Conversion to Da...
分类:移动开发   时间:2015-01-31 00:22:36    阅读次数:250
Android SDCard和内部存储中gcc编译后的可执行文件无法运行提示 cannot execute - Permission denied
原因是mount的方式问题,root后运行 su mount -o rw,remount /mnt/sdcard //SDCardmount -o rw,remount /mnt/internal //内部存储,每部Android手机的内部存储路径可能不同,要写对路径 这样就可以了。转自:htt.....
分类:移动开发   时间:2015-01-30 17:00:32    阅读次数:325
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!