blackberry

How to update screen in blackberry?

孤人 提交于 2019-12-24 01:38:09
问题 i am developing one app. and i am facing a problem related to updating the screen,which is already in stack.I tried to use myappscreen.invalidate() on button click,but it doesn't update screen. Please help me to solve this problem. 回答1: Is your screen the active screen? To redraw the active screen, you should just need to call the invalidate() method to cause the screen to refresh. Where are you calling invalidate() from? You cannot call invalidate() from a Timer thread unless you have got an

How to update screen in blackberry?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 01:37:58
问题 i am developing one app. and i am facing a problem related to updating the screen,which is already in stack.I tried to use myappscreen.invalidate() on button click,but it doesn't update screen. Please help me to solve this problem. 回答1: Is your screen the active screen? To redraw the active screen, you should just need to call the invalidate() method to cause the screen to refresh. Where are you calling invalidate() from? You cannot call invalidate() from a Timer thread unless you have got an

how to implement google analytics in blackberry?

不想你离开。 提交于 2019-12-24 01:11:09
问题 I'm creating a blackberry application. i need to use google analytics to track usage of my application. Is it possible to implement google analytics( or any other similar to google analytics) in blackberry? any specific sdk? 回答1: Google dosen't seems to provide one. But RIM is providing one, it's not Google, but it should do the job. You could try to use Analytics SDK for Android, but I don't think it's gonna work. 回答2: You could try the approach suggested in Displaying ads in your mobile AIR

BlackBerry - Fun with FieldManagers

 ̄綄美尐妖づ 提交于 2019-12-24 00:59:45
问题 I am trying to make a View class that provides a Horizontal or Vertical layout depending on how it is created. I'm using a delegate to achieve this. class View extends Manager { private Manager mDelegate; public View(Manager inDelegate) { mDelegate = inDelegate; // the delegate is the only child of "this" manager. super.add(mDelegate); } public void add(Field f) { // all other children go into the delegate. mDelegate.add(f); } // other methods that also delegate } When I instantiate a View

Open source augmented reality framework for BlackBerry

微笑、不失礼 提交于 2019-12-24 00:50:03
问题 Anyone know any open source framework for augmented reality in BlackBerry or a good tutorials for creating an augmented reality application from scratch? 回答1: Here is an interface prototype for the free LayarPlayer for third party BlackBerry7 apps: https://gist.github.com/1219438. Not sure if Wikitude will have a lib or not. If you wanna roll your own AR lib (not recommended, unless you have tons of time and energy) OpenGL ES is platform independent, just use ComponentCanvas for overlaying it

How to make Ant build for my BBM application with native BB jar

半世苍凉 提交于 2019-12-24 00:48:38
问题 I am trying to use BBM in my application,I want to make the ant build for it Bascially there is an implementationBBM a library project,and it in it i am adding the JAR file,and i want to make the ant build for this library application from my main CLDC application ant build file, <?xml version="1.0" encoding="UTF-8"?> <project name="Building project" default="build" basedir="."> <property name="jde.home" value="D:\Eclipse3.6\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components" />

How to debug playbook simulator?

你。 提交于 2019-12-24 00:31:20
问题 I've converted my Android app to a playbook bar; it works (with a lot of graphical bugs); however I'd like to know if it is possible to debug the software while it's running. Of course, I don't ask for the "luxury" of an adb equivalent, but at the very least, I'd like to get some printf. 回答1: You can use the standard Log.d("Tag", "Message text"); logging methods and watch the info in LogCat, as well as set a breakpoint and start debugging in Eclipse. I just verified it, the breakpoint was hit

What Version of WebKit is included in Blackberry WebWorks?

五迷三道 提交于 2019-12-24 00:29:09
问题 All I can find is that is WebKit, which is useful because BBOS5 doesn't even have that! But a specific version would be better. (I'm trying to get PDF.js to work and would like to know if I should just give up. :/) 回答1: If you are really asking about the version of WebKit in the different BlackBerry devices, go check our repositories at http://github.com/blackberry. There are 3 different repositories: WebKit-BB10 WebKit-PlayBook WebKit-Smartphone 回答2: The BB OS 5 Browser is not a WebKit

Blackberry way to store audio and video into sqlite?

隐身守侯 提交于 2019-12-24 00:14:14
问题 I want to make a blackberry app. which will store audio and video files into the sqlite database. Does blackberry have a special api for this? (special classes for byte[]) Can I store files into sqlite on blackberry? 回答1: Sure can. Have a look at using BLOB in version 3+. Why you'd want too instead of using links to the content, well, that's up to you and the particular application you're looking to create of course. Here's a good development guide from RIM on working with SQLite on the

How to set different simulator in BlackBerry - Java Plug-in for Eclipse?

我的未来我决定 提交于 2019-12-23 23:27:03
问题 I have downloaded & installed BlackBerry - Java Plug-in for Eclipse . It is launching default simulator ( BlackBerry Bold 9930 ) when I try to run an application. But I want to run the application with another simulator (e.g. BlackBerry Torch 9800 ). How should I switch to that simulator? Is there any configuration changes or any new installation required? 回答1: If the desired simulator installed (e.g. Torch 9800), then it is possible to change the run configuration and make the simulator as