Cannot get StreamConnectionNotifier !

1624 byte By don1raja at 2007-11-27 1:55:53
Hi,I have a basic, yet major problem. I am creating a client-server app which will send some data from one to the other. The client can detect the server, but cannot find a particular service. I've narrowed it down to a particular line of code on server side:private UUID myService = new ...

j2me transport problem..

391 byte By regEXa at 2007-11-27 1:56:00
hi i am currently building a j2me client by using SOAP rpc method.everything works fine but it gives a warning which is ; Warning: To avoid potential deadlock, operations that may block, such as networking, should be performed in a different thread than the commandAction() handler.when i block ...

List form always creates an extra command button

396 byte By eckoa at 2007-11-27 1:56:35
hi im using netbeans and programming jmei create a list screen and i have my own commandbutton, i add it to the list screen by using the command list1.setSelectCommand(okCommand2);but when running the program it appears with 3 buttons my 2 buttons and an extra button from the list screen.i dont ...

Rest web service for j2me application

173 byte By smart@gayua at 2007-11-27 1:56:42
I want to develop j2me application using REST webservice.wat steps should i follow for the same.pls help me im new to REST.How shld i start with it.?thanks in advance

bluetooth communication

352 byte By rakesh.pachavaa at 2007-11-27 1:57:31
Hi all,I have an j2me application, i use bluetooth. can i communicate with another bluetooth device that doesn't has my application. i must send a text to the device that doesn't has my j2me app from a device that has my j2me application. if i can please give me the overview regarding ...

creating project from jad/jar in wtk

392 byte By shaia at 2007-11-27 1:57:32
hiwhen i try to create a project from jad in the wtk i get the error"the JAD file cannot be read." (the jad was signed via versign)when i do the same to a none signed jad it creates a project easily.can it be the signed that makes him behave like this or something else?jar size?(im using wtk ...

Unicode SMS Problem

573 byte By Jjoonya at 2007-11-27 1:58:09
Hi.I have written a program that sends out SMS.My problem is, sending alphabet characters are fine, but if I send out unicode characters, corrupted data is transmitted.If I send it to myself, there's no problem. But if I send it to other cell phone, it is corrupted.It does not happens with all ...

reading sms messages

109 byte By Davitaa at 2007-11-27 1:59:03
Hellois it possible to read sms messages from my phone? or catching incoming/outgoing messages?

Wireless Toolkit on linux x64

348 byte By tryxa at 2007-11-27 1:59:26
Hello,I was wondering if anyone has had any luck getting Wireless Toolkit running on x64? I have just installed Ubuntu 7.04 x64 and am getting sublime.so: wrong ELF class: ELFCLASS32which I assume is to do with not having 64 bit libraries. I am a little new to all of this, is it possible to get ...

HTTP Connection Problem

16136 byte By JieShenga at 2007-11-27 2:01:08
Hi,I cant open connection and i still dont know why.Here the Main code /* Mobile NFC Secured Payment Services * Login.java * Check RMS, Process Login * Created on April 18, 2007, 8:19 AM * Author: Chua Jie Sheng */package main;import function.Function;import java.util.Timer;import ...

out of memory error

4481 byte By jonney69a at 2007-11-27 2:01:30
hi i get the above error when a user inputs a username and password in my system on the second attempt.here is the following code: the username and password is retrieved from two textfields and stores has Strings. The username and password than gets sent back to a server and later the server ...

List inside a Form

91 byte By MelGohana at 2007-11-27 2:03:16
Hi, is it possible to have a list inside a Form and not all the List being the From!

Cannot install WTK 2.5.1

708 byte By jwabramsa at 2007-11-27 2:03:59
I am trying to install the Sun Java WTK 2.5.1 but I am getting stuck at locating the JVM installed on my Windows XP machine. I have JDK 1.5.0_11 installed on my computer but when installer searches for a JVM it says "J2SE Development Kit (JDK) (5.0 or later) is installed on your machine at1. In ...

trying to read a file but doesnt know how to get the size of the inputstrem

852 byte By eckoa at 2007-11-27 2:06:19
hi im trying to read a file in a cel this is my code:fconn = (FileConnection)Connector.open("file://localhost/" + actualdir); InputStream fis = fconn.openInputStream(); byte b[] = new byte[1024]; fis.read(b); fis.close();fconn.close();textBox1 = new TextBox("Viendo el Archivo: " + ...

CLDC issue ! ! !

227 byte By karan88a at 2007-11-27 2:08:09
Hi all ,I want to know whetehr RMS is permanently storage system or not .and in which directory it stores the records.Right now iam using Ecilipse.Please tell meWarm regardskaran

IS THIS POSSIBLE IN J2ME.

688 byte By shruthirsa at 2007-11-27 2:08:28
Hi,i am supposed to develop a survey project. where the j2me client displays a question along with 4 options. the user has to select one. now the next questions is to be shown and so on.but the point is " i want the questionaire set to be dynamic. in the sense i should be able to add some new ...

Threading + HTTP Issues

28039 byte By JieShenga at 2007-11-27 2:08:35
Hi,I using a bean to contain my HTTP Connection codes.Knowing that you cannot read HTTP Connection before the request is completed.How am i able to tell the main thread that the HTTP connection is complete after the full reading is done. With the problem that, no specific class should be pass ...

sound error :Uncaught exception java/lang/IllegalArgumentException.

1079 byte By mocasua at 2007-11-27 2:09:44
If i run the game after adding the following code for adding sound I get the following error:Starting emulator in execution modeRunning with storage root DefaultColorPhoneUncaught exception java/lang/IllegalArgumentException.Any ideas?Thank you!!!!import javax.microedition.media.*;import ...

sound error :Uncaught exception java/lang/IllegalArgumentException.

1073 byte By mocasua at 2007-11-27 2:10:20
If i run the game after adding the following code for adding sound I get the following error:Starting emulator in execution modeRunning with storage root DefaultColorPhoneUncaught exception java/lang/IllegalArgumentException.Any ideas?Thank you!!!!import javax.microedition.media.*;import ...

Servlets ArrayList >>> MIDP List

588 byte By mcarlinga at 2007-11-27 2:12:19
Hello, need help with JAVA ME, MIDP 2.0I would like to send a ArrayList from a Servlets to my MIDP (2.0) using the HTTP connection. Due to MIDP 2.0 simply not supported ObjectInputStream and ObjectOutputStream I cant use it to send the complete ArrayList. The ArrayList is produced dynamic by ...

Error while loading a String on a TextField

506 byte By MelGohana at 2007-11-27 2:12:26
Hi, I have a TextField set for Numeric values, now when I do setString () and pass a number as String it gives an error,. It works perfectly on a emulator but on the real device it gives a exception. I dont know the stacktrace beause I dont know how to obtain it on the device. the only thing I ...

Cursor on PPC

452 byte By EvoBevoa at 2007-11-27 2:12:52
I'm trying to display the busy cursor while my java application is running.The following code displays an hourglass on the desktop but nothing appears when run on the PPC. try {frame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));do something} finally ...

Charts With j2me

80 byte By Yashiroa at 2007-11-27 2:13:41
I need to make an application with some charts , do you have any example?

RMS size limit?

219 byte By phmcguina at 2007-11-27 2:14:47
Does the RMS have a size limit? I've created one and I'm loading it with String data from a text file.But it stops adding new records and throws an RMS full exception.Any suggestions/idea's appreciated.

creating POPUP in j2me on item focus

209 byte By gyan_softa at 2007-11-27 2:15:28
Hi,I am working on one application which requires to display popup automatically whenthe item in Choicegroup is focused. means when i move pointer to any item then it should display popup.

Sending Bulk SMS Using GSM Modem in Java

212 byte By vijaykumar.Ma at 2007-11-27 2:15:45
Hi everyone,I want to develop a SMS Application for sending Bulk SMS using GMS Modem..Can any body please tell me is it possible to develop for Bulk SMS Using GSM Modem?Regards,Vijay..

Please, someone tell me what's wrong in this code...

9783 byte By coffee95a at 2007-11-27 2:16:01
My MIDlet can't even start. So I think the problem is on GameCanvas class, 'couse is the only class I've changed before the game don't work. So I'll submit the code and you can see if find the error. Any sugestions will be apreciate.import javax.microedition.lcdui.*;import ...

Issue in adding records in RMS ! ! !

3507 byte By karan88a at 2007-11-27 2:18:32
Hi all,I am seting current time, Normal hours ,extrahours and total hours from TEXtFileds.My requiement is that when i click the save command that time it should be saved in RMS.But every time when i execute the MIDlet and click the save command it overwrite previous records so every time it ...

how can i ...

135 byte By kauhsik_purohita at 2007-11-27 2:18:58
how can i develop a library in j2me which supports multi threading and communicates with processor for mobile phone application?

How to make a DATA call?

325 byte By tekmona at 2007-11-27 2:20:06
Hi, there.I need some way to dial a number and establish a DATA call between two apps on two mobile phones and then exchange some data. I couldn't find anything on this topic wherever I looked. I wonder if it's entirely possible? Maybe some vendor specific APIs exist?Thank you guys for the ...

HTTP Post

226 byte By JieShenga at 2007-11-27 2:21:26
Hi,Regarding this side http://developers.sun.com/techtopics/mobility/midp/ttips/HTTPPost/Anyone really implemented it?I tried it but i cant really get an encoder and the others also dont work.

time server HELP!!

496 byte By murilo.pollaa at 2007-11-27 2:21:50
Hello,I am working on an embedded application that gets the right time from a time server through GPRS connection. It is on a Siemens TC65 and I have already succeded getting the right time from time.nist.gov at socket 13.However, I need the right FRENCH time and none of the french ntp server ...

displaying non-western characters

603 byte By AEKa at 2007-11-27 2:22:33
Hi there,I am developing a midlet where I handle some arabic words.. I have a pb, Icannot display arabic character . I used the following code, unfortunatelyit does not work, unfortunately I got a sequence of question marksdisplayed in the txtfield. In addtion I used different emulator Nokia ...

mobile list for fileconnection

199 byte By kannabiran.krisha at 2007-11-27 2:28:00
hi friends... I am using fileConnection Api in my application. So I want to know the mobile phones which are supported by JSR 75 (FileConnection) Api.Please help me to know that.

Using Methods of HTTP_Connection

1801 byte By bsebeara at 2007-11-27 2:28:28
Hi,I am currentyl developing a small MIDlet which shall parse some Header Information out of a website and display them in specified StringItems.I tried to realize this by using a HTTP_Connection Object and it's method "getHeaderField(String)". Normally I should be able to get the meta tags ...

critical error while running j2me project / application

209 byte By loves_javaa at 2007-11-27 2:28:37
hi i.m new to j2me , i'm developing simple hello application in netbeans. when WMAClient: localhost has no IP address: java.net.UnknownHostException: gtl-122: gtl-122

Running an SWF file (Flash File) under J2ME

238 byte By MHR-Javaa at 2007-11-27 2:28:43
Hello All,i need any body till me please if i can to run an SWF file (Flash File) Under J2ME, and if it possible i wont to know the code which do that.Thanx alot.Best Regards Mohammad AL-Hashaikeh

j2me cldc midlet for windows mobile(cdc) in netbeans

560 byte By levia at 2007-11-27 2:29:50
Hi,I have a midlet developed in Mobility Pack 5.0, and I have to change it so, that it works, and looks ok on Windows Mobile. That means that I have to port a cldc midlet to a cdc device. I've found two vm-s for windows mobile, for running midlets. J9, and CrEme. I also saw that the mobility ...

develop midlet for windows mobile with visual web pack

560 byte By levia at 2007-11-27 2:29:53
Hi,I have a midlet developed in Mobility Pack 5.0, and I have to change it so, that it works, and looks ok on Windows Mobile. That means that I have to port a cldc midlet to a cdc device. I've found two vm-s for windows mobile, for running midlets. J9, and CrEme. I also saw that the mobility ...

Why I've got this exception?

682 byte By coffee95a at 2007-11-27 2:31:49
The file Sound.mid is on src folder on NetBeans project.try {InputStream is = getClass().getResourceAsStream("Sound.mid");playerSound = Manager.createPlayer(is, "audio/mid");playerSound.realize();playerSound.prefetch();playerSound.start();}catch(Exception e) ...

JSR 234 -- Media Processor Input Types for Sony Ericsson k790

465 byte By conlanriosa at 2007-11-27 2:32:09
Hi,This method 'getSupportedMediaProcessorInputTypes()' is supposed to return a string array of all the supported media processor input types. However, on the k790, it just returns null. In the docs, to support JSR 234, you're required to support at least JPEG and Raw image input types, but ...

Regarding setCurrent method in j2me..

1004 byte By Bkrishnana at 2007-11-27 2:34:36
Hai all,I have created three classes like LoginScreen, TextBox and Button. These three classes are extends by Canvas.In LoginScreen class itself i drawn some images,Textbox class itself i drawn some Boxes and Button class itself drawn some butons. When i tried to display all these things in one ...

sending sms with java to certain port

372 byte By gerekbolsaa at 2007-11-27 2:36:13
Hi,Please forgive me if the similar thread was started before.Currently I want to send sms to the certain port on the phone using java. I have GSM phone to connect to my PC via USB cable. I have looked around for codes and suggestions but unfortunately could not find solution. Please help me ...

No line matching Interface problem

720 byte By Atiqea at 2007-11-27 2:36:51
I am trying to send sms using WMA. But i am getting the following message:No line matching interface Clip supporting format PCM_SIGNED 11025.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian is supported.With Following Exception:java.lang.IllegalArgumentException: Port formatat ...

game over, game over

12156 byte By coffee95a at 2007-11-27 2:37:57
The Midlet starts but it can't see the sprites at all. Just the tiled layer. And the only thing shown on console is:GAME OVERGAME OVERSo what's wrong on on my code? See it:import javax.microedition.lcdui.*;import javax.microedition.lcdui.game.*;import javax.microedition.media.*;import ...

show canvas on the display...

2680 byte By cristiva at 2007-11-27 2:41:24
Heloo! I have the problem: Why it is not possible to show a canvas on the display, calling a function of the canvas object which call a function of the midlet object that do "display.setCurrent(canvas);". public class MyMidlet extends MIDlet {private Display display;private MyCanvas ...

Port format Error

735 byte By Atiqea at 2007-11-27 2:41:42
I amtrying to send sms using WMA but i am getting the following Error:java.lang.IllegalArgumentException: Port formatat com.sun.midp.io.j2me.sms.Protocol.openPrimInternal(+281)at com.sun.midp.io.j2me.sms.Protocol.openPrim(+8)at javax.microedition.io.Connector.openPrim(+299)at ...

Command problem

3706 byte By antonio5982@libero.ita at 2007-11-27 2:44:59
Hi guys!I have a small problem using the commands, I have 2 forms in different classes and when I am in the second form I would like to be back in the first form....this is the code:I have 2 files: midlet and another fileimport javax.microedition.midlet.*;import ...

Mobile phones, J2ME and Java Enabled Phone Options

316 byte By rmokranea at 2007-11-27 2:45:04
Regarding Mobile Phone and j2me or Java enabled phone I have two query. 1)I need help on finding a mobile phone that support j2me. 2)How can I download a J2ME application to a mobile phone that support J2ME or Is a Java Enabled? Any help is appreciated. -Reda ...

text field (phonenumber)

647 byte By primrosea at 2007-11-27 2:45:54
Hi alli have an j2me app which user will enter a phone number and then the app will make some modifiations on this number and then user can press green button or select call option from the options list to make the calling.my question is when i use the textfield.phonenumber property, the 2 ...