blackberry

How do you word wrap a RichTextField for Blackberry

I've been trying to modify a rich text field to display correctly in its half of the horizontal field. The goal is this: --------------------------- | address is | ***********| | very long | ** IMAGE **| | state, zip | ***********| --------------------------- Where address is a single string separate from the city and zip. I am modif...

Setting Http Headers in blackberry application

I have set the header as c.setRequestProperty("Content-Language", "en-US"); in BB app and i am reading it on server as Request.ServerVariables("HTTP_ACCEPT_LANGUAGE"). But i am getting a null value. What may be wrong? ...

test automation tools avaiable for blackberry and iphone

Hi, I am new to mobile test automation. Kindly suggest test automation tools available for blackberry and iPhone. ...

close camera application in blackberry

I need to close camera when a file is taken from camera. I invoke camera by Invoke method and added FileJournalListener and then use Inject.post. But it si working fine in simulator and but not working in actual device. any Idea. ....... case FileSystemJournalEntry.FILE_ADDED: filepath=path; Ev...

how to get mobile date and time in blackberry

I need to get device date and time using DateField. ...

Where can I download the RIM Blackberry 6.0 SDK?

Where can I download the RIM Blackberry 6.0 SDK? ...

Is it possible to implement a lightweight database using Blackberry Persistance options?

First I would like to explain why I want to use alternate Blackberry Persistance options rather than a Blackberry database itself, say SQLite. The reason is that the application i'm designing, I want it to be used in all the previous versions of Blackberry rather than just the ones having OS 5.0 or greater. Now, coming back to the actua...

Suggest books/learning path for writing smartphone apps

I have been writing a lot of HTML, CSS, PHP, MySQL and JavaScript lately working on a website, and I would like to move on to 'proper' OOP with an eye to making smartphone apps. I would like to at least cover iPhone and BlackBerry, which means learning Objective C, Cocoa and Java, before learning the specifics of interacting with the de...

Blackberry custom slideshow-style BitmapField manager

Right now, I'm trying to figure out how to implement the following: Suppose I have a custom Manager that has about 10 or so BitmapFields layed out in a horizontal manner (similar to a slideshow contained in a HFM ) . What I want to achieve is to be able to move the image HFM via touchEvent horizontally, where a BitmapField would take fo...

Is it possible to take a picture from a smart phone in the browser and save to database?

I have an application that saves a user's webcam image using a pc/mac browser. Is there a way to do the same thing using smart phone cameras within the browser? I'm not really sure where I would begin. A google search didn't give me many leads. All the best, ...

Problem with the showing web page in blackberry storm and blackberry bold?

i am working on a application where i have image onwhich when u click it gets navigated to browser witha link but with the code. but it dont display web page. now i need a code for just displaying a simple web page in blackberry.. is it something to do with simulator and device as i am working with simulator.So kindly help me with it.......

Blackberry - ListField with images from filesystem

I use the following code to retrieve image from the phone or SDCard and I use that image in to my ListField. It gives the output but it takes very Long time to produce the screen. How to solve this problem ?? Can any one help me?? Thanks in advance!!! String text = fileholder.getFileName(); try{ String path="file:///"+fileholder.getPat...

scaleImage32 is throwing error out of memory when crossing bounds to 1800,1800 in blackberry

EncodedImage.scaleImage32 is throwing error out of memory when crossing bounds to 1800,1800. Is there any work around for the same. public EncodedImage sizeImage(EncodedImage image, int width, int height) { EncodedImage result = null; int currentWidthFixed32 = Fixed32.toFP(image.getWidth()); int currentHeightFixed32 = Fixed...

Changing the received date header in a new Message

After creating a new Message, two headers are automatically placed into the message -- the first Date header is set to the creation date of the Message (essentially now), and serves as the "received" date if this is an inbound message, and the message ID. Modify this Date header, however doesn't seem to be allowed. Using setHeader(Hea...

Blackberry Widget Packager saves my files in strange places

I have just installed the Blackberry Widget Packager and Blackberry Web Plug-In for Eclipse, and everything works fine, but my files are output to strange places. For example, I tried putting my zipped source files in the folder Blackberry Widget Packager/web and I got an error during packaging. Packaging works when the .zip is in th...

Java HTTP Request Occasionally Hangs

Hello Everyone, For the majority of the time, my HTTP Requests work with no problem. However, occasionally they will hang. The code that I am using is set up so that if the request succeeds (with a response code of 200 or 201), then call screen.requestSucceeded(). If the request fails, then call screen.requestFailed(). When the requ...

Maximum filename length on Blackberry

Is there a maximum filename length (or equivalent to MAX_PATH) on the BlackBerry operating system? ...

what models/OS of BlackBerry phones widely used in the world ?

Hi All I want to develop a BlackBerry Application. but i am somewhat confuse bcoz there are a lots of models/OS available in BlackBerry phones. So can any one have any idea/servey that the most popular model/OS in BlackBerry phones. So i can develop a application for as many users as possible... or tell me if any generalize sollution ...

Blackberry Listfield with variable height for each row?

I need to implement custom ListField which has height variable for every each row. Selected row should has different height then other rows. ...

Blackberry how to display message in app if device got no internet connection?

Hello I've just started with programming for the Blackberry device. I'm using version 5 of the API. I'm building a very simple application which is just a browserfield. So far it's all working great. I can display my browserfield with the content I need. The problem I'm having now is if the device doesn't have an active internet conne...