blackberry-10

Adding QtCore Library in blackberry 10 sdk

耗尽温柔 提交于 2019-12-07 19:09:33
问题 Hi guys I am creating a simple game using cocos2d-x and blackberry. I need some place to store my game settings, something similar to shared preferences in ios and android. I found some code using qsettings, but the problem is I am not able to add the QtCore library. I add the library using RightClick->configure->add Library and Standard BlackBerry Platform Library. The library gets added successfully. #include "dataProcessor.h" #include <QtCore> void dataProcessor::setup(){ QDir dir; dir

is it possible to run blackberry OS 10 in blackberry OS 6,7 and 7.1

不问归期 提交于 2019-12-07 18:56:28
问题 I am new to blackberry development; please let me know is it possible to run blackberry OS 10 apps on blackberry OS 6,7 and 7.1 ? Or vice versa ? Also i want know how to develop a flip board type application for blackberry OS 10, or OS 6 and 7. 回答1: BB OS 10 and BB OS 7,6,5 are not compatible. Thers is no such thing like binary code compatibility between BB 10 and BB RIM OS 7.x and older devices. But there's a workaround. Use HTML5/WebWorks to implement an application and compile it for every

Creating Augmented Reality Application for blackberry10

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 06:40:17
问题 I'm a BlackBerry native applications developer. I'm new in BB10 apps development. I'm supposed to create an Augmented Reality based application in BB10. I've no idea whether there's any third party library available for blackberry10 or not. I have googled this thing. Have come to know that Wikitude has provided wikitide-SDK for Android and iOS; using it, android and iPhone developers can develop AR (Augmented Reality) Apps very easily. News says that Wikitude will release SDK for BlackBerry

is it possible to run blackberry OS 10 in blackberry OS 6,7 and 7.1

亡梦爱人 提交于 2019-12-06 16:04:19
I am new to blackberry development; please let me know is it possible to run blackberry OS 10 apps on blackberry OS 6,7 and 7.1 ? Or vice versa ? Also i want know how to develop a flip board type application for blackberry OS 10, or OS 6 and 7. BB OS 10 and BB OS 7,6,5 are not compatible. Thers is no such thing like binary code compatibility between BB 10 and BB RIM OS 7.x and older devices. But there's a workaround. Use HTML5/WebWorks to implement an application and compile it for every platform. In this case this application will work on BB 10 and will work on legacy RIM OS devices (7.x, 6.0

How to install a draft app on a blackberry sandboxed account

Deadly 提交于 2019-12-06 12:34:46
问题 I have uploaded an app on Blackberry World, in draft mode, added my account to the sandbox section, but how do I install the app on my device? 回答1: Those instructions are for BBOS, not BB10. For BB10, you need to turn on Development Mode on your device from the device Settings. Then open BlackBerry World, open the application menu, choose Settings > Development Mode. Enter your SKU or BlackBerry World content ID, hit Test Content. It should open to the details page of your App. (I think it

Adding QtCore Library in blackberry 10 sdk

可紊 提交于 2019-12-06 12:04:35
Hi guys I am creating a simple game using cocos2d-x and blackberry. I need some place to store my game settings, something similar to shared preferences in ios and android. I found some code using qsettings, but the problem is I am not able to add the QtCore library. I add the library using RightClick->configure->add Library and Standard BlackBerry Platform Library. The library gets added successfully. #include "dataProcessor.h" #include <QtCore> void dataProcessor::setup(){ QDir dir; dir.mkpath("data/files/text"); dir.cd("data/files/text"); } but when I compile the above code, I get the error

Is there a timer in BlackBerry 10 that runs your functions after a specified time interval?

三世轮回 提交于 2019-12-06 11:32:58
I searched the internet but there is very little documentation available on BlackBerry 10 development. Is there something in BlackBerry 10 that allows you to run a function forever after specified intervals of time? Like there is NSTimer in iPhone/Objective-C that can run a function after every x minutes or so. As pointed by @Sorry_Boss, you can use QTimer on C++ code. If you want to do that in QML, you can also register it for use in QML in the constructor of your app class, like this: qmlRegisterType<QTimer>("my.library", 1, 0, "QTimer"); Then, you can import it in your QML file: import my

How to Fix Module Not Installed Error in BB10 IDE

≡放荡痞女 提交于 2019-12-06 07:10:37
问题 Is it possible to fix module not installed error in BB10 IDE? Attached is screenshot of error to explain it a bit. Note: There is a similar question on SO which is kind of asking the same question (still not found correct answer yet) - blackberry cascades mapview 回答1: This is a currently a known issue with the QML preview in the Momentics IDE. It only supports the core cascades components. I answered a similar question here: blackberry 10 Unresolved inclusion <QObject> 来源: https:/

Invocation from function in QML?

会有一股神秘感。 提交于 2019-12-06 05:19:11
问题 I can share an item easily using an InvokeActionItem in a Page but I need to be able to call it in a listview item. I've managed to trigger an invoke, but I cannot figure out how to add data when triggering it. I keep getting an error message of InvocationPrivate::setQuery: you are not allowed to change InvokeQuery object Note: I am trying to do this in purely QML, I will do it via c++ if necessary but QML would be preferable. Code that works inside a Page object: actions: [ InvokeActionItem

How can I call a pointer of an QObject in a QML File?

徘徊边缘 提交于 2019-12-05 22:56:25
I'm developping an application for Blackberry 10 and I'm using the Momentics IDE (BB native SDK). I get the following error when I try to execute the code below. Any one have an idea how can I fix this ? Error QMetaProperty::read: Unable to handle unregistered datatype 'DataHandler*' for property 'xxx::dataHandler' asset:///main.qml:104: TypeError: Result of expression 'xxx.dataHandler' [undefined] is not an object. Process 627863799 (xxx) terminated SIGSEGV code=1 fltno=11 ip=08055b30(/accounts/1000/appdata/com.ddd.xxx.testDev_e_xxx45b0f435/app/native/xxx@main+0x5d63) ref=006e0075 ** xxx.hpp