java-me

JavaME: make emulator run a different JRE

Hi, My first steps with JavaME, currently using Sun's WTK 3.0 I understand a JavaME device runs its own Runtime Environment, and that's a 1.3 JRE. Is it possible to make the emulator run the JavaSE JDK 6 ? ...

How to implement thread timeout in J2ME?

I am using Connector in J2ME and found that sometimes it take a very long time to send a request, and sometime it may halt the whole process. So I try to put code related to Connector in a thread and try to set timeout to the thread. But I found out that it's very difficult to do this in J2ME because there's no join(timeout) in J2ME. Is ...

Sending message to multiple contacts of mobile by providing search facility in J2ME

I wan to send the message to multiple contacts in the contactlist list=new List("Select Contacts", List.MULTIPLE); int n=list.getFitPolicy(); list.setTicker(ticker); contactmanipulation.getContactData(vector); for(int j=0;j<vector.size();j++){ listofContacts=new ListofContacts(); listofCo...

JavaME: Is it possible to run a MIDLet on a CDC configuration ?

Hi, We have an application running on CLDC 1.1/MIDP 2.1, based on Midlets and lcdui. Is it possible to run the same application on CDC 1.1 with the PBP profile ? If so, where should I even start ? I'm using Sun WTK 3.0. With CLDC, the starting point is a JAD file, which indicates the name of the main midlet class. What is the startin...

how to create sample application in eclipse using nokia 6212 NFC SDK

Advance Thanks.Plz help me.am new to this technology.i installed eclipse 3.3.1 and eclipseME 1.7.6 and nokia 6212 NFC SDK.but i dont know that how to use and create sample. ...

Problem in using j2me polish with netbeans

I have downloaded and installed the j2me polish successfully and i have tried to create the project but there is a reference problem showing that the specified folder does not contain the java platform but it is successfully working with normal project instead of polish which LWUIT to use? ...

Custom creation of cells in a LWUIT Table in J2ME

I am trying to create a LWUIT Table in my J2ME application where all cells in one column are of a particular type e.g. TextField taking decimal input. Could anyone please suggest of achieving this or even another approach I could take? ...

customize wtk 3.0 emulator

Hello, I'm trying to change the screen size for the WTK 3.0 emulators. In the previous versions (2.0, 2.2, 2.5 etc) you would do it in a property file. Now they seem to use .bean files for configuration, but changing the file has no effect. Furthermore, the file is not even used. For example \ClamshellCldcPhone.deviceProperties.bean is ...

Dev efforts for different mobile platforms

Hello guys, I'm in the middle of development of a client-server "socializing" that is supposed to run on several mobile devices. The project is pretty complex, involving networking, exchanging media, using geolocation services, and nice user UI. In terms of development efforts, technical risks and extensibility what is the best platfor...

List with checkbox using lwuit in j2me

I am using LWUIT for getting a search facility for selection in the list. now i want to know how to display the list with checkbox? list=new List(vector); cform.addComponent(list); cform.addComponent(t); cform.show(); ...

3D Animation in Java/J2ME?

how to do the 3D Animation in java? what are the packages to be needed? i am very newbie about this topic. Sample Code, Tutorials and articles are more thankful. Tell me how i have to start please? NOTE: its for Mobile Appication. ...

How do I stop displaying a J2ME MIDP application, just before destroying it?

I have a J2ME application where the user has the option to dial a phone number from within the application. This should be the last thing the user does with the app, so it should stop displaying anything. My current code: public void callAndExit() { // use a platform-specific request to dial MyMidletThingummy.getInstance().platfor...

searching the contact from the list in j2me

how to keep the list of contacts scrollable and textfield to enter the name to be searched on the same form where the textfield should be visible like we have in phonebook where the list is scrollable and the search textfield is fixed at the end of screen. I was using the LWUIT cform.addComponent(list); cform.addComponent(textfie...

periodically update server from J2ME application

I'm writing a J2ME application that periodically updates server. how do i implement the functionality using J2ME? how do i run application on phone at startup and how do i keep it running?. I am planning to deploy the application it on symbian platform ...

How to vibrate BlackBerry though code?(Java)

Here is what I'm trying to do .. Whenever event occurs, device should vibrate for couple of seconds. I tried to use Display.getDisplay(this).vibrate(2000); It did not vibrate, while testing on device Even tried it with device profile was set to Vibrate(Active) Am I missing something here? ...

Error: Current Displayable is an Alert

I get the following error: Illegal Argument java/lang/IllegalArgumentException Current Displayable is an Alert I'm not sure what is means and why this exception is fired. ...

How to use Adobe Reader Mobile SDK 9 to develop pdf/epub reader?

Hello ! How can I use Adobe Reader Mobile SDK 9 to develop a pdf/epub reader for blackberry device? Please help me if you have any idea about Adobe Reader mobile SDK. Thanks. ...

Draw background for each cell in ObjectListField

Hi all, I am creating a blackberry apllication which pre-dominantly uses ObjectListFields..All i need now is to draw an image as a background for each cell. I know this is quiet possible but i am not getting hold of the procedure. if i draw bitmap in drawlistrow() function the bluehighlight gets into the background and the cell highlight...

Download Large Files using java

Dear All, I M building a application in which i want to download large files on handset (mobile),but if size of file is large i m getting exception socket exception-broken pipe . resp.setHeader("Content-length", "" + fileLength); resp.setContentType("application/vnd.ms-excel"); resp.setHeader("Content-Disposi...

Extracting exif header from image (J2ME)

I'm developing a J2ME app which includes a file browser. I need to display the thumbnails of the images in the folder. I tried resizing the images, but it won't work if the file is large. How can I get the thumbnail from the exif header of the image. Will be helpful if you could post a link or something where I can learn about it or down...