class RMobilePhoneBookStore is not in <etelmm.h>, so i paste code from symbian.org/oss as follows.
But it is always crash when i call Open method.
_LIT (KTsyName,"phonetsy.tsy");
...
Type: Posts; User: shushengsky; Keyword(s):
class RMobilePhoneBookStore is not in <etelmm.h>, so i paste code from symbian.org/oss as follows.
But it is always crash when i call Open method.
_LIT (KTsyName,"phonetsy.tsy");
...
Thanks.
In the example, CEikonEnv is only released on device.
But how to release it on simulator.
I use CEikonEnv in console application. while delete the object, it panic CONE 28 on simulator.
CEikonEnv* env = new CEikonEnv;
TRAPD(error, env->ConstructL());
// TRAP(error, DoStartL());...
我是指zip里面的文件名是中文,而不是zip本身的文件名是中文。
使用CZipFile对包含中文名文件的Zip解压时,member->Name()返回的是乱码。
不过将将其转换成utf-8后按照GBK转换成utf-16就没有问题了。
TBuf8<100> nname(*member->Name());...
条件限制,不能使用编辑控件捕获按键事件,只能使用CCoeControl。
但E75产生的KeyCode有的是有问题的,一直都是是数字。
我在网上找到使用CPtiEngine解决KeyMapping问题。
但使用iQwertyKeyMappings->GetDataForKey(key, iResult, EPtiCaseLower);或者的只有字母,没有数字。
①j②丿
Why keycode of N97 Emulator's devices keyboard was not as expected? The first line's keycode always digital.
Official deliberately designed it?
不调用CActiveScheduler::Stop()就可以了。
I found the error. In HandleCommandL, I panic in default case.
switch( aCommand )
{
default:
_LIT(applicationName,"SymbianTmp");
User::Panic(applicationName, 1);
break;
}
The application just exit without any crash code display.
你可以创建CEikonEnv,使用AddResourceFileL加载资源。
CEikonEnv* coe = new CEikonEnv;
TRAPD(err1, coe->ConstructL());
TInt resId = coe->AddResourceFileL(_L("z:\\resource\\apps\\ConsoleRes.rsc"));
...
Hi all.
I create a CEikRichTextEditor in view. When I press * key to display symbol table, it's all the normal on N95, but nothing show on N78. my code:
iEditor = new (ELeave)...
Maybe you need SwEvent capabilities.
I Create a control to accept key press and resize the control according to input text length. while key press was too frequently to show, background of custom control become white.
My Device is E62.
Hi,
I Create a costom control with CreateWindowL(),and in Draw() method there is only one line code:
SystemGc().BitBlt(Rect().iTl,iOffScreenBitmap);
when continually and frequently...
1.创建控件时使用CreateWindowL()创建window owning 控件。
2.将Window设为顶层。
RWindow& window = Window();
window.SetOrdinalPosition(0, ECoeWinPriorityAlwaysAtFront);
window.SetNonFading(ETrue);
我也在为FepExample在sms编辑时切换输入退出发愁。
我创建CAknGrid,然后使用CAknPopupList将其弹出。现在遇到两个问题无法解决:
1. 如何设置CAknPopupList的高度,现在只能显示4行。
2. CAknGrid滚动条不能显示,使用方法CreateDoubleSpanScrollBarsL后可以显示,但位置不对。
我的代码站出来,大家研究一下。
void...
I create CAknGrid and show it in a CAknPopupList with a title.But I have tow questions:
1. how to setup the hight of CAknPopupList.Now only four row of items was seen.
2. I cannot see the...
我使用的是P990i(UIQ3)的手机,想获得预览的图片,我想可以通过MCameraObserver2::ViewFinderReady获得,但我调用
iCamera->StartViewFinderDirectL(CEikonEnv::Static()->WsSession(),
*CEikonEnv::Static()->ScreenDevice(),
...