java-me

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

How to keep RMS after installing a new version?

I have an j2me application installed on a Nokia S40. Some configuration data is stored in the RMS. Is it possible to overwrite the installed app with a new version? How to keep RMS in the new version? If it is possible can it be set as a default operation when upgrading to avoid the user accidentally delete the data? ...

Downgrade Java code 1.5 to 1.4 (bonus points: J2ME, Blackberry!!!)

I want to port some existing j2se libraries (e.g. Apache Compression libs) to use for Blackberry development, but there is a catch (and not just one). First, most java libs extensively use j2se collections and data types that are typically missing on j2me platforms — but that's theoretically solvable thanks to open-source j2se api imple...

What are the pros and cons of eclipse vs netbeans vs others for j2me development?

What are the pros and cons of eclipse vs netbeans vs others for j2me development? Which would you choose and why? [edit] When asking the question this one didn't turn up in the list ...

compile j2me using ant

i am created a j2me project with this article(http://www.securitypronews.com/it/applicationdevelopment/spn-19-20030611J2MEUsingAntwithJ2ME.html) and now i have problem in add resources(same as images) and librabris (same as jar as zip files) . i am copied resources in "res" folder that is points in the this article but when i extract jar...

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

Which video formats to use for Java ME in mobile phones?

I (or rather some of my students) have a Java ME (the platform everyone still calls J2ME) application that shows videos using JSR-135 and VideoControl. They have created mpeg-1 video files, and it works in the emulator, but not on any of the actual phones they have tried. The call to getControl in Player returns null. I think this is be...

Is there a tool for automated user interface testing java mobile apps?

I'm looking for some sort of framework to automate user interface testing of a java mobile app. We're developing in netbeans ide for the most part, and I've found various articles related to unit testing, but what I'm really looking for is some way to simulate a user clicking through the various menus and dialogs. Does such a thing exis...

Using -Xmx and -Xms in a JME application in a cell phone

Hi, I've a JME application running in a samsung i617 cell phone, and the applications is throwing OutOfMemoryError when its heap goes over 7.1 MB (and the cell phone has 64 mb)... Is it possible to use the -Xmx and -Xms parameters in JME ...

Trouble making obfuscation

I'm using Antenna to build, pack and obfuscate a j2me app. Building and packing works fine. The project uses a 3rd party jar that is already obfuscated except by some interfaces. When trying to obfuscate I got several errors like: [wtkobfuscate] Warning: i: can't find referenced class fooPackage.fooClass Class i and fooPackage.fo...

Symbian: Is it possible to get access to a list of contacts through an application?

There are at least two ways that I know of to write a Symbian application: 1. J2ME 2. A native application. My question is, does the SDK/API for either of those methods (or any other method) grant me (at least) read-only access to contact information (names/numbers/etc) on the phone itself? Does this in any way depend on the specific...

bluetooth file transfer in J2me

hi, I am new to the J2ME technology. And I am making an application which will transfer the text and image(downloaded through http and stored into an ImageItem of a form) from a client mobile to the server mobile using bluetooth. The connection used is SPP. I have succeded to transfer the text message. But I am unable to transfer the ima...

Store data with MIDP RMS and retrieve in PC.

How can I retrieve data stored using MIDP's RMS? I would like to collect some data in the handset and then be able to process it in the PC's application. If I can't do it using RMS, is there a way to store data in text files using MIDP? ...

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

SVG error in my j2me NetBeans6.5 project.

I use svgForms, svgMenus and svgSplashScreen, but one annoying error always appears in the pre verification (last) step, which is the following: Error preverifying class org.w3c.dom.svg.SVGElement java/lang/NoClassDefFoundError: org/w3c/dom/Element It seems like it needs a library to be added, but I have hit the wall here. My sv...

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

j2me splash screen

How to build an image-based splash screen for my j2me application? I already have an application and I need an splash screen to attach with it. ...

Time-efficient Gameloop in J2ME

I've done a series of questions about J2ME Game developing, and in a recent one, Neil Coffey commented As a side issue-- do you REALLY want to do 100 ticks/second in a J2ME game? As I think sb has mentioned, you should really also sleep to the next desired wake-up point, not a fixed duration each time. For some reason, th...

Netbeans IDE Problem

What does the following problem in NetBeans 6.1 IDE stands for while working in J2ME (WTK 2.2)? "builtin.ks" file/folder could not be found" How to resolve this problem? ...