blackberry-widgets

Blackberry Widget development - VS.NET or Eclipse?

Hi, Does anyone have any recommendations on what development environment should be used for the new Blackberry Widget development? The reason that i'm asking is that i currently use the Java Plugin for Eclipse rather than the Visual Studio RAD plugin because the Visual Studio plugin doesn't give you access to most of the API functional...

How can I create a JavaScript Blackberry Widget Extention?

In a recent blog post announcing Blackberry Widgets the following was said about getting Java library functionality in a Blackberry Widget (emphasis added by me): What if RIM doesn't provide me with the JavaScript API I am looking for? RIM will continue to add new JavaScript APIs for BlackBerry Widgets. Most will not requi...

How to create EditField Which accept only text in Blackberry?

How to make EditField which accept only alphabets and it should accept any Numeric and any special character in blackberry. ...

How to iterate through Blackberry Resource fie?

Hi all, How to iterate the keys in a Resource fie (.rrc) in a loop & how do I get the length or the no. of elements in the resource file, I mean the end of the file ? ...

Integrating JQuery for use with Blackberry Widgets

At the WES 2009 event RIM announced that they were almost 100% tested with using JQuery in Widget development, does anyone know how this works? I've tried following the demo from their site and added the following: <head> .... <script type="text/javascript" src="jquery-1.3.2.min.js"></script> </head> <body> .... <a href...

Blackberry Widget vs Java SDK

Hi, I am a newbie to this forum,I was going through the documents of both Blackberry Widget and Java SDK. I have the following doubts to get clarified:- 1) Advantages and disadvantages of Java SDK and Widget SDK? 2) When to go for Java SDK and Widget SDK? 3) Both Java and Widget applications require the latest blackberry OS 5.0? OR w...

render html page in verticalfield manager but with font size configurable

Hi, i'm developing an application for blackberry, where i need to render html page and page content should be configured according to VerticalFieldManager, means whole content should be displayed without scrolling either Horizontal or Vertical, font size, image size, all should be displayed. Please help me in this issue. ...

Blackberry.location API not working correctly

I am experimenting with making Blackberry widgets but having a little trouble. My first trial involves displaying a button which, when clicked, calls a JavaScript function that should alert the phones latitude and longitude. The function looks: function whereAmI() { var latitude = blackberry.location.latitude; var longitude = blac...

Good starting points for blackberry widget development

Which good resources for starting widget development for blackberry do you have? Are there any tutorials that go further then a hello world? Advices on how to structure your app how to integrate second party java-script libraries something like this? Sadly the rim documentation is nearly non existent. ...

How to debug a blackberry widget?

I'm trying to debug a blackberry widget with eclipse but the solution described in this blackberry pdf does not work. Has anybody debugged a widget for blackberry yet? ...

Good Resources for difference between different mobile widget platforms?

There are a couple of good open source apps for WebOS that I would like to try porting to blackberry using the widget SDK. Has anyone else attempted this? Has anyone found a side-by-side comparison of the differences in what it takes to make an application using these two methods? ...

How do I show a requirement for OS 5 in my Blackberry widgets?

I am developing a Blackberry widget application, which I know requires OS 5. Now, I'm using OTA installation, but when a user without OS 5 loads the .jad file, they get an exception like: This application requires the following modules which are not installed: net_rim_bb_browser_field2_api net_rim_bb_web_jse_api net_rim_networkap I w...

How to use Different font for LabelField like Arial,TimesNewRoman in BlackBerry

Hi friends I am using LabelFields to display text message in a screen i want different fonts each LabelField but when i am using api fonts of blackberry using FontFamily fontFamily[] = FontFamily.getFontFamilies(); Font font2 = fontFamily[0].getFont(FontFamily.SFF4_FONT,18); is showing bold style how to use different font styles plz ...

problem in arresting landscape orientation in blackberry widget

Hi I tried following code to arrest landscape orientation in blackberry widget in vain I altered widget.java file found under Widget SDK packager/device_templates int directions = net.rim.device.api.system.Display.DIRECTION_PORTRAIT; net.rim.device.api.ui.Ui.getUiEngineInstance().setAcceptableDirections(directions); But s...

how can I display geoTIFF images in a blackberry widget or should I choose a different format?

I am writing a blackberry widget to access and display a database of geocoded satellite images. The images are currently in the geoTIFF format, which doesn't seem to supported by the BB browser (or chrome). I've spent a while trying to find support for displaying TIFF images, but the BlackBerry documentation and knowledge base is not tha...

viewing images in a map interface on a widget

Hello, I am trying to build a blackberry widget which is primarily used to view satellite images. I would like to be able to view these images in a map interface for zoom and simple overlays. I am wondering what my options are for doing this. The images are currently being served over WMS, but that can change. Can I view these images (...

BlackBerry Widget application - GPS location is always 0,0

I am trying to get the GPS location in a widget application on a blackberry, but the API always returns a latitude and longitude of 0,0. Simulator: storm 2 (9550)/ bold(9700) and OS: 5.0/5.0 IDE:Eclipse the html page code as below: var modeCellsite = 0; var modeAssisted = 1; var modeAutonomous = 2; function locationChanged() { ...

Access email client from a web app for iPhone/Blackberry

Can we access the native email client from an iPhone web app, or a BlackBerry web app? ...

BlackBerry Widgets SQLite example

I am having trouble getting SQLite to work with my BlackBerry widget. I found a demo online, and I tried to copy it, but it didn't work as well. I put bits and pieces of information together, but somehow I can't get things to work properly. Fist of all: <script type="text/javascript" src="/js/html5_init.js" id="html5_init"></script> ...