blackberry-eclipse-plugin

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

Module attempts to access secure API: RIM Blackberry

▼魔方 西西 提交于 2019-12-23 05:34:15
问题 I used the "Sign with Signature Tool" in Eclipse to sign my app. I see that signer ids RRT, RBB and RCR are all signed for the cod files (JRE version 4.5). I try to deploy to a 5.0 device and I see the "Module attempts to access secure API" error. What am I missing? 回答1: How did you deploy it to device? You should consider using javaloader load myfile.cod in cmdline or BlackBerry - Load Project(s) on device in eclipse 回答2: Did your app request the needed permissions? You'll need something

Parsing JSON in Qt C++ blackberry 10

别来无恙 提交于 2019-12-23 04:59:10
问题 This is My JSON text from any URL http://www.example.com/json.php Please can any one tell me how do I parse this json and put it in an Array so that it can be modal on customized ListView? Let me tell you that I am new to Blackberry development previously iOS developer. I have checked this link, but not able to run it . If any one have any complete solution(example or usage) please help me. I downloaded the sample of JSON from developer.blackberry.com, but not able to run . I also posted that

Blackberry plugin for eclipse?

瘦欲@ 提交于 2019-12-23 02:34:54
问题 As i am developing an where app where i need to integrate BBM in it. As per the following instructions of integrating BBM, i followed the steps & downloaded BB Plugin for Eclipse. Here by default i got BB 7.1 SDK with that eclipse which i downloaded. Now i want to install BB 5.0 & BB 6.0 to that eclipse. As per details i got from internet i followed the following steps of installing these SDK's In eclipse Help --> Install New Software --> in Add Repository i gave name & location as Name -->

make: *** No rule to make target `Device-Debug'. Stop.

谁说胖子不能爱 提交于 2019-12-22 05:53:10
问题 i am using QNX momentics for blackberry development. The problem is whenever i download any sample code and run it on Simulator. then error comes to me. When i clean the project it give me Error **** Clean-only build of configuration Simulator-Debug for project list **** make -j4 clean make: *** No rule to make target `clean'. Stop. **** Build Finished **** And when Build the project it gives me **** Build of configuration Simulator-Debug for project list **** make -j4 Device-Debug make: ***

How to package and deploy blackberry apps to device from Eclipse

扶醉桌前 提交于 2019-12-21 15:23:20
问题 How do I package and distribute my apps from the Eclipse IDE? My apps work within the simulators, but I have no idea how to deploy them to my blackberry device. I moved the files to the Media card but I kept getting errors (i.e. invalid COD errors). Is there an appropriate way. It worked fine in the simulator! 回答1: If your app uses any controlled APIs you will first need to get it signed by RIM. For more info on how to apply for code signing keys look here. Once you have your keys installed

To change the ButtonField background during click event in BlackBerry

给你一囗甜甜゛ 提交于 2019-12-14 03:42:38
问题 In BlackBerry, how to change the ButtonField background color during the click event? For example, for the long press the background color needs to change. For me it takes the default color blue. How to change it? This is our custom buttton field. But it shows the default blue color for the button click event. public class CustomButtonField extends ButtonField implements GlobalConstant { int mHeight; int mWidth; public final static int DEFAULT_BACKGROUND_COLOR_NORMAL = 0x167c9c; public final

Eclipse Blackberry Preprocessor Not Working?

为君一笑 提交于 2019-12-13 14:17:57
问题 I've already followed the directions @ Using preprocessor directives in BlackBerry JDE plugin for eclipse? for making sure the blackberry plugin preprocessing hook is (theoretically) enabled. I'm using Eclipse 3.5.1 with Blackberry Plugin 1.1 with BB SDKs 4.7.0 and 4.6.0. I have my preprocessor defines set (and I've tried in both the Project's Blackberry Properties as well as the Workspace Blackberry Build settings), and checked their capitalization and spelling carefully too. I'm fairly

Refreshing Table Model Adapter on deleting record from it : Blackberry

∥☆過路亽.° 提交于 2019-12-13 04:42:15
问题 I m creating a Table Model Adapter in Blackberry.( ** This is a sample what i m doing ****)I have added button field and two Strings.I m putting data in String from vector.Now on button click i want to delete the row against button.The Data is deleted from the database but not removed from Screen view when button is clicked.When i calld the Retrieve() function to call updated database and draw the Table model adapter again....it is adding new Table below old one....not refreshing it. Is there

BlackBerry App World Distribution of .jad files

假如想象 提交于 2019-12-12 17:27:43
问题 I am developing an app using Eclipse Plugin with BlackBerry JRE 4.5 to support devices with OS versions 4.5 and higher. I understand that when you use a JRE version lower than 4.7 and you deploy the app to a 4.7 device or a 5.0 device, the app will run in compatibility mode and as a result the virtual keyboard would appear. I followed this document to avoid running my app in compatibility mode. I was able to generate the .JAD files for version 4.7 only after I built the app with JRE 4.7. I