blackberry

Blackberry Development Platforms

Hi There, I was wondering about the pros and cons on the different Blackberry development environments. I am trying to decide whether to use Visual Studio or Eclipse. Your thoughts are appreciated Tony ...

Can a blackberry HTTP request error out immediately if there's no connection available?

I have an HTTP connection, opened by HttpConnection c = (HttpConnection)Connector.open(url); where url is one of: http://foo.bar;deviceside=false http://foo.bar;deviceside=false;ConnectionType=mds-public http://foo.bar;deviceside=true;ConnectionUID=xxxxxxx http://foo.bar;deviceside=true;interface=wifi Is there any way to cause the...

Blackberry - app not showing up on the simulator

Hi I am using the Blackberry SDK 4.6 eclipse plugin to create applications. My apps were running fine till some time back when testing on the simulator. Then I ran the clear.bat to remove all applications I had added. Now whenever I try to compile and run my app from eclipse, it does not show up in the simulator. I tried creating the w...

Does blackberry provide a css library for custom web apps like iPhones UIKit?

Hi does anyone know if Blackberry provides a set of standard css to create web apps on a blackberry browswer? I guess blackberry equivalent of what the iPhone provides to make iPhone web apps look customized for an iPhone. Thanks, Joe ...

Accessing the 'Media' directory of a Blackberry within the JDK

Trying to use JSR 175 to access media saved under the '/home/video/' directory on the device. Using Blackbery JDK 4.6.1. Single line of code throws a 'filesystem io error' exception. Which is, as usual, unhelpful in the extreme. fconn = (FileConnection)Connector.open("file:///home/user/videos/"+name, Connector.READ); Has anyone trie...

Any good tutorials on creating blackberry web and native applications?

The tutorials for creating blackberry applications seem to be severely limited. Even on the blackberry site the samples aren't very good. I want to learn about building a user interface with form objects like text boxes, drop downs, and buttons. ...

Scrolling problem in Blackberry application

Hello, I am not able to scroll through the application screen using trackball. I am using Blackberry Pearl 8100 simulator. Please help. Thanks in advance. ...

Sending data in HTTP request's body fails

Hi I am using the HttpConnection class of J2ME in my BlackBerry app to send data to a web server. I need to send the contents of an image in the body of the HTTP request. This is what I do Get the bytes of the file in an array Open HTTP connection Set content type header as image/jpeg Get output stream of the connection Write the byt...

Best Practice for killing a JavaME 1.2 thread?

Question: I'm interested to know the best practice for killing a long standing operation that is running as a background thread (lets call this thread WorkerThread) in Java 1.2. Scenario Specifically, I'm developing an application for Blackberry devices whereby I make a HTTP connection. Big picture: a URL request if forwarded to a back...

Why does google.com look different on blackberry & phonegap vs. blackberry & browser

I'm tyring to get phonegap up and running on blackberry storm (9530 simulator). I had been testing my webapp from withing BB's built in browser, and it was looking ok, but then it totally bit once I tried to look at the some code from within phonegap, even though I was pointing phonegap to the same url (I hadn't yet gotten to the point ...

Error : The type Class is not generic; it cannot be parameterized with arguments <T>

Hi I am using Blackberry plug in for eclipse. Default jre setting is 1.6 I am getting following error which doesnt allow me to compile my .java file : The type Class is not generic; it cannot be parameterized with arguments Please help. ...

Blackberry - How to add third party zip files to project in Eclipse?

Hi, I am trying to add a third party zip file to my project while using Blackberry plugin for eclipse. Whenever I build the project,the zip files disappear. Is there any way to compile the project with third party zip files? Please help. ...

How should I strip invalid XML characters from a stream in J2ME? org.xml.sax.SAXParseException: Invalid character

This code is running on Blackberry JDE v4.2.1 It's in a method that makes web API calls that return XML. Sometimes, the XML returned is not well formed and I need to strip out any invalid characters prior to parse. Currently, I get: org.xml.sax.SAXParseException: Invalid character '' encountered. I would like to see ideas of a fast w...

How to implement Bouncy Castle Rsa encryption in Black Berry Application

Hi, Can anyone provide me feed back on How to implement Bouncy Castle Rsa encryption in Black Berry Application Thanks, Bapi ...

Blackberry - application signing

Hi From what little is available on the Internet for signing BB apps, I can guess that we just need the .cod file for signing an app and don't need the source code. Can someone please confirm this? Thanks. ...

SQLite for blackberry

Hi , Is sqlite available for blackberry?.Is any other option available other than that .... ...

How-to enable auto-capitalization, punctuation, text functionality in Blackberry app text Fields?

I'm using RIM JDE 4.2.1 I'd like my text fields to auto-capitalize the first letter of sentences, add punctuation at the end, and reference the AutoText DB on the device. It seems like this would/should be a Field type in the API but either I'm missing it or it's just not there. For reference, the API is located here: http://www.black...

TransformerFactory in BlackBerry ?

How do I use TransformerFactory in BlackBerry for XML creation? Java has TransformerFactory method. But BalackBerry does not. ...

BlackBerry external jar

Hi, I am using JDom jar and i want to add to my blackberry project . I am using eclipse plugins for blacberry. while building blackberry app from eclipse the error is displayed on the console as "JDOMAbout$info:error!missing stack map @label.... " rapc falied for the project along with this several warnings are also displayed ... so...

Blackberry storm touchEvents

Hi There, Ive ported an Blackberry 4.6.0 application over to the storm on 4.7.0. All is working fine apart from the touch events i'm trying to control. I trap touch events in the method below which does as its supposed to but the problem is after my logic in the touchEvent executes and return the Menu (thats activated via menu button) is...