×
Namespaces

Variants
Actions

怎样检测还有多少可用内存

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

文章
User:Jiangbaolan 在 02 Apr 2009 创建
最后由 hamishwillee 在 15 Dec 2011 编辑

下面的代码可以得到可用内存的数量。

Code: TMemoryInfoV1Buf info;

UserHal::MemoryInfo(info);

TInt freeMemory = info().iFreeRamInBytes;

This page was last modified on 15 December 2011, at 09:34.
52 page views in the last 30 days.
×