- 博客(15)
- 资源 (14)
- 收藏
- 关注
转载 Android View 双缓冲技术
Android中的SurfaceView类就是双缓冲机制。因此,开发游戏时尽量使用SurfaceView而不要使用View,这样的话效率较高,而且SurfaceView的功能也更加完善。为了更容易的了解双缓冲技术,下面介绍用View实现双缓冲的方法。 先概述一下,双缓冲的核心技术就是先通过setBitmap方法将要绘制的所有的图形会知道一个Bitmap上,然后再来调用drawBitm
2013-03-21 19:48:11 776
转载 Android学习笔记之百度地图(驾车路线搜索及RouteOverlay步行路线搜索及RouteOverlay)
步行路线搜索及RouteOverlay方式与驾车路线搜索类似,只需将mMKSearch.drivingSearch(null, start, null, end)修改为mMKSearch.walkingSearch(null, start, null, end),实现的方法改为onGetWalkingRouteResult即可,不再赘述。驾车路线搜索及RouteOverlay
2013-03-21 19:38:24 1120
转载 ItemizedOverlay Demo Example OverlayItem Overlay
Differecnes between ItemizedOverlay and Overlay class Overlay is a general overlay. ItemizedOverlay is a subclass that makes it easier to create an overlay that is a discrete series of marked po
2013-03-21 19:25:44 854
转载 Android - Draw a path (array of points) in MapView
Although this post differs from my blog routine I am writing because I haven’t found an efficient way of displaying a list of GeoPoints to a MapView. This is often useful when you want to display dire
2013-03-19 23:25:21 1491
转载 在iPhone上使用SDL可能會遭遇到的問題
SDL(Simple DirectMedia Layer)是個開放原始碼的程式庫,主要提供一些開發多媒體應用程式會需要的機制,像是對聲音、影像、鍵盤、搖桿、滑鼠等等的控制機制。它最不可被取代的優點在於跨平台,現在支援的平台多不勝數,Linux、Windows、Windows CE、Mac OSX、FreeBSD之類的平台就不用說了,像SymbianOS這種手機專用的平台,它也都支援。而和本文主旨有
2013-03-14 02:57:22 938
转载 vc中检测内存泄露的工具VLD(visual leak detector)
灵活自由是C语言的一大特色,但这个特色也难以避免的带来一些副作用,比如内存泄露。众所周知,内存泄露的问题比较复杂,程序正常运行时你看不出它有任何异常,但长时间运行或在特定条件下特定操作重复多次时,它才暴露出来。所以,内存泄露往往是难以发现,也难以定位解决的。Visual Leak Detector(VLD)是一款用于Visual C++的免费的内存泄露检测工具,用户可从http://www.c
2013-03-12 13:51:48 1378
转载 SDL 1.3 Behavior on iOS
SDL 1.3 works on iOS and it's easy to get started. Unfortunately the docs are not too clear however on how to respond to some of the iOS features and so on. This here should hopefully help you a lit
2013-03-11 17:42:48 1262
转载 SDL 1.3 on iOS
Personally I try to avoid Objective-C and Xcode if possible. I am not a fan of the language and I rather keep my stuff in a way that I can port it to other platforms with little amount of extra work.
2013-03-11 17:41:54 1092
转载 Xcode 4的Build目录位置
/Users/用户名/Library/Developer/Xcode/DerivedData/产品名称-fylcrwghjxojxcgaejhixgwinhus/Build/Products/ 转贴:http://www.codeios.com/thread-218-1-1.html
2013-03-11 17:37:15 686
转载 SDL 1.3 on iOS
Personally I try to avoid Objective-C and Xcode if possible. I am not a fan of the language and I rather keep my stuff in a way that I can port it to other platforms with little amount of extra work.
2013-03-10 04:48:44 1283
转载 objective-c自定义类对象的序列化和反序列化
在ios应用中如果需要保存大对象数据可以采用xml文件或者属性文件方式,但由于采用的纯文本方式保密性不够,如将保存数据封装为自定义类的实例通过序列化的二进制方式进行保存,这样安全性会有所提高。另外后面文章将介绍一些RSA、MD5等算法对保存数据进行加密和解密。具有序列化能力的类必须实现NSCoding协议的两个函数:-(void) encodeWithCoder:(NSCoder *)
2013-03-08 16:03:20 1410
原创 Android图片异步加载类
关键字:缓存池,加载队列/** * Title:图片异步加载类 * Description: * Copyright:Copyright(c) 2012 * Company: * * @author tom_liang */package com.zouba.dd.ui.util;import java.io.IOException;import java.io
2013-03-08 13:39:28 800
转载 ACE_DEBUG的匹配符
/** * Format a message to the thread-safe ACE logging mechanism. Valid * options (prefixed by '%', as in printf format strings) include: * - 'A': print an ACE_timer_t value (which could
2013-03-04 01:33:44 527
转载 Win32应用程序中创建控制台窗口
在Win32应用程序上默认是没有控制台窗口的,但经常需要用来调试。如何打开呢?1.设置两个全局的句柄,标准输入和输出。HANDLE hStdin;HANDLE hStdout; 2.建立控制台,并获得句柄(顺序很重要,AllocConsole放在后面会使得hStdin和hStdout获取不到句柄)AllocConsole();hStdin
2013-03-04 01:30:51 798
转载 VS2008(Win32控制台该应用程序)内存泄露检测
今天做项目碰到了内存泄露的问题,查了半天的资料,暂时解决了一部分,写出来,警示自己。下面先写出 内存泄露调试的方法(转帖) C++程序的复杂性很大一部分在于他的内存管理,没有C#那样的垃圾回收机制,内存管理对初学者来说很困难。经常会出现内存泄露的情况。那么我们写程序如何避免内存泄露呢?首先我们需要知道程序有没有内存泄露,然后定位到底是哪行代码出现内存泄露了,这样才能将其修复
2013-03-03 18:52:25 1297
基于ffmpeg的Android 2.2播放器开源代码
2012-07-24
Nokia论坛技术资料Symbian解决方案-中文版 CHM文档
2010-01-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人