blackberry

How to properly display videos on mobile devices?

This is a 2 part question: What is the best way to display video on mobile devices? For example if I send via SMS a URL to a video... what is the proper way to do it? Should the URL have some sort of script (question #2) to detect which device is requesting the video and then deliver the right format? If my #1 assumption is correct, w...

BlackBerry - Consuming Click Event from ButtonField

I've developed UI application in blackberry. On Button Click event I want to display result of adding two number. How to handle this event in java app of Blackberry? ...

checking Field is on Focus

Hi there are three edit field on my mainscreen i want to know which edit field is on focous. thanks alot ...

BlackBerry Library problems. (jre6 + NET_RIM_BLACKBERRY)

Hi Everyone, I'm new in blackberry environement programming, I'm developing an application for this device and there are some probs about libraries that I don't understand. I have the main project called: npoBBerry - his library is NET_RIM_BLACKBERRY (from 4.6.1 version...) it includes other two projects: Npo - his library is standar...

FTP command PASV is not responding in blackberry

Hi I need to send upload file to ftp server.'STRT' ,'USER' , 'PASS' ,'TYPE I' (FTP)commands are works fine and give the response.But PASV is not responding .Why it's not responding ? can anyone help me?? ...

unable to send email to more then one email id

Hi all I am using the below code to send the email to more then one id, but the mail is not getting delivered. Address [] toAddresses = new Address[emailto.length]; for (i = 0; i <= emailto.length ; i++ ) { toAddresses[i] = new Address(emailto[i], emailto[i]); } //Adding Rec...

How to Remove Files from the Filesystem in blackberry using Eclipse Plugin

Hello All... I have just jumped into the Blackberry development arena... I am trying one example for storing a persistence data into Blackberry file system. In that I am using following classes : import net.rim.device.api.system.PersistentObject; import net.rim.device.api.system.PersistentStore From using them I am able to persist ...

How to use RIM Api to check whether Blackberry map (or other internal applications) be installed or not on Blackberry device

Hello all, I want to know what's api support checking if BB maps be installed or not on BB device. Because I have an application on BB and I want call BB map from this application, throw error if BB map hasn't been installed yet. Thank you. ...

Dynamic context menus for a BlackBerry CLDC Application

In my custom field in a BlackBerry CLDC Application, I want to display a specific context menu based on the current state of the field. My original idea was to do something like this: protected void makeContextMenu(ContextMenu contextMenu) { if (isPaused()) contextMenu.addItem(resumeMenuItem); else contextMenu.addItem(pauseMenu...

where is BlackBerry JDE v4.7 Component Pack for eclipse ?

i m not able to find BlackBerry JDE v4.7 Component Pack for eclipse to install as archive in eclipse. can any1 help in findinf the zip file for BlackBerry JDE v4.7 Component Pack ...

Is there some API on BlackBerry for "smooth" image resizing?

To get image thumbnails on BlackBerry I use EncodedImage.scaleImage32(). It works Ok, but when I open native image viewer (from the Camera app) I see the difference in quality - native viewer thumbnails look nice (smooth, anti-aliased), while mine are a bit ugly. Looks like native viewer resizes images using some filter (bicubic or smth ...

how to get BBmessenger contact list ?

i am trying to read the blackberry messenger contact list into my application , i havenot find and example of using Invoke to do that . any ideas ? ...

How to close Blackberry map programmatically

Hi all, please help me close Blackberry map programmatically from my application. I first call BB map and pass a map argument and it display seem smoothly, but in the second, when I change my map argument, BB map doesn't respond with the new argument, it keeps the old. I think I must close it before pass the new argument but don't know h...

Plugins to Blackberry media player

Does Blackberry media player (the built-in one) allow any 3rd party plugins? I am thinking to add a forward/backward 5 seconds function. ...

java.io.IOException: Bad DNS address - in opening a HttpConnection

Hi, I m opening a HttpConnection to a URL. Its working in simulator but when i try it in device, it gives "java.io.IOException: Bad DNS address" while opening the HttpConnection. I serached the forums but havent got the solution yet. That URL is opening in Blackberry device Internet Browser but not getting the HttpConnection (HttpConne...

Blackberry: Passing KML file to Google Maps

I want to know that can I pass KML as a string to google map application? Code snippet: //KML String String document = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><kml xmlns=\"http://www.opengis.net/kml/2.2\"&gt;&lt;Document&gt;&lt;Folder&gt;&lt;name&gt;Paths&lt;/name&gt;&lt;open&gt;0&lt;/open&gt;&lt;Placemark&gt;&lt;LineString&gt;&lt...

Compiling a BlackBerry app in Eclipse with JDK 4.2.1

Im trying to make an app compile in Eclipse with the BlackBerry JDK 4.2.1. As there is no plugins for this JDK version, I wrote my own definition file (.ee) based on the JDK 5.0 pointing to the 4.2.1 folders (as here). When using version 5.0 the app compiles ok, but when using the 4.2.1 version, I get this cryptic error (about rapc.exe):...

Bruteforcing Blackberry PersistentStore?

Hello, I am experimenting with Blackberry's Persistent Store, but I have gotten nowhere so far, which is good, I guess. So I have written a a short program that attempts iterator through 0 to a specific upper bound to search for persisted objects. Blackberry seems to intentionally slow the loop. Check this out: String result = "result...

Alternative to Plist file(iphone) in blackberry application

Hi, I have a iphone application developed, and now i want to replicate the same iphone application on blackberry. In the existing application iphone application, we have the plist file, where we maintain certain values like server address, map url etc. All default values are saved in plist. Please can you give me an alternative similar...

Access camera in blackberry application

hi, i am developing an application for blackberry which will take snap from camera and post this image to server.Can someone provide code for me to how invoke camera and take picture and send it to server.? Thanks in advance ...