blackberry-simulator

HTTPS connection

Hello Every one i am using the following code for establishing Https connection HttpsConnection httpConnector = null; InputStream in = null; Document doc ; String content = ""; try { httpConnector = (HttpsConnection)Connector.open(url,Connector.READ_WRITE); ...

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

Error : Detected background switch for net_rim_bb_ribbon_app(58) who has NO tunnels open - defocus NOT called

Hi There Im working in eclipse with bb plugin and the problem is when i click in my app then simulator freezes and I can not do anything. I tried to do something but its still the same And Also I app have a background component (THREAD), here i leave the code when i call the method app have a background component public void callbac...

Redirect BlackBerry device simulator output to console

I'm currently developing a BlackBerry application using JDE 4.6.1 on Windows XP. Since I'm running the application directly from the console using fledge.exe I would like to know if there is a parameter for redirecting my application output, namely a simple system.out.println call, to the windows prompt console. Right now I'm able to vie...

Upload Image using blackberry.

I want to upload an image in blackberry simulator using MultipartPostData, the following is my code but it does not seem to work. I have also signed my .cod file. Can anyone help me please? public void postData(String Url, bytes[] data) { if (DeviceInfo.isSimulator()){ Url=Url+";deviceSide=true"; } HttpConnection httpConn=null; Output...

Access webservices deployed on a local jboss server from bb simulator

I have deployed a webservice on my local jboss server which runs on port 9090. So my webservice url will be http://localhost:9090/app/Services/blah. I have written a mobile client code(for blackberry) which connects to this url to get the data. Initially the client code when run on a bb simulator threw HTTP 403 error. Found that addressi...

cannot find RIMIDEWin32Util.dll

Am running Eclipse 3.5 and Blackberry eclipse plugin but when I try to create a new Debug configuration, a Java style dialog pops up saying - cannot find RIMIDEWin32Util.dll Incidentally, I found that file in this folder in my Blackberry workspace but not sure why it doesn't find it - C:\Volumes\Data\Code\Blackberry workspace.metada...

Blackberry Simulator FileSystem: where is it?

I am testing some stuff out with writing to the filesystem on the Blackberry using the javax.microedition.io.file package. I am able to open a file ("file:///store/home/user/documents/mytxtfile.txt") and write to it (by that I mean that no exception is thrown, whether or not the file is created and written, I can't tell). I am running ...

BlackBerry App Unable to establish Http Connection with Server?

Following is the code that I am using for the HTTP conncetion. HttpConnection connection = null; // InputStream inputstream = null; connection = (HttpConnection) Connector.open("http://www.google.com"); //HTTP Request connection.setRequestMethod(HttpConnection.GET...

JVM exception in simple program

Hi, I am writing a small demo program to display a message box in to run in blackberry. As soon as I click the OK button on the dialog, it throws me a JVM Error 104, uncaught:runtimeexception. Any help please? Here is the code : import net.rim.device.api.ui.FieldChangeListener; import net.rim.device.api.ui.UiApplication; import net.rim....

Strange problem with blackberry Torch 9800 simulator

Hi, When I start the torch 9800 simulator programmatically through fledge.exe, a pop up displays with licenese agreement, and it is always coming up at device startup, due to this I am unable to make TCP connection from simulator. I tested above mentioned behavior in 4.7 simulator (9530), without pop up at startup TCP connection worki...

Can't I get my app to work with click and touch (within same project)?

i have developed an application that will basically run on all versions of the blackberry unit (ver 4.5 and above). however, i have noticed that navigationClick() is not consumed with a touch blackberry. i know that i have to use touchEvent method instead, however, my eclipse project is set up to use jde 4.5. so is there any way of just ...

Blackberry 9800 Simulator Crashing When Launching Browser

The Blackberry 9800 simulator is crashing when launching the browser, throwing JVM Error 104: Uncaught IllegalStateException. This is a clean install of the simulator with no 3rd party applications installed to it. I strictly wanted to use it for testing web applications. All other applications on the device seem to work withou...

How to send an email once a user completes a form in blackberry application?

I have built a blackberry application that allows a user to fill in information in some fields. Upon submit I want an email to be generated to me with that information filled. What is the best and simplest way of doing that? Thank You ...

Error while loading the app file (.cod) on blackberry simulator from command line using javaloader...

Hi guys, I am trying to load my blackberry Helloworld.cod application file to blackberry simulator from command line.. I'm using the following command: javaloader -u load Helloworld.cod but it gives an error: error: unable to open port can you guys help me plz why is it so? ...

JVM: could not open

Error - JVM - BlackBerry 9800 Simulator --------------------------------------- JVM: could not open C:\Users\Bayron.Tellez\Downloads\eclipse-java-helios-win32\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\simulator\Java\net_rim_bis_lib.cod My friend installed Eclipse with the Blackberry simulator. I'm ass...

attaching image to blackberry Email through code

I have a problem attaching an image to a blackberry email. In my code I can attach a png image taken with the camera and it is visible in attachments, but when I click on the send email button I get an error: Email service does not support these types of attachments. Change the Send-Using field, or change the attachments My code is: ...

Unable to select BlackBerry 9800 as default web simulator on Eclipse

Hi All. I have some time now working with the BlackBerry's Eclipse Plugin with no issues using the Curve 8530 Simulator. Im trying to add the Torch 9800 Simulator but I get this: Im pretty new on the BB Stuff. Im I missing something? Is there a debug-enabled version (I check and apparently the version that I have should be pretty c...

The BlackBerry Simulator rises a RuntimeException

Hi everybody, I'm trying to run a BlackBerry project using Phonegap. I followed all the steps described here. When I run the project, I get the following error: C:\Users\Admin\Development\eclipse_galileo\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\bin\rapc.exe -quiet codename=deliverables\Standard\6.0.0\TaskBlackBerry d...

Is there an existing online emulator for Blackberry browser ?

I'm triying to find a good emulator for the Blackberry browser, so I can try my blackberry app. Is there an online version so I don't have to download and install one ? Or in worse case scenario, which one should I download ? Thanks, ...