blackberry-10

Share Invoke is sometimes blank

浪尽此生 提交于 2019-12-25 04:22:34
问题 I have a strange bug using a share invoke. About 1 in 3 attempts to share will result in no text being shared. Usually the first share will work but further attempts will not work. Randomly it will start working again. This happens with bbm, facebook and twitter apps. The following code is part of a listview listitem. InvokeActionItem { id: invokeActionItem title: "Share" ActionBar.placement: ActionBarPlacement.OnBar imageSource: "asset:///Images/Icons/share_icon.png" query { mimeType: "text

Blackberry Ripple Emulator on click start services does nothing

跟風遠走 提交于 2019-12-25 01:44:45
问题 I want to package and launch my BlackBerry Hello World application for WebWorks. For developement, I am using the Ripple emulator. The Ripple simulator says: The build and deploy services are not currently running, would you like to start them? After pressing the button Start Services nothing happens and no errors are in the error console.and i also did below steps as i have searched and get this result: There are two reasons this might be happening. The first is that Chrome is preventing

BlackBerry 10 Cascades - Running app on the simulator

旧城冷巷雨未停 提交于 2019-12-24 20:44:29
问题 I am new to blackberry development and ran into this problem several times and cannot find a solution. When I try to run an empty cascades project just with a simple HelloWorld label I get the following error Deployment Failed: Info: Sending request: Install and Launch Info: Action: Install and Launch Info: Debug native: on Info: File size: 190910 Info: Installing com.example.HelloWorld.testDev__HelloWorld7d1bfe91... Info: Processing 190910 bytes I'm using Momentics, VMware running BB10 Dev

Blackberry 10 scan gallery

我怕爱的太早我们不能终老 提交于 2019-12-24 18:30:17
问题 I am working on content migration application. I have to migrate contacts, calendars, media from Blackberry device to Android device. Contacts and Calendars I have done. I used below snip of code for Contacts ContactService contactService; ContactListFilters filters; filters.setLimit(0); QList<Contact> contactList = contactService.contacts(filters); And below for Calendars CalendarService calendarService; EventSearchParameters searchParams; searchParams.setStart(QDateTime(QDate(1918, 01, 01),

How To change the background color of a container using the Hex format?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 12:38:26
问题 I'm developing a BlackBerry 10 mobile application using the momentics IDE (native SDK). I want to change the background color of a container using C++. But unfortunately, relating to this [link], you only can define it like below : **Creating a color in C++:** Color c1 = Color::fromRGBA(0.5f, 1.0f, 0.2f, 0.8f); Color c2 = Color::fromARGB(0xff996633); For the color, I want to use the hex format ("#xxxxxx"). Any one can guide me on this ? 回答1: Color c2 = Color::fromARGB(0xff996633); is using

Accessing ListItemComponents on the run

时光总嘲笑我的痴心妄想 提交于 2019-12-24 09:38:51
问题 right now I'm trying to create a ListView which loads the dataModel using a custom QML. Here's the snippet of my code: ListView { id: firstPageListView visible: false dataModel: firstPageDataModel layout: GridListLayout { columnCount: 1 cellAspectRatio: 2.0 headerMode: ListHeaderMode.Standard verticalCellSpacing: 10 } listItemComponents: [ ListItemComponent { //custom qml that will be used ThumbNote { title: ListItemData.title text: ListItemData.text imageSource: ListItemData.image listmode:

What are the implications of disbling websecurity in a blackberry10 app?

会有一股神秘感。 提交于 2019-12-24 04:16:10
问题 In another question dealing with a bug in blackberry10 that denies cross origin XHR calls, it is proposed to get around the issue by disabling web security. But what does disabling web security really imply here? Am I going to torture small harmless woodland creatures if I use this? Seriously though, does doing this expose my app to additional security risks beyond those introduced when adding the popular wildcard access uri="*" or access origin="*" line in my config.xml for blackberry10?

Add library into cascades

房东的猫 提交于 2019-12-24 01:28:24
问题 Hi I am developing an application to unzip files in blackberry10. For unzipping files I am using quazip library code I get from github. But I dont know how to add this library to my project can anybody please let me know how to add library to blackbery cascades. 回答1: To add a library to your BlackBerry 10 project in Momentics you just need to right click on the project and go to Configure->Add Library... This will start the Add Library wizard where you can specify the path to your library.

What can cause an exception 16: “mutex: Resource busy” to be thrown (using Boost / BB10)?

自作多情 提交于 2019-12-23 23:46:18
问题 I've ported a long-working stable library written in C++ and Boost to Blackberry 10. The library transfers files between devices. The library compiles and links well, and runs just fine. However, I consistently encounter a thrown exception on my Blackberry 10 device after 1, 2, or 3 files have been transferred. Catching the exception as a boost::system::system_error in the source code shows it is exception 16, with a text of "mutex: Resource busy". Here is the source code where the exception

Android Runtime GPS Location - Blackberry Device - not working

China☆狼群 提交于 2019-12-23 18:27:45
问题 My app has been ported from Android to blackberry and it works fine... the only thing not working is the GPS location which works on the android.... the app displays a message to the using that we are trying to find the location and if no location is found we tell the user that we could not retrieve a location.. here is the code private void gpsLocation() { //Get the location manager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); //Provide Criteria Criteria