blackberry-10

Blackberry 10: Android Runtime & JNI

≯℡__Kan透↙ 提交于 2020-02-21 11:55:47
问题 Is JNI supported on the BlackBerry 10 Android Runtime? I would like to execute native c code in my android app which I'd like to deploy on the blackberry 10 os. In my android app, I use JNI to handle callbacks from the native c code to the java code. Is this supported on the bb10 android runtime? 回答1: All I could find is this thread: Any plans for supporting Android Native Code which doesn't appear to have an official response. My guess is that 'no' Android NDK won't be supported as

BB10 android runtime push notification

前提是你 提交于 2020-01-23 01:04:04
问题 I have followed this tutorial to enable push notification on android runtime but I am getting failure 830 android/android.cfg: unknown asset error when i try to deploy bar package into alpa device. What can be the reason of that? 回答1: The solution is to change the way of importing android.cfg file into the android project. First of all, add android.cfg file into root of the android project folder and rename it as projectname.cfg. For example, if the application name is SamplePushApp, the name

My QNX/BB10 C++ application crashes, a simple C++ object seems to be corrupted

匆匆过客 提交于 2020-01-17 03:20:11
问题 I'm working on a QNX / Blackberry 10 application. My application has recently begun to crash. Inserting trace statements has led me to believe the crash is occurring in the following situation. My client app calls an internal function, passing it a reference to a C++ class object. The passed C++ class looks like the following: class ALPeerData { public: ALPeerData (); virtual ~ALPeerData (); int _peerId; ALModelType _modelType; std::wstring _computerName; std::wstring _uuidDevice; . . . };

BlackBerry WebWorks to invoke popping BB10 Share panel/screen

*爱你&永不变心* 提交于 2020-01-07 04:24:06
问题 How can u get my webworks app to pop open the blackberry 10 share panel? Ex: open a website in the browser, click the overflow button and then click share Thank you! 回答1: You'll want to look at the invokeTargetPicker API. Essentially, you create a request var request = { action: 'bb.action.SHARE', // for a file uri: 'file://' + path, // for text you'd use 'data' data: 'I am awesome', target_type: ["APPLICATION", "VIEWER", "CARD"] }; Then you call the API blackberry.invoke.card

Worklight: Touch sensitivity issue in Blackberry Z10, Q10 devices

本秂侑毒 提交于 2020-01-06 20:01:07
问题 I have developed a Hybrid application for BB10 using IBM Worklight. I am using JQueryMobile. I have a page which has a footer containing links such as Home, About and Contact Us. The issue is that, the links require multiple taps to hover. Sometimes, the links works in a single tap. Sample Code <div id="testFooter" data-position="fixed" data-tap-toggle="false"> <div class="ui-grid"> <a class="ui-block-a" href="#Home" style="padding:10px;display:block">Home</a> <a class="ui-block-b" href="

IMEI Number In bb 10 Cascades

若如初见. 提交于 2020-01-05 07:37:21
问题 I want to get the imei number In bb 10 cascades.In that path, I need to to add using namespace bb::data; #include <bb/device/HardwareInfo> I have Also Included LIBS += -lbbpim LIBS += -lbbsystem LIBS += -lbbdevice LIBS += -lbbdata files to my project.pro file !!! but I am getting Error message like... - expected namespace-name before ';' token - 'data' is not a namespace-name I want to know why i am getting this error ,how to resolve that Error and I would be hapy if post any code snippet how

Blackberry 10 Whitelisting

柔情痞子 提交于 2020-01-04 13:12:08
问题 I'm using Phonegap 2.8.0 for a Blackberry 10 App. I can't whitelist https URLs. Other URLs are working for whitelisting. <access subdomains="true" uri="https://abcdefg.com" /> <access subdomains="true" uri="http://abcdefg.com" /> The http is working, but the https always shows the following message: Javascript Alert Access to "https://abcdefg.com not allowed Please help :-) 回答1: For everyone else, there is a dirty solution to make it work. In the www/config.xml add this: <feature id=

Blackberry 10 Whitelisting

不羁的心 提交于 2020-01-04 13:12:08
问题 I'm using Phonegap 2.8.0 for a Blackberry 10 App. I can't whitelist https URLs. Other URLs are working for whitelisting. <access subdomains="true" uri="https://abcdefg.com" /> <access subdomains="true" uri="http://abcdefg.com" /> The http is working, but the https always shows the following message: Javascript Alert Access to "https://abcdefg.com not allowed Please help :-) 回答1: For everyone else, there is a dirty solution to make it work. In the www/config.xml add this: <feature id=

Dynamically set imageSource in ImageView Blackberry 10

南笙酒味 提交于 2019-12-30 11:06:39
问题 Please help me.,i m stuck with this for more than a week.I am emitting a signal with image from my cpp file.I need to replace the default image that i placed in the imageView at QMl using this emitted image. Here is my full code. PostHttp.hpp /* Copyright (c) 2012 Research In Motion Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org

Dynamically set imageSource in ImageView Blackberry 10

喜欢而已 提交于 2019-12-30 11:05:57
问题 Please help me.,i m stuck with this for more than a week.I am emitting a signal with image from my cpp file.I need to replace the default image that i placed in the imageView at QMl using this emitted image. Here is my full code. PostHttp.hpp /* Copyright (c) 2012 Research In Motion Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org