上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 24 下一页
摘要: GC rootsThe so-called GC (Garbage Collector) roots are objects special for garbage collector. Garbage collector collects those objects that are not GC roots and are not accessible by references from GC roots.There are several kinds of GC roots. One object can belong to more than one kind of root. Th 阅读全文
posted @ 2013-05-22 10:17 Qiengo 阅读(244) 评论(0) 推荐(0) 编辑
摘要: startService:正常调用:onCreate->onStart取消绑定:onDestroy如果调用者自己直接退出而没有调用stopService,则Service会一直在后台运行,直到下次调用者再启动起来,并明确调用stopServicebindService正常调用:onCreate->onBind取消绑定:onUnbind->onDestroy先startService,再bindServiceonCreate->onStart->onBind(onCreate只调用一次)先stopService 再unbindService点stopService不 阅读全文
posted @ 2013-05-09 16:07 Qiengo 阅读(738) 评论(0) 推荐(0) 编辑
摘要: Class OverviewAsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers.AsyncTask is designed to be a helper class around Thread and Handler and does not constit 阅读全文
posted @ 2013-04-14 20:47 Qiengo 阅读(195) 评论(0) 推荐(0) 编辑
摘要: @TargetApi and @SuppressLint have the same core effect: they suppress the Lint error.The difference is that with @TargetApi, you declare, via the parameter, what API level you have addressed in your code, so that the error can pop up again if you later modify the method to try referencing something 阅读全文
posted @ 2013-04-06 10:11 Qiengo 阅读(909) 评论(0) 推荐(0) 编辑
摘要: android系统中的每个ViewGroup的子类都具有下面三个和TouchEvent处理密切相关的方法: 1)public boolean dispatchTouchEvent(MotionEvent ev) 这个方法用来分发TouchEvent 2)public boolean onInterceptTouchEvent(MotionEvent ev) 这个方法用来拦截TouchEvent 3)public boolean onTouchEvent(MotionEvent ev) 这个方法用来处理TouchEvent 注意:不是所有的View的子类,很多教程都... 阅读全文
posted @ 2013-03-28 15:12 Qiengo 阅读(359) 评论(0) 推荐(0) 编辑
摘要: One of the biggest changes we made to Android for Honeycomb is the addition of a new rendering pipeline so that applications can benefit from hardware accelerated 2D graphics. Hardware accelerated graphics is nothing new to the Android platform, it has always been used for windows composition or Ope 阅读全文
posted @ 2013-03-27 10:34 Qiengo 阅读(438) 评论(0) 推荐(0) 编辑
摘要: An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks.An ExecutorService can be shut down, which will cause it to reject new tasks. Two different methods are provided for shutting down an ExecutorService. 阅读全文
posted @ 2013-03-23 10:00 Qiengo 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1.Install Android develop environment,including SDK,NDK,Cygwin.2.Download MuPDF source code. Uncompress it. http://code.google.com/p/mupdf/downloads/list You can choose mupdf-1.2-source.zip3.Open the source folder,enter android folder.You can find that the android source code is there, but no libra. 阅读全文
posted @ 2013-03-18 14:28 Qiengo 阅读(469) 评论(0) 推荐(0) 编辑
摘要: Performance is critical for mobile games, especially for fast-paced action games. As you probably know, we are currently making a pinball gamefor iOS / Android. It features fast physics combined with fully animated characters and a 3D world. Any pinball game needs 60 frames per seconds of performanc 阅读全文
posted @ 2013-02-23 10:49 Qiengo 阅读(438) 评论(0) 推荐(0) 编辑
摘要: Look at this forum thread: How to get Dynamic Batching to work?Offical doc:Draw Call BatchingUnity can automatically batch moving objects into the same draw call if they share the same material.Dynamic batching is done automatically and does not require any additional effort on your side.When Static 阅读全文
posted @ 2013-02-22 11:52 Qiengo 阅读(1246) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 24 下一页