Hi
I am using the HttpConnection class of J2ME in my BlackBerry app to send data to a web server. I need to send the contents of an image in the body of the HTTP request.
This is what I do
Get the bytes of the file in an array
Open HTTP connection
Set content type header as image/jpeg
Get output stream of the connection
Write the byt...
Question: I'm interested to know the best practice for killing a long standing operation that is running as a background thread (lets call this thread WorkerThread) in Java 1.2.
Scenario
Specifically, I'm developing an application for Blackberry devices whereby I make a HTTP connection. Big picture: a URL request if forwarded to a back...
Hi
I am using Blackberry plug in for eclipse.
Default jre setting is 1.6
I am getting following error which doesnt allow me to compile my .java file :
The type Class is not generic; it cannot be parameterized with arguments
Please help.
...
Hello,
I'm currently planning a new web project. Clients are going to connect using a regular web browser and, in case of regular java-enabled cell phones, j2me client. I would really like to make use of the OpenID authentication. In case of regular web browser things are pretty straightforward. However, I am really not sure about insta...
Hi,
I am trying to add a third party zip file to my project while using Blackberry plugin for eclipse.
Whenever I build the project,the zip files disappear.
Is there any way to compile the project with third party zip files?
Please help.
...
How to store special event to specific date and time in calender mobile using j2me
...
This code is running on Blackberry JDE v4.2.1 It's in a method that makes web API calls that return XML. Sometimes, the XML returned is not well formed and I need to strip out any invalid characters prior to parse.
Currently, I get: org.xml.sax.SAXParseException: Invalid character '' encountered.
I would like to see ideas of a fast w...
Hi All,
Can anybody help me to make j2ME implementation of Dijkstra algorithm faster ? I have two loops, one inside another. Like this
while(for each item in Q)
{
//...do something.
//the following loop is to find the minimum
for(all un-visited nodes in Q)
{
//.. do something to get min.
}
}
I have almost...
Hi,
Can anyone provide me feed back on
How to implement Bouncy Castle Rsa encryption in Black Berry Application
Thanks,
Bapi
...
Hi ,
Is sqlite available for blackberry?.Is any other option available other than that ....
...
Hi.
After installing my midlet to a phone over the air, I'm getting a blank page from browser which need to be closed manually.
1) Any idea how to prevent it?
2) I read that JAD files are no longer required, as the all info located in JAR. I tried to use the JAR files instead of JAD's, but with them the browser first downloads and onl...
I'm using RIM JDE 4.2.1
I'd like my text fields to auto-capitalize the first letter of sentences, add punctuation at the end, and reference the AutoText DB on the device. It seems like this would/should be a Field type in the API but either I'm missing it or it's just not there.
For reference, the API is located here: http://www.black...
How do I use TransformerFactory in BlackBerry for XML creation?
Java has TransformerFactory method. But BalackBerry does not.
...
Hi,
I am using JDom jar and i want to add to my blackberry project . I am using eclipse plugins for blacberry. while building blackberry app from eclipse the error is displayed on the console as "JDOMAbout$info:error!missing stack map @label.... "
rapc falied for the project along with this several warnings are also displayed ...
so...
I am using EclipseMe on Ubuntu. I want an emulator that can emulate mouse movements on screen.
Is there an s60 emulator for linux?
Edit:
Does net beans has an in built emulator that can emulate mouse movement on device screen?
...
The main reason I'd like to use j2me is that one of its main advantages is that it can access the phone's resources through its various APIs. However, due to newer phones having web browsers like Safari, Opera, and Windows IE, it would be advantageous to build a web application so a user wouldn't have to download some software onto their...
Hi,
I am trying to send data using UDP (datagram). I am not able to test application on simulator. I tried running MDS first and then simulator,but it did not work. The error is displayed as Port 8080 already in use on BlackBerry simulator console. How do I change port in simulator? The UDP port to which I am connecting is localhost:501...
I'm trying to code an application which runs un different java platforms like J2SE, J2ME, Android, etc. I already know that I'll have to rewrite most of the UI for each platform, but want to reuse the core logic.
Keeping this core portable involves three drawbacks that I know of:
Keeping to the old Java 1.4 syntax, not using any of th...
Hi.
Is there any reliable way to support back-light in J2ME on multitude of models, other then pre-processing?
Is there any library available that may handle the back-light for various phones out there?
Regards.
...
Hi,
How do I Generate AES key with seed value so that whenever I generate key with same seed value,I shud be able to get the same AES key?
I want to generate this key for my Blackberry Pearl 8100 device.
Please help.
Thanks.
Hi again,
I am not able to generate AES key with AESKey(keyData) .
Also whenever I print it either in the ...