blackberry

Best practices or patterns for writing unit test results/reports to text file as well as to console

Hello Stackfolks, We have our own unit test framework for blackberry application. And now we need to generate unit test report in text file, before we were just printing on console. CommandController.java - Sends commands to blackberry simulator and receive response in string format. It displays which commands has sent to simulator an...

find out whether an email was BCC'd to me - Blackberry

My Application requires me to find out whether an incoming email was BCC'd to me or am i the direct(to,cc) recipient. I have used the SendListener and the Address class but i am still clueless how to get what i need. Any lead would be appreciated. Thanks n Cheers ...

How can I show a textbox on my BlackBerry application?

How can I add a textbox so a user can enter numeric values into my form? I need the borders of the textbox control to be visible at all time. Thanks. ...

Hiding the keyboard when a control loses focus?

now I have this: public void focusChanged(Field field, int eventType) { if ( field == txtAmount && eventType == 1) { getVirtualKeyboard().setVisibility(VirtualKeyboard.HIDE); } } Now my problem is that the keyboard isn't hiding. I think the error is in the eventType parameter. What number identifies a Lo...

Positioning animated image frames

I have a field which extends BitmapField (called AnimatedGIFField) and an AnimatorThread (extending Thread) which does the work of looping through the GIF frames, incrementing the current frame and invalidating the field, which calls the paint() method to draw the next frame (resulting in animation). The animation code works fine, but m...

find specific event in calendar

i want to first get a list of all calendar events and then find a specific event Enumeration eventList = (PIM.getInstance().openPIMList( PIM.EVENT_LIST, PIM.READ_ONLY )).items(); but it's not working please guide me how to achieve this . ...

json parsing error?

can we use json with Blackberry jde 4.5 pls help me ...

json parsing Problem?

hi to all i am new on Blackberry. i am implementing a web services related application. data comes in JSON format when ever I'm parsing those data it will show me a error "configure build". pls help me what it is?// ...

Custom buttons aren't displaying on my UI.

I'm creating a simple blackberry application for testing purposes and my custom buttons do not show on the UI of the simulator. I've created a custom button called CustomButtonField and here is the code: package test.expense; import net.rim.device.api.ui.Field; import net.rim.device.api.ui.Graphics; public class CustomButtonField ext...

How can I see a list of fonts available in my blackberry?

Right now I'm setting a font to my application, but I was just following an example. How can I know what fonts I have available to me? FontFamily alphaSansFamily; try { alphaSansFamily = FontFamily.forName("BBAlpha Serif"); Font appFont = alphaSansFamily.getFont(Font.PLAIN, 9, Ui.UNITS_pt); setFont(appFont); } ca...

FFMPEG libx264 2-pass for smartphones

I use the following ffmpeg command to convert a video for smartphones. It works for Droid x and Iphone4, but not windows media player nor the older version of droid. Can anyone shred some light? Those droids works with Youtube h264 codec. But somehow doesn't play the video of my encoded mp4 (the audio plays just fine). ffmpeg -y -i ...

Blackberry 9800 Simulator Crashing When Launching Browser

The Blackberry 9800 simulator is crashing when launching the browser, throwing JVM Error 104: Uncaught IllegalStateException. This is a clean install of the simulator with no 3rd party applications installed to it. I strictly wanted to use it for testing web applications. All other applications on the device seem to work withou...

Rendering button event on parts of the screen?

Hi I am new to Blackberry.I have a Bitmap which is used as a homescreen and it contains four stages.I want to make these stages as Buttons.I am developing the application in storm version.How can I implement these parts of the screen as Button events?Any answers appreciate. ...

how to view pdf files in blackberry?

Can anyone tell me how I can show pdf files in blackberry? I have tried the jpedal library for java-me but, there are some errors. Can anyone solve my problem? ...

is it possible to use swing/awt with blackberry/j2me?

hi just want to know that if i can use swing/awt component with blackberry or j2me. if yes how can i plugin it into eclipse. ...

How to send an email once a user completes a form in blackberry application?

I have built a blackberry application that allows a user to fill in information in some fields. Upon submit I want an email to be generated to me with that information filled. What is the best and simplest way of doing that? Thank You ...

BlackBerry Browser (4.5) refuses to cache CSS. Is there a workaround?

I develop an internal web application for my company. It is used by our field technicians, all of whom carry a BlackBerry 8330 running 4.5. I would consider myself fortunate to have such a consistent target platform, if it wasn't BB 4.5... I've noticed a lot of request overhead in loading the site, and know that if only my CSS resources...

Outlook exchange solution

I'm searching for a exchange outlook soulution for my company ... ive find codeTwo company, with there software: http://www.codetwo.com/public-folders/ , for syncing calander .. and its great product, but if someone have a better solution / idea ( better software for lower price) or something like that it would be great. Btw, it need t...

Blackberry Slider

Hi, I'm interesting in having a draggable slider in my BB app . I'm wondering if there is something like this in the blackberry api, or if anyone has done something like it ! ...

Blackberry Bluetooth Development Help

Hello everyone, I've been stuck since several days on my bluetooth application. Its role is to receive data from Bluetooth devices, using Serial Port Protocol ... The application runs in the background of the phone and devices, when they need to send an information, turns on the bluetooth and try to send a data frame. The problem is th...