blackberry

load images dynamically on scroll in blackberry

How to display images in the form of pages where only one page is displayed at a time on blackberry screen. On scrolling down subsequent images will load at run time. So that loading of images do not consume time at startup. Edit: I am using loadimage function which loads images from blackberry device memory which loads images from spec...

BlackBerry - SVG (JSR 226) or OpenGL ES (JSR 239) charting library

Does anyone know of a library to display charts and graphs natively on blackberry devices ? There are quite a few javascript (Flot...) charting libraries but I'd rather use something similar to Coreplot on iPhone if it is possible. I didn't find anything on top of SVG (JSR 226) or open GL ES (JSR 239) so any help is appreciated. Ideally...

Gmail smtp, Blackberry, BB, socketConnection, send email via gmail smtp programmatically

Hello! Somebody can help me how can i use the gmail smtp server programmatically via socketConnection. My question is how i can write write a TSL/SSL authentication because i can`t communicate with the server?? Somebody did it from java on blackberry ? Thank You Alex ...

What image format is fastest for BlackBerry?

I'm trying to load some images using Bitmap.getBitmapResource(), but it takes about 2 or 3 seconds per image to load. I'm testing on the Storm, specifically. The odd thing is, when I install OS 5.0, the loading goes in a snap, no delay at all. Should I be looking at the format used? Or where the files are stored? I've tried both 24-...

application wont start or load in blackberry simulator

Hello all I'm developing an application on two different machines (home and work) and while the home one seems to run just fine, the work one is, for lack of a better word, possessed. It has been exhibiting the following issues: When loading the application, it will start at the simulator's main screen instead of starting the applicat...

Message Oriented Middleware for Mobile Device Development

I would like to write a application for mobile devices (blackberry and android). Is there a (free) client to connect to a MOM? The MOM should guarantee message delivery even if the connection is closed and reopened. We thought about using jms, but is there a free client that works on these platforms? XMPP could be another alternative. ...

J2me Blackberry Numeric Input

Hello, I am developing a blackberry application using j2me and LWUIT (blackberry port). Everything works great except for the TextField in numeric mode. Basically when you have focus on the TextField you have to first go into "NUMERIC" mode (by pressing alt + aA) in order to input, which is not user friendly and a problem. The propose...

"pushModalScreen called by a non-event thread" thrown on event thread

I am trying to get my Blackberry application to display a custom modal dialog, and have the opening thread wait until the user closes the dialog screen. final Screen dialog = new FullScreen(); ...// Fields are added to dialog Application.getApplication().invokeAndWait(new Runnable() { public void run() { Application.g...

Problems serving video data to iPhone/Blackberry/PalmPre

I have a small script that I am try to port to work for serving video data to the iPhone/Blackberry/PalmPre etc. The code is ridiculously simple: $type = "video/3gpp"; /* get mimetype from db */ $fileid = "0001"; /* File path from db */ header( "Content-Length: " . filesize( $fileId ) ); header( "Content-type: $type" ); readfile( $fi...

Blackberry - View similar to Blackberry Messenger, MSN or Gtalk

A View with expand and contract list where you show, for instance, Chats, Contacts, Groups. You click on of them and expands to a list of Chats and each element of the list is a Rectangular box with User defined image, name, status (offline, online, busy) as an image and status message. How can i program a view as described? thanks in ...

How could i avoid the SAVE dialog in my custom blackberry Application?

Hi Everybody, I am writing a blackberry application and pushing screens one after another(three in series) Screen1 displays Screen2 and Screen2 displays Screen3 When i press "Back Key" on my Blackberry Device i.e., bold 9700, its prompts a dialog box with Question mark image and buttons "Save" "Discard" "Cancel". Why does this dialog...

Blackberry RichTextField preferred height during layout

This is using the Backberry JDK (5.0 if needed). I have a custom Manager that contains a RichTextField. I want the height of the field to vary by the amount of text in the RichTextField. The sublayout code looks like this (rtf is a RichTextField object): protected void sublayout(int width, int height) { int h = rtf.getPreferr...

Launch Documents To Go app from third party Blackberry App

I was wondering if it's possible to open doc, xls, pdf, etc files using the "Documents To Go" app from a third party blackberry app. ...

Blackberry - Estimate port of Android app with GPS and Google Maps

Lets say I have an Android app that uses Google Maps and GPS.Uses custom views and timers. How much time will it require to develop it for Blackberry? What changes will be required? Can the UI be reused? I am totally new to Blackberry, though I know Java. Please help me estimate the time. ...

Blackberry - Player with custom data source

Hello I must create a custom media player within the application with support for mp3 and wav files. I read in the documentation i can`t seek or get the media file duration without a custom datasoruce. I checked the demo in the JDE 4.6 but i have still problems... I can't get the duration, it return much more then the expected so i'm su...

Error when updating BlackBerry JDE Plug-in for Eclipse (v5.0 Beta 3) ?

I tried to update Blackberry JDE plug-in for eclipse from v4.5 to v5.0 Beta 3. I followed the instructions in this page: http://na.blackberry.com/eng/developers/devbetasoftware/updatesite.jsp but unfortunately I got the following error while updating: An error occurred while collecting items to be installed. No repository found...

Twitter APIs for blackberry implementation

Hi friends, I am trying to implement the blackberry application which will help the user to update his status through application. Its like user will enter the username, password and status it will update his status on twitter. I have seen Twitter API docs but didnt understood how to start. It has many things like application registra...

differentiate same class name in two diffent jar files

I am developing blackberry application using BlackBerry JDE 5.0.X , in which i am using JSONOrg to parse json response now JSONOrg has few .java file which is using java.lang.Class from rt.jar file. so now the problem is BlackBerry JDE also has its version of java.lang.Class in net_rim_api.jar (which is a dependent jar file for BlackBe...

BlackBerry - MainScreen with labels vertical scroll

I am trying to create a MainScreen with vertical scrolling. From what I've read in the documentation, MainScreen has a VerticalManager inside, so it should be possible to enable vertical scrolling only with proper construction, i.e: super(MainScreen.VERTICAL_SCROLL | MainScreen.VERTICAL_SCROLLBAR); This is not working for me, however....

BlackBerry - Scrolling fixed size text edit with static label on the left side and border

Hello everyone I am new to blackberry and I want a textfield that scroll it's text i.e greater than the preferred width horizontally , also able to show label out side the text draw area ( e.g. on the left side). Please help me. ...