blackberry

what's wrong with concatenation in blackberry application?

For the life of me, I can't understand why adding a concatenated string to the MainScreen is causing the BB simulator to throw an exception. If I run a VERY simple hello program with the following control, all is well: RichTextField rtfHello = new RichTextField("Hello There !!!"); add(rtfItemDescription); But if I add a conca...

Unable to make direct TCP connections on blackberry application

Hi, In my blackberry application I'm establishing network connection by appending ;deviceSide=true in the url. It is working fine on simulator but its not working on device. I've correct APN settings as other third party apps are running fine. Please let me know the possible reason for this issue!!! ...

Network seems to be slow on my blackberry app

Hi, n my blackberry app I'm facing network connectivity issues. It is quite slow in retrieving data from network as compared to other apps. I'm using http connections for data transfers, please tell me if there is a better way to do that, which is faster than normal http connections. The way i'm using currently work's with simulators on...

where to find "package com.rim.samples.docs.notifications;"

i a developing blackberry aplication using eclipse can any one tell where to find the following library package com.rim.samples.docs.notifications; i have downloaded it from blackberry site but i dont know how to use it ...

Video display on BOLD 9000

Hi all, I am developing an application which includes streaming of videos form web server. I have tested on Curve 8900, 8330 and the videos stream perfectly and played well. But the problem exist on BOLD 9000. On bold i can only hear sound of videos but no display. I cant understand how the same code works perfectly on 8900 but not on ...

Sending SMS WMA way Vs Datagram COnnection in Blackberry

Hello All, As blackberry supports both API, I would like to know which option I need to go for. What is the difference between two options? Which option is more reliable in both CDMA and GSM devices? Thanks Sudhakar Chavali ...

Add single unit of time to timestamp for use in Blackberry application

Hi, How can I add a single unit of time to timestamp, just like "add method" of Java "Calendar" class but by using Blackberry API set Can anyone please help me with source code? ...

dynamically replacing text in Labelfield

Hello all. I'm wondering if there is a way to take the text set within a LabelField and have it so the text is replaced, be it by a buttonClick, keyPress, or what have you. Did a bit of digging around the rim API documents and the best I could find was appendLabelText(), which doesn't meet what I need, so was wondering if there was anyt...

ControlledAccessException occurs during player creation in 4.6 above OS!!

Hi viewers! PLease suggest how to overcome from this exception, my code is given below: String TestFile = "file:///" + RTTToneImpl.getEmergencyTone(); Player player; try { player = Manager.createPlayer(TestFile); } catch(ControlledAccessException e) { Dialog errorDialog = ...

Why doesn't my Blackberry app update when I change the code?

I'm having trouble getting my application to change once it's on the blackberry simulator. I run my program once, it works fine, then I change a few lines of code, rerun the app and nothing has changed. It seems like once the app gets installed on the simulator that I can't change it. I'm using Eclipse to develop my app. I'm just click...

Blackberry - get contacts list

I wanted to get the list of all names and their corresponding email address from the contact list in blackberry JDE 4.7 can anyone help with the code for getting the above mentioned things.. Thanks in advance... ...

How to sort Persistent store records in Blackberry application?

Hi All, Can you please help me in sorting persistent store records in Blackberry application? I want to sort it in ascending and descending order... Please help. Thanks in advance ...

how to change blackberry profile programmatically?

Thanks in advance, I want to force blackberry device to the silent mode and return to the original profile through my program. ...

Horizontal blackberry file manager

i have a horizontal file manager on a screen ...and a vertical field manager inside the horizontal field manager..but the height of the vertical field manager increases and decreases due to adding and deleting fields dynamically... and the height of the horizontal file manager changes accordingly which i don't want...i want to fix the he...

Blackberry PopupScreen size limited by virtual keyboard.

I am trying to display a Custom PopupScreen and when the virtual keyboard is being displayed it reduces the size of the popup. I know when you for example, select new message you get a PopupScreen that allows you to select message type (sms, email, etc) and it shows on top of the virtual keyboard. Here is my code am I missing something? ...

why is there an exception thrown when i set isFocusable on a blackberry manager

In my blackberry app I have a manager that controls the layout of the fields for my screen. This is the standard way of doing things when you want a custom layout. Now, one of the "fields" that I'm using is itself a Manager that lays out a series of controls nicely. Call this "field" the "summaryField" as it summarizes data for me. Th...

Programmatically play blackberry default ringtone in all version

Is it possible to play blackberry default ringtones. If yes how? and what will be the code. please help if anyone have any idea. Thanks and regards! ...

Blackberry API to change the home screen background image

I am trying to develop a Blackberry app that will change the Home Screen background image(not the application background image) periodically (just like WallPaper changer for windows) based on configurable time parameter. Is it possible to change the HomeScreen background programatically. is there any API to do that..? ...

Can I develop blackberry applications using C#.NET on windows7

hey i am keenly interested to build an application for blackberry. can i do it wit c# Blackberry has launched a pluggin for that but how to use it along with the simulator.. Kindly help me ...

BlackBerry: [un]checking HTML checkboxes with JS not working

I am trying to check and uncheck an <input type="checkbox" /> by adding and removing the checked="checked" attribute using javascript (jQuery). It works great in Firefox & IE. Adding and removing disabled="disabled" works perfectly. But with checked, neither clearing nor adding the attribute does anything. I'm writing in XHTML 1.0 Stri...