blackberry

Blackberry - draw label in the center of custom ButtonField?

I created a CustomButtonField in blackberry using that i can able to set our own height and width of the button.The problem i m facing is i dont know how to show the label in the center of the button. ...

Listen to pushed data in Blackberry app without help of BES

Hello, How can I listen to data pushed by the server using http connection ? I dont want to use BES server. How this can be achieved? My Blackberry Os version is 4.5. ...

Enter Event in BlackBerry

Hi All I want to write a basic application in which when the User press enter after providing the User Name and Password certain action has to take place. I have attached javascript with the textbox. Although this works well with traditional browser it is not working in BlackBerry. Any Idea how I can get this working?. ...

How to programmatically send MMS in blackberry?

How to programmatically send an MMS in blackberry? ...

Picking a Blackberry JDE version

I am new to Blackberry programming and starting my first app soon. I believe I will be supporting OS 4.5 and higher, but now need to decide which JDE to use. I want to support the most amount of phones as possible, which is why I would guess 4.5 and higher is a good cutoff. Can anyone make suggestions of what JDE is best for features and...

Is it possible to use MJSIP api with Blackberry?

Hi, I am trying to develop an VOIP application for blackberry,after a long surf i came to know about mjsip api.But i have a doubt that is it possible to use this api with blackberry development to create VOIP application.Please anyone knows the answer help me. ...

How can i distinguish "short menu" and "full menu" in code in blackberry?

hi, i am coding in blackberry jde. but i am confused by the "short menu" and "full menu", for instance,how can i make a menuitem show only in "full menu" ? thx for ye help. ...

How to iterate through Blackberry Resource fie?

Hi all, How to iterate the keys in a Resource fie (.rrc) in a loop & how do I get the length or the no. of elements in the resource file, I mean the end of the file ? ...

How to access image stored in Blackberry using Bitmap.getBitmapResource() ?

I want to access an image stored in Blackberry, say at location "store/home/user/image.png" . Now can i access this image as, String filePath = "file:///store/home/user/image.png; Bitmap image = Bitmap.getBitmapResource(filePath); BitmapField bitmapField = new BitmapField(image, BitmapField.FOCUSABLE); OR I have to access it as, ...

Blackberry - how to add fields to listfield?

I am using ListField but encouter a problem. How can i view it as i wish (not one by one)? For instance, there is item1, item2, item3. Can i jump from item1 to item3 directly, ignoring item2? In another way, how to insert a text field (a labelfield, for example) into the ListField items? like this: item1 a textlabel item2 item3 ...

Simulator for BlackBerry 9300

Which simulator should be used to test the application that support's BlackBerry 93* OS and Which simulator can I use for Iphone. ...

Killing non-waiting thread

Hi, I need to kill specific worker thread in my application. I don't have any control over its execution, which means I cannot employ classic signal boolean variable approach. This thread is non-waiting. It doesn't sleep or wait on some monitor to be signalled - I can't interrupt it via Thread.interrupt, this throws IllegalThreadState ex...

Webparts in Blackberry

So far I have been creating Web Portal but recently I had a request to convert all the stuff into Mobile Portal. I have created two webparts, when I place single or multiple webparts of same type it looks fine but when I place two different webparts then its UI gets distracted and it looks bad in Blackberry :( The UI is fine with IE Fi...

How to get time format of current TimeZone ?

I m getting current time zone as , String defaultTimeZone = ""+TimeZone.getDefault(); Now I want to get its time for which I m using , SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); for eg, if currentTimeZone = "Calcutta" then its time is +0530 which will be like , SimpleDateFormat dateFormat = new S...

Blackberry - Programmatically extract/open zip file

I have looked online with mixed results, but is there a way to programmatically extract a zip file on the BB? Very basic my app will display different encrypted file types, and those files are delivered in a zip file. My idea was to have the user browse to the file on their SDCard, select it, and I extract what i need as a stream from th...

How to execute application continuously without hangs device in blackberry.

Hi, I have created an application of contacts synchronization. when i run it on device it hangs my device while synchronizing then i am not able to open another application, I am also doing auto synchonization with in a perticular period of time. I want that synchronization should be perform without hang to device and if i get any in...

How can I schedule a particular thread in Blackberry

Hello, I want to auto-schedule a thread with a particular time interval. I also need to execute this in the background continously without hangs to the device. I have tried this with Application Manager Class but it's for application scheduling and I need to schedule thread within the application. ...

No definition found for exported static routine : .main(String args[])

Hi, we are new to the blackberry development.we are executing of my .cod and .jad files on Blackberry JDE4.0.2 simulator7290. while building that project we are geting the folloewing warnings Deleting C:\Program Files\Research In Motion\BlackBerry JDE 4.0.2\samples\com\rim\samples\device\BlackCard\BlackCard.cod. Building BlackCard ... ...

Third party decompression on Blackberry

I know the BB only handles GZip and ZLib compression/decompression. my app gets essentially a zip file containing a large number of possible file types (txt, doc, html, wmv, png, gif, etc)...decrypts and displays the file a user selects from a tree. Using these decompression algorithms is not a good way to go having to decompress/decrypt...

Syncing Exchange Inbox subfolders to Blackberry

Hello - I have a Blackberry user that has organized his Outlook such that he manually sorts mail messages into specific subfolders. Example - Inbox |---->Mail from 2004 |----> Personal |----> Business |---------> Travel |----> Mail from 2003 When...