thank you for reply.After the china festival I writed some code to caluate the max lat,lon span coordinates and center coordinate.and then to caluate how many zoomlevel to change.it work althought...
Type: Posts; User: ken2008; Keyword(s):
thank you for reply.After the china festival I writed some code to caluate the max lat,lon span coordinates and center coordinate.and then to caluate how many zoomlevel to change.it work althought...
i use the QGeoSearchManager to search() in cpp file, and how to get the qml Map object or to convert to mapwidget in QDeclarativeItem cpp file.
my application is qml ,and simpleMapcontent qml excamples is not to code the zoom function.dose the qml has liked the fitInViewport function to used
my code used the class QGeoSearchManager's function "search()",to find out a list of positions, and show on the ovi map.but how to make the map to show all the positions at the screen. and calculate...
我通过QGeoSearchManager的search()方法搜索出了一系列的坐标,并显示在了地图上,但是怎么计算出地图的缩放比例可以显示出这一系列的坐标点。
是的。谢谢。我也发现这个了。哈哈
我有个listView的列表,并且在屏幕的右侧有一个A-Z的字母表(Item做的)想通过点击A-Z可以让listView中的内容自动定位到相应的位置。
ListView {
id: listView
clip: true
anchors.fill: parent
model:...
发现问题了可以使用setAttribute(Qt::WA_LockPortraitOrientation)
i found it can use setAttribute(Qt::WA_LockPortraitOrientation)
my qml application running in nokia 700 and n8, would like it can running in portrait mode,
and i use the function " aknAppUi->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait);",but it not...
使用用bodyId()->toString(). 确实好用,谢谢。
我的qml程序使用了“http://www.developer.nokia.com/Community/Wiki/%E5%9C%A8Qt%E5%BA%94%E7%94%A8%E4%B8%AD%E5%BC%BA%E5%88%B6%E4%BD%BF%E7%94%A8%E6%A8%AA%E5%B1%8F%E6%88%96%E7%AB%96%E5%B1%8F”中介绍的方法,为什么不好使呢?
...
i use the QMessageManger get the new message content, but the content of message is less than the real message content, when this message is long. if the message content is short ,it can get full...
我在使用QmessageManger类的messageAdded监听新短信到来时,并通过发现message.subject中取出的短信内容少了不完整,但是如果新短信的内容比较少的话就可以全部读出来。这个怎么解决?
void messageAdded(const QMessageId& id, const QMessageManager::NotificationFilterIdSet&...
我在使用qt mobility发送中文短信的时候,接收方收到的是乱码。这个怎么解决?
QMessage message;
m_service = new QMessageService(this);
message.setType(QMessage::Sms);
message.setTo(qaddresslest);
message.setBody("你好");
...
hi all,
i use qt mobility to send message, like the following code:
QMessage message;
m_service = new QMessageService(this);
message.setType(QMessage::Sms);
...
my function is like the following:
void parse( QString &fileName)
{
QFile file(fileName);
if (!file.open(QFile::ReadOnly | QFile::Text)) {
qWarning() << "read failed ";
...
i found the problem, this is the QString change the "c:\\data\\index.txt" to "c:\data\indext.txt",so it found not the file.
找到问题了,这个代码没有问题,是我在传路径参数时,qstring把路径中的“\\”改成了“\”,找不到文件。
i have a application want to write the temporary file in data folder at Nokia 700 phone.
but it can not to write success. it seems this folder become a readonly attributes.
so how to write a new...
我在nokia 700手机中运行程序发现无法向手机的data目录下写文件?但是在n97mini中是好使的。
发现nokia 700手机的data目录可能是变成了只读。这样的话我应该怎么写自己的文件呢?
QFileInfo fileInfo("c:\\data\\index.txt");
QString fileName = fileInfo.fileName();...
in SDK 1.1.3,
if i use the Qt 4.7.3 for symbian'3 to compile ((QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\include\mw\ovinotifications)),it can success,becasue the "Symbian3Qt473" folder has these...
i have installed the SDK1.1.3 or SDK 1.1.4,and use the notificationexample from SDK.but it can not compiled in symbian device (qt 4.7.4 for symbian belle or qt 4.7.3 for s60 5th in SDK 1.1.3,or qt...
我使用了例子程序的notificationchat。模拟器可以编译通过,但是在编译设备时会提示找不到
#include <ovinotificationinterface.h>
我使用的是qt1.1.4 SDK,编译的是QT 4.7.4 for symbian Anna(qt SDK)
模拟器怎么使用sandbox环境测试。我这边的第三方做了一人notification的server,但是我的手机还没有到,所以想使用模拟器测试。应该怎么设置模拟器为sandbox环境?
我的client的代码在使用nokia 的https://account.nnapi.ovi.com网站上测试通过了。