blackberry-10

Alternative for QNetworkAccessManager

陌路散爱 提交于 2019-12-13 16:11:50
问题 I am drawing map in BB10. The map is divided into tiles. At start user gives a longitude, latitude and zoom level and the map is shown at that co-ordinate. I get a single tile by doing a http request with QNetworkAccessManager. At first 7x5 tiles are downloaded. But the problem is when user starts panning in the screen really fast and continues to do so for sometimes then after user stopped panning the tiles are downloaded with a big delay. Each time user does panning some new tiles are

Blackberry 10 Left Slider

爱⌒轻易说出口 提交于 2019-12-13 07:00:25
问题 The menu slider that the menu is popping out from the left side of the screen is awesome. "I was just trying to see how it can be emulated in my application. Any one has a clue how it can be achieved?" I want it to look exactly like on the picture, with menu items on the left. There is a similar Android Question 回答1: You can use TabbedPane for that purpose, having left menu populated with set of Actions. However, usage of TabbedPane means you have to use Tabs. In your case, you'll most likely

How to import and use QObject in a BB10 Cocos2D based app

流过昼夜 提交于 2019-12-13 05:22:11
问题 I am currently working on building a Cocos2d-x game for the BB10 platform using the BBTemplateProject sample provided with Cocos2dx. I am new to C++ programming, and the current game is a port of a java project Iv been working on for a while. In order to save game data (scores, some settings etc), I intend to use the QtSQl Library which BB10 provides. I have successfully run some sample Qtsql code in a sample Cascades application and it works fine. However, integrating the same code into my

Open link in external browser from blackberry10 with cordova

亡梦爱人 提交于 2019-12-13 04:41:07
问题 I am trying to open a link in the native browser or other external browser from my blackberry10 app, but I can only get it to open an in app browser. Please help me. 回答1: It seems that you are using the org.apache.cordova.inappbrowser plugin which is cross compatible but the default action is to open a new page in the childBrowser window. If you want to open it in the system browser you have two options: OPTION 1: use the "_system" target in your call. Your code will look like this var ref =

How do i configure SDL to work with the Blackberry Playbook Native SDK / NDK?

南笙酒味 提交于 2019-12-13 04:25:35
问题 I've got the NDK set up and managed to compile and run the hello native sdk project on my playbook. I downloaded the blackberry sdl port from github. However I've been unable to compile even a hello world project using it. Also it seems to be lacking a "lib" folder which I'm used to needing for the compiler settings. EDIT: I have managed to get the sdl to open in the native sdk, it seems the download was designed to act as a project template of sorts. At first the compiler complained that i

Blackberry 10 cascades qml methods

て烟熏妆下的殇ゞ 提交于 2019-12-13 04:21:56
问题 How to load a method when i click a button from one qml layout to other qml? as am having a editprofile button if i click the button means i want to show the values ,which i got from the webservice how to do this? can anyone send some idea.? Thanks 回答1: you need to implement this onCreationCompleted method onCreationCompleted: { // call the function, that you need to show first // first_display() } Hope this helps.!!! 回答2: It sounds like you are trying to pass data retrieved from a webservice

SQLite access in Javascript

China☆狼群 提交于 2019-12-13 03:08:49
问题 I want to access Sql Lite Database with JavaScript code. The JavaScript code is used in html5 and has to be deployed on blackberry 10 platform. I use the following code without success: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Prova</title> </head> <body> <script type="text/javascript"> //Provenia SRL ITC - Paola Savioli //Questa funzione apre il database SQL Lite //Il

How to programatically take a screenshot on BlackBerry 10 using cascades?

安稳与你 提交于 2019-12-13 01:25:59
问题 Is it possible to take the screenshot using Blackberry 10 cascades API? 回答1: The Screenshot API is now on SDK 10.2 Beta: http://developer.blackberry.com/cascades/reference/bb_system_screenshot.html 回答2: This is not possible right now, but is something being considered for post launch. 来源: https://stackoverflow.com/questions/13123438/how-to-programatically-take-a-screenshot-on-blackberry-10-using-cascades

How to execute Blackberry OS 6 app in Blackberry 10 OS

大城市里の小女人 提交于 2019-12-12 18:21:19
问题 I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error: Unsupported for this device Please help me how to run application in OS 10. Thanks in Advance. 回答1: OS10 is a completely different system. It no longer supports the BB6/7 Java environment. You will need to port your app to one of the new supported platforms: http://developer.blackberry.com/develop/platform_choice/index

PhoneGap with Blackberry OS 10

你。 提交于 2019-12-12 14:21:33
问题 I would like to know whether PhoneGap sdk supports Blackberry OS 10 build? I think it is .bar file, am I correct? 回答1: ** Update ** At the time of this original answer, PhoneGap did NOT support BB10, however a lot has changed at you can now successfully build PhoneGap apps targeting BlackBerry 10. I've re-written the PhoneGap Getting Started Guide (http://docs.phonegap.com/en/2.6.0/guide_getting-started_blackberry_index.md.html#Getting%20Started%20with%20BlackBerry) And a Knowledge Base