我把以下这句注释了,还是不行,能否让iListBox里的项不能被选择?
iListBox->SetListBoxObserver(this); // receiving notifications through HandleListBoxEventL
Type: Posts; User: yjbin; Keyword(s):
我把以下这句注释了,还是不行,能否让iListBox里的项不能被选择?
iListBox->SetListBoxObserver(this); // receiving notifications through HandleListBoxEventL
我在触摸屏手机上实现: 长时间按住CAknDoubleTimeStyleListBox里的某条记录,弹出动态菜单CAknStylusPopUpMenu。
现在发现有个问题:
长时间按住当前正在选择的记录(有一个长方形的暗框表示当前选择的记录),弹出动态菜单,然后立马自动消失;
如果长时间按住未选择的记录,则正常(弹出动态菜单,不使用则大约8秒后后自动消失)。
...
原来在Symbian 3rd里增加“标记、标记全部、取消标记、取消全部“是用 R_AVKON_MENUPANE_MARKABLE_LIST来实现的。
现在在Symbian^3下面,使用浮动菜单,如果增加”标记“子菜单?
标准格式如下:
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu
{
items =
{...
我想在5th,S^3上实现"长按弹出菜单"的效果,同时又能安装到3rd FP1,FP2等非触屏手机使用。是否只能:
1. 编程环境:Carbide C++ & 3rd SDK & 5th SDK
2.分别编译2个exe: test_3rd.exe test_5th.exe
3.把这二个exe放到PKG里,让PKG在安装时根据手机系统选择安装不同的exe
有没有可能:
1....
Thank you! i will try to research it.
非常感谢,我去仔细研究一下。
就象5th和symbian^3里的名片夹,手指长按(大概2秒)列表里的某个号码,屏幕上就会弹出“呼叫、发送信息、作为名片发送、删除、标记”的小菜单。找遍整个论坛,都没有找到如何实现的信息。
各位大侠有知道如何实现的吗?:confused:
how to popup a menu after long press(about 2 secs) a item in a listbox? just like Postcard on 5th and symbian^3 device.
i searched wiki, can't find any information.
oh, i'm use carbide c++, not Qt, so has a way to do in c++ ?
1. RSendAs: Run ok on S60 3rd,FP1,FP2 device, can't Run ok on Symbian^3 device
2. CSendUI: can launching email editor on Symbian^3
3. CSmtpClientMtm: i modify the code MMS in this discussion to...
1。RSendAs:这种方式在S60 3rd,FP1,FP2手机上都很正常,但是在Symbian^3手机上无法发送邮件。
2。CSendUI:这种方式可以在Symbian^3手机上成功调出邮件编辑界面,但是无法自动发送,需要手工去点击“发送”。
3。CSmtpClientMtm:我是在在论坛上的MMS例子基础上改的,经过多次尝试,发现还是无法发送。
我使用的是S60 3rd...
i have logged into symbiansigned website at 2.1.2011 and can't find any term to accept!
https://www.symbiansigned.com/app/page/dev/legalSummary
menu: Legal--T&C
where is it the term?
-----...
通过RDA测试了N8,C6,C7,确实如此,多谢!
判断是否S60 3rd系统可以用以下代码,但判断是否Symbian^3(N8,E7)系统应该用何种方法呢?
====================================
_LIT(KS60ProductIDFile, "Series60v*.sis");
_LIT(KROMInstallDir, "z:\\system\\install\\");
...
the code below running good on S60 3rd & 5th device, now run error on symbian^3(N8),i get the message: "config error: -18". is it N8's problem or symbian^3's problem?
do i need to rebuild with...
我在非全键盘手机上设置热键(Hotkey)是弹出列表”1,2,...9,#,*"让用户选择,当软件在后台运行,按热键即可启动软件的某项功能。
1。请问如何为全键盘手机设置软件的热键(Hotkey)?
比如E63,E66,E71等手机,是否弹出列表“A,B,C,...Z",这26个英文字母让用户自己选择?感觉这样列表会太长了。
2。如何在程序里自动判断当前手机是否全键盘手机?...
Cxt_programmer 的应该是正解!
通过察看英文资料发现:Console里使用系统AO,应该要先自建CActive对象,再把系统AO的函数放到自定义的CActive对象里去才能执行。
刚改过了,一样的编译错误。
奇怪,为什么在UI程序里编译正常,但在Console程序里就编译错误:
no matching function for call to `CActiveScheduler::Add(CPhoneObserver* const)'
=====myrecord.h:====
class CPhoneObserver : public CBase,MMdaAudioInputStreamCallback
MMdaAudioInputStreamCallback应该继承自CActive类的。
因为我在Symbian的例子AudioExample...
但我在UI程序里这样使用是没有问题的。
我做的console程序里使用CMdaAudioInputStream* iInputStream这个系统AO函数来进行录音,
发现iInputStream->Open(&iStreamSettings);//执行到这里时,出现:“E32User-CBase 49: active object has not been added to the active...
问题已经解决,把console作为参数传递过去,即可。
LOCAL_C void MainL()
{
//
// add your program code here, example code below
//
console->Write(_L("Consol started!\n"));
console->Getch();
原因找到了,在myrecord.cpp里,使用 console->Write是造成错误的原因,必须这样用:
CConsoleBase* consolex;
consolex = Console::NewL(_L(""), TSize(KConsFullScreen, KConsFullScreen));
consolex->Write(_L("running...\n"));...
>You have created two consoles in your app.
我只新建一个console啊,不是二个。
手机上运行后,只显示observer started!,然后就kern-exec 3 出错退出了,可能的原因在哪里?这个类大体逻辑应该没有问题的,因为以前在UI程序里用过的,现在改用到Console程序下。
#include <myrecord.h>
LOCAL_C void MainL()
{
//
// add your program code here,...