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);
...
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...
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...
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...
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...
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...
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...
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 ...
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...
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....
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...
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 ...
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...
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
...
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?
...
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...
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:
...
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...
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...
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,
...