blackberry-jde

Tunnel Failed at the time of Upload file to FTP

File upload is works fine from my simulator (blackberry 8830).It upload the file to FTP Server. But in the device when I try to upload file to FTP server it gives the alert “Tunnel Failed “. I am using StreamConnection sc = (StreamConnection) Connector.open(url); How to solve this issue. Can anyone help me??? ...

Draw background for each cell in ObjectListField

Hi all, I am creating a blackberry apllication which pre-dominantly uses ObjectListFields..All i need now is to draw an image as a background for each cell. I know this is quiet possible but i am not getting hold of the procedure. if i draw bitmap in drawlistrow() function the bluehighlight gets into the background and the cell highlight...

http file upload in blackberry jde

Hi I need to upload file to http server. I wish to use jsp for server side processing. How to upload file from my blackberry application to http server?. What should I do in the server part and how to send file data to http server from blackberry?. I need some help about this problem. ...

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

BlackBerry-how to change Manager background image?

I am trying to create a tool bar with background color different from the screen background, i am using the following code getMainManager().add(mToolbarManager = new HorizontalFieldManager()); mToolbarManager.add(mBtn = new BitmapButtonField(mBmpNor, mBmpFoc, mBmpAct)); Background bg = BackgroundFactory.cre...

Do Bitmap.scaleInto() function will work on older version of blackberry actual device

Can anyone tell me that do scaleinto function will work on actual device having older os that 5.0. Bleow is the code. public static Bitmap resizeImage(Bitmap originalImage, int newWidth, int newHeight) { Bitmap newImage = new Bitmap(newWidth, newHeight); originalImage.scaleInto(newImage, Bitmap.FILTER_BILINEAR, Bitmap.SCALE_TO_F...

Credential​s do not exist in Curve 8520 while using wi-fi

Hi all, I have the following exception while i try to login in my application in curve 8520 using wi-fi "Credentials do not exist" same application works before. but suddenly this exception comes. i can access the internet services as well as open webpages using wi-fi. but at the time of login my application "Credentials do not exi...

Go back to Global Screen without exiting app

Hi, I am a newbie at Blackberry development. I am making an app which I have set as System Module so that it will Run at startUp. This app has a listener which captures the event of an outgoing call and then asks the user for a confirmation. My problem is, I want to go back to the Calls List Screen (Global Screen) if the user selects NO...

MapField with Points

I want to make a screen where i have to show the map with the all received lat and long. and i want to show this map in 200*200 resolution only. Can i make the point bitmap as focusable so i can be click on it and show other screen. ...

how to connect blackberry with server????

anyone know how to connect blackberry with the server??? ...

Adding BlackBerry application icon to the Home Screen programmatically

Is there a way to make application icon show up on the Home Screen (rather than in "Downloads" folder) after the app is installed? There used to be a "content-folder"(?) setting in .jad file that was supposed to do that, but with new Eclipse development plugin .jad files are generated automatically. ...

How to display a simple webpage app on Blackberry using JDE Plugin in Eclipse

I'm totally new to this. How could I make my app, in the menu I did, just open for example www.google.com? My trouble is in the code to make this happen - I already have the graphic stuff with the menu. ...

BLACKBERRY SIMULATOR

Which Blackberry Simulator Works fine with every model of Blackberry for web development.? My Question is basically If I do make a webpage(Using HTML and CSS 2.1) for Blackberry Bold 9000 , will my webpage work fine on any blackberry model. If NO , what can i do for it? NOTE: I dont want to test my application on each simualtor. ...

BlackBerry: Programmatic "Add to contacts"

If I type a phone number into the phone application on my Blackberry (5.0.0) I can hit the menu button, and one of the options is "Add to contacts" which will bring up the add contact screen, with the phone number already populated. I would like to do the same thing in my app - bring up the 'add to contacts' screen and pre-fill it wit...

Alter blackberry application title to show unread message count

Some blackberry applications are able to set their title depending on how many messages are unread. Examples are the Gmail and ubertwitter app. Gmail will set the title to "GMail (20)" to indicate there are 20 unread message. This shows up when hovering over the icon on the main blackberry screen, or when viewing the running apps sel...

BlackBerry ApplicationMenuItem call to UiApplication

Hello, I have an Application that adds an ApplicationMenuItem to the SMS reader menu. I'm using an Application (not UiApplication) that runs on startup - so it is a background process and doesn't show on the open applications list. When i'm selecting the menu item i've made i want to show a screen, so i'm trying to create a new instance ...

How to change the look of a field from BlackBerry's BrowserContent

How do I change the styling of the UI field created from a BlackBerry (4.7 JDE) BrowserContent? The HTML content is displayed, however we're stuck with a white background and black font. We've tried setting the properties of the field and overriding the paint() method to no avail. Thanks! ...

show alert at on a date given by user?

hello, i am making a application in which user enter a date when he want to see an alert, i have taken the date and stores in database,and sorted date,what is the best way how we schedule them and how? please send me Code as well I am knew in Blackberry Thanks a lot ...

Blackberry - how do you specify argument(s) to application main method without using JDE or Eclipse plugin?

I am building my application .cod file without using Blackberry JDE or Eclipse plugin. Everything works fine in the simulator if I hardcode the String arguments which my main() method needs. (I am using Maven to build.) How do you specify main method arguments? In the Eclipse BlackBerry project properties, in the Application tab, you ca...