blackberry-storm

BlackBerry - TouchEvent on multiple managers

Hi all i am new to blackberry application development here is my question i am using two verticalfieldmanager "layout" and "manager" in my application. layout has three custom button field and layout is inside manager. i am not able to implement touch event , here is my code: public class MenuScreen extends MainScreen { public M...

Handling TouchEvent

Hi all In my program i am having two vertical field manager let say V1 and V2 and three Button Field B1,B2,B3 all the button field is under V1 and V1 is under V2. I am not abel to handel the touch event. Hiearchy is like this :- V1 (top most Level) V2 (V2 is under V1) B1,B2,B3 (all are Under V2) can any one please sort out this ...

CustomButtonField is not getting selected

hi all I am not able select the custombuttonfield Here is my code:- public MenuScreen() { super(Screen.DEFAULT_CLOSE); verticalOffset=Display.getWidth(); menuBackgroundImage=Bitmap.getBitmapResource("com/greetings/Images/MenuBackground.jpg"); categories=new CustomSmallButton(Bitmap.getBitmapResource("c...

BlackBerry Storm - Cannot scroll vertically while in TreeField

I am having issues performing a vertical scroll on the BlackBerry Storm while in a TreeField. The tree nodes expand just fine, even with expanded nodes while in the tree I cannot scroll to the bottom of the expanded list. Sometimes it will scroll a little but then not allow me to scroll back up. Could this be an issue with the screen n...

Disabling Submit Button in ASP.NET 3.5 Application with JavaScript breaks BlackBerry submission

The following code is being used to disable a Submit button once it has been clicked. This works great on desktop browsers and most BlackBerry mobile browsers. Submit.Attributes.Add("onclick", "javascript:this.disabled=true;" + ClientScript.GetPostBackEventReference(Submit, null)); Unfortunately, when using a BlackBerry Storm clic...

aligning HorizontalFieldManager to the bottom of the Screen

hi all i am having 4 ButtonField and i want to align all the buttons horizontally. for that i am using HorizontalFieldManager and assigning Field.FIELD_BOTTOM for putting all the button field to the button of the screen. but its not working fine. i don't no what is wrong with it ...

Blackberry MDS simulator - Can't connect to the internet in the simulator.

I'm trying to do some testing of a website through the Blackberry simulator, while the simulator works fine, I can't get to any sites in the Blackberry Browser. Here is the specific setup I'm using. I'm Windows 7 (64-bit) Home Edition I have the latest (at the time) MDS installation - BlackBerry Email and MDS Services Simulators 4.1.4...

How to increase the space between the fields in VerticalFieldManager

Hi all I am adding three CustomButtons in verticalFieldManager, but there is no spacing between the buttons. all are coming one after the other. ...

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 ...

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...

Blackberry storm application screen dont show the whole screen area?

Hello i m newbie to Blackberry. m working on a application for blackberry storm. it contains a custom layout manager and whenever i run it on simulator it dont appear on show on full screen.i set image as background still it dont cover he complete screen.. got stuck.... Plz none help me with this or show mean some custom code tutorial or...

Image over a Image

Hi i want to put a Big image over a small Image , condition is the image which is on top has some specific rectangular area where the second image will be displayed. I want the the small Image to be displayed inside the big image not over the big image. i don't no will it possible or not , if it is possible can any one provide me guida...

making a part of image transparent

hi how to make a part of image transparent. thanks alot ...

Resizing a image by touch event

hi i want to resize a image by touch event if the user stretch the image the image size should increase, and if reduces the image the image size should reduce, is it possible thanks in advance ...

removing the default blue color on focus

Hi all I have a created a custom Button field , when the button is on focus default blue background is coming , i want to remove that blue background . actually i am placing image on button and on image there are certain area which is transparent . when that custom button is on focus then blue background is displayed . i want to remove...

checking Field is on Focus

Hi there are three edit field on my mainscreen i want to know which edit field is on focous. thanks alot ...

unable to send email to more then one email id

Hi all I am using the below code to send the email to more then one id, but the mail is not getting delivered. Address [] toAddresses = new Address[emailto.length]; for (i = 0; i <= emailto.length ; i++ ) { toAddresses[i] = new Address(emailto[i], emailto[i]); } //Adding Rec...

java.io.IOException: Bad DNS address - in opening a HttpConnection

Hi, I m opening a HttpConnection to a URL. Its working in simulator but when i try it in device, it gives "java.io.IOException: Bad DNS address" while opening the HttpConnection. I serached the forums but havent got the solution yet. That URL is opening in Blackberry device Internet Browser but not getting the HttpConnection (HttpConne...

render html page in verticalfield manager but with font size configurable

Hi, i'm developing an application for blackberry, where i need to render html page and page content should be configured according to VerticalFieldManager, means whole content should be displayed without scrolling either Horizontal or Vertical, font size, image size, all should be displayed. Please help me in this issue. ...