blackberry

Ajax request from Blackberry Phonegap application

别来无恙 提交于 2019-12-12 14:49:02
问题 I am creating an application for Blackberry (OS 5.0 and higher). I don't have any past experience in mobile development. I have created a sample application that is working fine (by following guidelines mentioned in http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks). I have installed JDK - version 1.6.0_23 Apache Ant - 1.8.2 BBWP - 1.5.1.22 phonegap - 0.9.3 (Running on BlackBerry 9550 Simulator) What I want to do is a simple AJAX request to domain (i.e

How to make background of BrowserField transparent in Blackberry

无人久伴 提交于 2019-12-12 14:20:06
问题 I am using BrowserField component of RIM BB . It is right now displaying a white background. I want make a transparent background, so it could match with the Manager's background color. I had tried with below code. But it's not working. BrowserField contentField = new BrowserField(); bgTransparent = BackgroundFactory.createSolidTransparentBackground(0xffffff, 0); contentField.setBackground(bgTransparent); How to solve this? 来源: https://stackoverflow.com/questions/12421300/how-to-make

Blackberry Facebook SDK throwing exception: NoClassDefFoundError

亡梦爱人 提交于 2019-12-12 14:00:44
问题 I've searched through all the topics related to my question but couldn't find a solution to it. I'm coding for a Blackberry app using the BlackBerry Java Plug-in for Eclipse v1.5.2 with JRE 7.1.0. I'm currently trying to integrate Facebook Connect into my app so that the users can log into our app through Facebook. The Blackberry Facebook SDK that I'm using is version 0.8.25 downloaded from here: http://sourceforge.net/projects/facebook-bb-sdk/ After getting the two jar files,

cannot install blackberry webworks plugin in eclipse

和自甴很熟 提交于 2019-12-12 13:49:38
问题 using http://www.blackberry.com/go/eclipseUpdate/3.6/java ,I installed Blackberry java plugin(core),Blackberry java SDK but for using phonegap, i used this as reference http://wiki.phonegap.com/w/page/31930982/Getting%20Started%20with%20PhoneGap%20BlackBerry%20WebWorks i tried http://www.blackberry.com/go/eclipseUpdate/3.6/web to get the blackberry webworks plugin,webworks SDK but was not successful, It gave error Cannot complete the install because of a conflicting dependency. Software being

Blackberry 10 Cascades - Images inside Text Area

筅森魡賤 提交于 2019-12-12 10:57:47
问题 I am designing an application that needs to replace some text inside of a TextArea with an Image. For example, if I enter a phone Number that exists on the Native contacts list, I need to replace the text on the text Area with an Image and be able to add more phone Numbers (the attached image illustrates the procedure). This is the native messaging application, but I can't find an API to do this in Cascades. Thanks for the help. 回答1: I believe what you are looking for is the FlowListLayout

BlackBerry Push Notification registration time

旧时模样 提交于 2019-12-12 10:23:53
问题 So i register my App with BlackBerry and i could receive push msgs but after a certain time around (3 hr) i try to push to the device again but no luck, then i have to register again with BlackBerry so i could receive pushes. what is the time that i need to be register again and is that related that i have a development credentials not a production one ? 回答1: Registration should be persistent. But RIM's servers are sometimes flaky: are you seeing this happen consistently? Are you using OS 5.0

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

老子叫甜甜 提交于 2019-12-12 09:53:39
问题 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(

J2ME/Blackberry - get audio signal amplitude level?

我们两清 提交于 2019-12-12 09:13:46
问题 Is it possible in j2me to measure signal amplitude of audio record made by JSR-135 Player? I know I can access buffer, but then what? Target model Bold 9000, supported formats PCM and AMR. Which format I should use? See also Blackberry Audio Recording Sample Code How To - Record Audio on a BlackBerry smartphone Thank you! 回答1: Get raw PCM signal level Use menu and trackwheel to zoom in/out and move left/right within graph. Audio format: raw 8000 Hz 16 bit mono pcm. Tested on Bold 9000 RIM OS

how to check internet connection in java in blackberry

大憨熊 提交于 2019-12-12 09:06:04
问题 I want to check whether internet connection is there or not in blackberry device so that depending on the result I can call webservices to get data or upload data from my application I have tried this one CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS))) || (CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_BIS_B)) != false 回答1: If you want to check the internet connection, then send any url to the web service and check the HTTP Response. If HTTPResponse is 200 then only

PhoneGap/Cordova BlackBerry FileSystem.root always returns SD card?

梦想的初衷 提交于 2019-12-12 08:39:12
问题 I have two applications I'm loading on a BlackBerry, one is a native application, the other is a PhoneGap / Cordova based application. These two applications share a settings file: file:///store/home/user/myfile.txt To access this file via Cordova, I call: fileSystem.root.getFile("home/user/myfile.txt", null, gotFileEntry, fail); However, on some devices fileSystem.root returns the SDCard directory, not the internal memory where the file is stored, so I get a FileNotFound error. I've tried