blackberry

BlackBerry - How to send image as a attachment

Hi all i am new to this technology. i have configured ESS server with Microsoft Outlook for sending email from simulator. But i am not able to send image as a attachment from simulator to outlook. html attachement is working fine. Should i configure BES server with Microsoft Exchange for testing the image attachment. is it possible....

Altering the menu items of camera

Hi all I am invoking camera from my application. i want to remove few menu items that is provided by the camera application. how to do that. Thanks alot ...

ButtonField click event

Hi all i am not implementing touch event. i am using FieldChangeListener the problem which i am facing is , if i am clicking outside the CustomButtonField then also the click event is generated how should i restrict only to the CustomButtonField. Thanks alot ...

Enterprise Native Mobile Application Development

I tend to believe that developing mobile applications in an enterprise environment is best suited by developing intranet web applications. That said I have been asked to think about whether there are specific enterprise applications that could only be accomplished or would be more successful as native applications. I am curious as to wha...

How to figure out which key was pressed on a BlackBerry

What I want: To know when the user has pressed the button that has the number '2' on it, for example. I don't care whether "Alt" or "Shift" has been pressed. The user has pressed a button, and I want to evaluate whether this button has '2' printed on it. Naturally, if I switch devices this key will change. On a Bold 9700/9500 this is th...

please tell me how i can paint the whole screen in a rimlet?

i am developing a blackberry app. i want to paint the screen. i have implemented this VerticalFieldManager hfmBg = new VerticalFieldManager(Field.USE_ALL_HEIGHT ) { protected void paint(Graphics g) { g.setBackgroundColor(Color.SILVER); g.clear(); ...

How to stop video player in Blackberry?

Hi, I created one blackberry application which will play a video on a button click.This is my code, invocation=new Invocation("file:///SDCard/Blackberry/videos/PlayingVideo/funny.mp4"); registry=Registry.getRegistry("net.rim.device.api.content.BlackBerryContentHandler"); try { ...

BlackBerry Menu Button Maps to Select Option

Menu pops up , when the menu button is clicked. The first menu in the list is selected or highlighted Then , on clicking the menu again, the selected menu is clicked , instead of expected behaviour of menu going down Why does this happen ? Scenerios tested In J2MEPolish 2.1.4 and 2.1.2, this behaviour is seen, but in J2MEPolish 2.0.7 ...

how to get contacts.

How to get phone contacts in Blackberry jde and Open all images in a popup Screen select any one of the image from the popupScreen. ...

BlackBerry SDK 5.0 Issue

I developed a Hello World application using Black Berry Eclipse plug-in. When I rant it on any BlackBerry simulator of which platform version is greater than or equal to 5.0 then the Hello World application is not found listed in the default application list. However, I can run the application from Options > Application : Search (Thridpa...

SupportedAttachmentPart issue

Hi all i am sending a image as a attachment my code is :- JPEGEncodedImage jpegImage = JPEGEncodedImage.encode(image,100); status.setText(jpegImage.getMIMEType()); sap = new SupportedAttachmentPart(mp,jpegImage.getMIMEType() ,"x-rimdeviceimage.jpg",jpegImage.getData() ); i am receving a mail with text body in outlook which i...

How do you save images to a Blackberry device via HttpConnection?

My script fetches xml via httpConnection and saves to persistent store. No problems there. Then I loop through the saved data to compose a list of image url's to fetch via queue. Each of these requests calls the httpConnection thread as so ... public synchronized void run() { HttpConnection connection = (HttpConnection)Conn...

How to pick image path?

How to pick image path in Blackberry without using a file picker class? ...

how to view image stored in phone gallery using BlackBerry JDE

I need to access and use the image from blackberry phone memory and I use that in my application. Can anyone help me ?? ...

BlackBerry: define direction of Scroll or Focus change

Does BlackBerry provide any functionality to track focus or scroll change direction? On our UI we have a horizontal tab bar, and under that a list. If the user has navigated far down the list and decides to click another tab, it is difficult to get the focus back on the Tab control. The user must scroll up to the first list item and t...

Record the call

Hello everybody!I want to develop a project that I can record the call on blackberry.But I only record the vioce from micphone. ...

BlackBerry - Convert EncodedImage to byte []

I am using below code where i don't want to use JPEGEncodedImage.encode because it increases the size. So I need to directly convert from EncodedImage to byte array. FileConnection fc= (FileConnection)Connector.open(name); is=fc.openInputStream(); byte[] ReimgData = IOUtilities.streamToBytes(is); EncodedImage encode_image = Enco...

Most cost effective way to target multiple mobile platforms

Hi I have been given the tasks of speccing a mobile application, which will need to run on approx. 1000 devices. These devices already exist, and consist of iPhones, BlackBerrys, Androids, Windows Mobile and Netbooks. The application will have simple reporting capability, and a collection of forms. Anyway, the obvious solution would be...

Is there any language other than Java that will work as ubiquitous on mobile?

I'm trying to write a rogue-like game for my blackberry and hopefully any other phone that supports some sort of JVM. Because I use Java in my job I'm looking to write the game in another language but I cannot find a language that will work on multiple phones. Am I stuck with Java? ...

ObjectListField with image in Blackberry JDE

I need to add ObjectListField with image in Blackberry JDE ...