java-me

Which will be Best Level for Setting Obfuscating Mobile jar

In J2ME, Which Obfuscation level will be efficient for running Application in Mobile. ...

Peek() and remove() methods for Queue implementation in Blackberry

Hi, I want to implement peek and remove methods , similar to Java's Queue.peek() and Queue.remove() , in Blackberry application. I have a custom queue implementation ,but how do I get peek elements and remove elements from queue? Please help, Thanks in advance. ...

How to install J2ME .jar files in remote devices without pairing?

Hi, I am developing a J2ME application to run in public areas, like supermarkets, shopping centers, etc. So, I want to make possible to install my application in every mobile phones nearby via bluetooth. My intention is to create a separate J2SE application to perform a device discovery and look for OBEX services. After that, ask the u...

J2me CDC for SWT development

Dear all, I plan to do some embedded development with GUI. The environment is: Eclipse, j2me + CDC.[set the CVM to be CDC-HI] But when I use the AWT or SWT jars in my applications, it seems there are always some errors. Could anybody please tell me how to set up the environment ...

j2me SDK3 for AWT/Swing application

Dear all, I try to development an embedded application with Eclipse + J2me SDK3 + CDC. When I am trying to create a Frame or JFrame, there is an error says "Could not read environment variable SUBLIME-PROC-ID". Who know what's the problem? Thanks in advance ...

run j2me midlet as a foregorund process

I'm new to j2me, just learning, now i have got a problem with my midlet application. whenever i execute this midlet the Emulator shows the error: 'This application does not use the screen, and runs in background'. so far i know that we have to give the Reference of the screen to the instance of the Display, for that i did this : priv...

j2me AWT development

Dear all, I plan to development an embedded application with AWT GUI. How to setup the IDE based on Eclipse? So that the developed applications can run on CDC FP1.0/FP1.1? ...

Persistent Store data lost after session terminates in Blackberry application

Hi , I am using persistent stores to store data in a Blackberry application. While I create objects and store it in persistent store in same session data is saved properly. But the data is not recovered from store in next session. How do I fix this? My code is as follows: static TrialStore ts = new TrialStore(); static Vector data= n...

CDC-1.0/Foundation-1.0,J2SE-1.3

Dear all, How to setup/configure the environment "CDC-1.0/Foundation-1.0,J2SE-1.3" of an OS (for example windows XP, linux)? Because I want to run the embedded AWT application which requires this environment. ...

How to run the embedded application

For example, I just developed an embedded SWT application which require CDC/FP1.0 j2se1.3 (I use the eclipse IDE), but how to test this application to see if it is can really run on embedded environment? Thanks ...

How can I convert an Image to byte array in J2ME?

My requirement is like this. I need to read a file from the Mobile phone using a file connection, create a thumbnail of that image and post to the server. I am able to read the image using the FileConnection API, and also able to create the thumbnail. After creating the thumbnail, I am not able find a method to convert back that image t...

Can a blackberry app access the internet without restrictions?

I'm about to develop an application for blackberry that transport some data through a native socket connection to a server. This can be done easily in Java but I was told the issue with this approach is that most blackberries have some sort of restricted internet access and that the socket connection would not work. Is this true? Typic...

J2ME HttpConnection getResponseCode() blocks waiting answer from server on Nokia N97

Hello, I upload a file from a Nokia N97 phone to server, everything works fine but after file is uploaded I want to get response from server. The problem is that I get response only after half a minute or more. From what I see the code blocks in httpConnection.getResponseCode() waiting for response. I tested it on a Sony Ericsson and I...

Hide virtual keyboard for fullscreen j2me app

I developed a J2ME app using LWUIT and it works fine but when I try the app on a mobile phone with Windows Mobile 6 it displays the virtual keyboard overlapping the softkeys until I double clik it. I already tried to use the following attributes on the application jar but they didn't worked: Navi-Key-Hidden: true Nokia-MIDlet-On-Screen...

Problem while fetching xml file from server

Hi, I am trying to download an XML file(in my J2ME Application) from a location in the server. My problem is that, in the beginning of the XML file these characters-"", are getting appended. Can anybody tell me where the problem lies?? ...

C/C++ J2ME interpreter

Hello, do anyone know some C or C++ interpreter for cell phones? I have Nokia 5310 and found some Basic interpreter (CellBasic) and want to develop in C or C++ on the go. Or, does anybody knows Scheme J2ME intepreter? ...

Sorting vector in java

I want to sort a vector contains like [a,b,1,3,5,z] both ascending and descending on Java ME, i.e. without using function like Collections.sort() ...

How to make a bluetooth service publically discoverable?

I try to create a MIDlet that provides a publically availabe service but the code below is not enough. The service is on (no exceptions) but stil not discowerable. public StreamConnection waitForConnection() throws IOException { if (this.notifier == null) { // Create a server connection (a notifier) this.notifier = ...

For which functionalities/Permissions certification is required from Thawte or Verisign for a J2me application ?

HI , I would just like to know if I'll need a certificate from Thawte ( $299 for 1 year )or verisgn for my j2me application for the s60 3rd edition !!! My app uses the following functionalities:- Access IMEI number, Perform a lot of network requests using httpconnection, uses GoogleMaps, Open a url, Send SMS, make a call, Using Mail4Me f...

Java ME out of memory

Hello everybody, Im making Java me application for Symbian S60 5th edition and I have problem with the memory. After some time of running the app I recieve the out of memory exception. So,Im getting images from GoogleMaps(by the integrated GPS in nokia 5800) and showing them. I have this implemented like this: class MIDlet with metod...