blackberry

Passing Byte array from Blackberry to .NET Webservice

I am trying to sent a byte array from my Blackberry application to a .NET webservice (asmx). I am using the Sun Java Wireless Toolkit (WTK) 2.5.2 to generate the webservice stubs to use within the Blackberry solution. The WTK project settings are producing the stubs using the JSR 172 specification. I have created the Webservice using ...

What field type is the Set Timer field on the Blackberry?

I'm writing an application which has an interval time as a parameter and would like a field similar to the one the Timer has to set its time. Values of a few seconds to a few hours make sense for the application. What type of field should I use? ...

how to write data to socket in blackberry

I am sending data to server twice. first i send "Hello world" then I send "Server". But server recieved the data at 1 read. but server have to read the data in two read operation. Also I write the data then read data from server then I write the data In this case server can read the first data. but server can not read the second data se...

Java Server not able to encrypt/decrypt data with Blackberry's AESkey

Hi, I am developing a BlackBerry application where the server is in Java. Whenever AES encrypted data is sent to server along with PKCS5 Formatting, The server gets bad padding exception while decrypting it. Please help. Badly stuck in this issue thanks. ...

Help needed in AES encryption in blackberry

I am using AES encryption in java My friend uses the same in blackberry. But I am unable to decrypt the data that my friend have sent. Is there any help for this problem Is there any online help for AES encryption in blackberry. Thanks Deepak ...

Why is java.io.ObjectStreamException used in WTK stub generator for enums?

I am using a web service implemented in WCF which has enums defined in the interface. I am trying to call this from a Java BlackBerry client. I am using Eclipse to develop the Java application for BlackBerry. I am using the Sun Java Wireless Toolkit (WTK) 2.5.2 to generate stub code since the web service is rather large (already in us...

How to Decompress the data using GZIP in java if the data is compressed with the same in BlackBerry

I have written a sample program to compress and decompress data using GZIP in blackberry. This program works fine. I have written a sample program to compress and decompress data using GZIP in Java. This program also works fine. But if I compress the data using BlackBerry. I am unable to decompress the data in java. How to overcome fr...

Mobile Development for iPhone, Android, and Blackberry

I recently stumbled into PhoneGap and I love the concept, but I can't get my first try at an Android application working. The documentation skips a few details and the comments are filled with people running into problems. Does anyone out there have PhoneGap running? What did you tweak for Android? ...

How do I detect the 'delete' key in my Field subclass?

I'm trying to detect and override the Delete key on the Blackberry keyboard. For some reason, it never makes it inside my case statement as when it hits that point: Keypad.key(keycode) == 8 Keypad.KEY_DELETE == 127 What's my error? public class MyField extends ListField implements KeyListener { // ... /** Implementation of KeyListen...

How to remove header from XML document using org.w3c.dom classes?

Hi, I want to remove <?xml version="1.0"?> tag from the xml. I have used XMLWriter for string representation of class. It is generating the above tag by default. Now I want to remove it. Please help. Is there any standard way of doing it in org.w3c.dom for Blackberry? Thanks in advance. ...

J2ME Storing 1500 contact informations without a database

Currently I'm developing a Blackberry Application to access internal business contacts in our company. As far as I know there is no database platform for j2me or blackberry applications. What the the best way to store large sets of data without a database? I found http://www.mcobject.com/j2me_database via google which uses a B-Tree alg...

webpages slow on iphone and blackberry

One guy mention how sites with 'crap' run slow on iphones and blackberries. What is the 'crap' he is talking about? what makes it slow? There was a severe pause on his phone when he showed me an example site. ...

Invalid character '&#x0' encountered

Hi, I am getting following exception while parsing the xml. Fatal error at line -1 Invalid character '&#x0' encountered. No stack trace I have Xml data in string format and I am parsing it using DOM parser. I am parsing data which is a response from Java server to a Blackberry client. I also tried parsing with SAX parser,but problem ...

Developing a BlackBerry app

I would like to start developing a BlackBerry application, but what I found is that you have to choose which development environment and which technology to use to develop the app. BlackBerry's developer site isn't too helpfull. I read a few articles there and I still don't know what I need to get to start working on this app. So, I'm h...

BlackBerry LongClickListener implementation

I need to implement OnLongClickListener for BlackBerry platform. It may be used for user input (ex phone keyboard implementation) or other functionality (navigation, rewind control, zoom control, etc). There are requirements: target control to listen - custom ButtonField it should be version compiliant with 4.5 and 4.6, so no touchEv...

Blackberry application not getting installed on phone

Hello, I am trying to install the application developed by me on Blackberry device. I am using Blackberry Pearl 8100 and desktop manager 4.3.0.17 to load the application. I am getting the error message as: "The application cannot be installed because some files are missing". Waiting for solution.Do help. Thanking you in advance. ...

net_rim_xml_org not found

Hi I am getting following error while launching application on Blackberry device. Please help. ...

How to bypass MDS-CS in BlackBerry?

I have sample tcp server running @ localhost:5050. Connecting to it from BlackBerry is via MDS-CS simulator,and it caches the data with max of 8192. From the Blackberry forums, i understood that, there is a way to bypass it directly to the server. Can anybody help me on this IDE : BlackBerry JDE 4.7.0 Platform : Vista Server : T...

From where RIM-COD-Module-Dependencies in JAD file come ?

Hi All, I wanted to know from where the values for "RIM-COD-Module-Dependencies" parameter are populated in Jad file of a Blackberry project? Thanks ...

Blackberry Development - Any suggestions on references and tools?

I'm looking for good reference materials and open to recommendations about good IDE tools that I can use to develop for the Blackberry. I've been to RIM's site and experimented with their IDE however as of my last use it had issues with Vista and user access control. Any direction on this would be much appreciated. ...