problems with installation of WTK 2.5

1609 byte By eljrua at 2007-11-27 6:03:39
hi together,i have installed jdk1.6.0_01 & eclipse under Windows XP. i tested both with a hello world programm & both worked well.them i wanted to install sun_java_wireless_toolkit-2_5-windows, but it failed. by a installations-window with the title "Java(TM) Virtual Machine" appeared ...

Fileconnection working only if midlet is signed

744 byte By Chargea at 2007-11-27 6:04:39
Whenever I try to use 'Enumeration e = FileSystemRegistry.listRoots();' to get the roots on my simulated file system the emulator asks for permission and freezes*... However if I package the midlet, sign it and run it via the 'run via OTA' option in the Toolkit it works flawlessly...And if ...

Adding an image to a j2me app

304 byte By JFrain2004a at 2007-11-27 6:05:02
I have created a simple midlet app in netBeans to run on my mobile. Downloaded the jar to my mobile and works fine. What I want to do now is create a new screen with a background image but can't find any examples of how to add an image to an app?Any one got any pointers on how to do ...

help :(

199 byte By upsguy27a at 2007-11-27 6:05:07
im trying to run midlets that i convertered using the jartoprc_w.exe but when i sync them and run them i always get a java.lang.OutOfMemoryError. im a noob at this so how do i get them to run?

Where can I find the JCOP tutorial?

595 byte By Bobby_SHa at 2007-11-27 6:05:39
The " Load" APDU command of my card is a little different from that of the JCOP. So if I use JCOP to load applets to my card, there will be error.So I wonder if I can modify the default parameters of APDU command in JCOP. Or is there a JCOP tutorial ?I can't find help in Eclipse help content. ...

set classpath for J2ME using WTK 22 >error

1521 byte By dotruongduca at 2007-11-27 6:05:59
I downloaded J2ME - WTK22 ,and I installed in c:\wtk22. Then i set classpath as follows://--SET PATH = %PATH%; C:\WTK22\BINSET J2MEWTK_HOME = C:\WTK22SET MIDPAPI = %J2MEWTK_HOME%\lib\midpapi10.jar; %J2MEWTK_HOME%\lib\cldcapi10.jarSET J2MECLASSPATH ...

How to get Bluetooth Address of N93

275 byte By Atiqea at 2007-11-27 6:06:36
I want to get bluetooth address of Nokia N93 set . How to get it. I am trying to get address with the following code :localDevice.getBluetoothAddress();It is working file with N72 and 6600. but on N93 It donot return address. How to get BTAddress of N93.

Use the phone like a Headset

500 byte By gdrghgffdtra at 2007-11-27 6:07:08
HI!I have a Motorola Base Station DC800 ( http://mx.preciomania.com/search_getprod.php/masterid=17874778) that I can connect to a PC, and send audio through Bluetooth to a Motorola HT820 Headset ( http://www.expansys.es/f.aspx?i=124523)Now...Can I receive the audio of the Base Station in my ...

Creating a simple application that can switch between English and Chinese..

1129 byte By psyeua at 2007-11-27 6:07:35
Hi guys,I need your help with regards to this simple application. I want to create a simple program that can switch between English and Chinese LanguageMy initial screen would look like this:|Choose your language:||--|| o English || o Chinese || || EXIT ||OK||-When I choose chinese I want to ...

How make the HContainer navigable?

4902 byte By Miki_Koha at 2007-11-27 6:08:08
Hello, I am trying to make my own 揅omponent? I want put some buttons pictures (HStaticIcon) to HContainer. I wont add first HStaticIcon using HContainer.add(HComponent) and next by using HContainer.addAfter(HComponent). And now there is my problem I don抰 know what interface I have to implements ...

web browser

674 byte By sebvena at 2007-11-27 6:08:27
Hello,I would like to know if there is some kind of J2ME web browser that we could use within a midlet to display data?Via GOOGLE i found this mini-opera but i am not sure if we can access it via our own midlet , is there an API for mini-opera available?What i was thinking to do is to have a ...

signing a midlet advice

166 byte By jonney69a at 2007-11-27 6:09:02
Hi whats the difference between a self signed one and one that you buy from somewhere?which is the best certificate to buy and why do midlets need them?

How can I recognize the input on a CustomItem

319 byte By MelGohana at 2007-11-27 6:10:00
Hi, I am doing my own TextField with CustomItems, I already have the paint method and the traverse one, everything seems to be fine, but how can I recognize the user input. I tried on the traverse method but only the keys are recognized.Please help me I am 3 days and I couldnt have found any ...

Problem in serial port communication in j2me

581 byte By haimasreeba at 2007-11-27 6:10:52
I am developing an application for hp ipaq hw6500. A part of it needs to find out the current location. For that initially i opted for location api, but that didnt work out in ipaq. So i thought of using serial port communication. Now I have used the following..sc= ...

Drawing a String using Graphics Object

517 byte By MIKE9009a at 2007-11-27 6:11:12
When I am printing a long String using the following methodString currentMessage // The size of the String is largeg.drawString(currentMessage, x, y, Graphics.BOTTOM | Graphics.HCENTER);only the middle of the String is shown on the sreen.The first and last parts are stripped off because of the ...

reading two strings from rms

1920 byte By eckoa at 2007-11-27 6:12:15
hi guys i save two strings in the same array of bytes in this way:baos = new ByteArrayOutputStream();dos = new DataOutputStream(baos);dos.writeChars(id);dos.writeChars(dire);System.out.println(id);System.out.println(dire);dos.flush();registro = ...

problem with instalation

460 byte By babuskaa at 2007-11-27 6:12:40
Hello, i have a problem with instalation of midlet on my device .. HP iPAQ hw 6015 (WMA 2.0 MIDP 2.0) ... during instalation to device there is a missing report : Midlet cannot be installed. Midlet requires the use of particular network resource to listen for network information. This network ...

Run applet on wireless browser

352 byte By megaskinsa at 2007-11-27 6:13:15
A liitle help please :) I do lots of java apps but this is my first foray into the wild and woolly wireless world. . .I have a web app the runs an applet in the browser. I need some help in figuring out how to enable this applet to run on a browser for a wireless device.Thanks!Message was ...

Javadoc for Bluetooth API?

58 byte By Nortona at 2007-11-27 6:13:16
Where can I download the Javadoc for Bluetooth API?

creating trial software

187 byte By luqmana at 2007-11-27 6:14:32
whats the best way to create j2me demo trial software.i just want the application to run 10 times then not run again. how would this be done. any source code would be great.

Requst For Pocket PC

143 byte By mike2236a at 2007-11-27 6:15:01
HiI have a Qtek S200 that it have windows mobile 5i want install jdk and intelijidea on it possible?plz help

DiscoveryListener.SERVICE_SEARCH_DEVICE_NOT_REACHABLE

537 byte By Markus1982a at 2007-11-27 6:15:57
Hello together!I have a midlet that uses a bluetooth conneciton. With a nokia it starts reading, but with the Sony Ericsson K750i I just find the device and then when I search for services I get in the method serviceSearchCompleted(int transactionID, int responseCode)the result 6 which ...

activating loudspeaker mode in j2me

352 byte By isuru_81a at 2007-11-27 6:17:02
Hi all,does anybody know how to activate loudspeaker mode in j2me.well actually my problem is the i want to record some sound in j2me. but i have to keep the phone very closer to the audio source. i thought if i could activate loudspeaker mode it will not necessary to keep the phone ...

Upload my MIDlet.

118 byte By coffee95a at 2007-11-27 6:17:32
Can I put my .jar and .jad files on a http web page and the MIDlet can be downloaded directly from cell phones?

Is it possible to read SMS from Inbox?

155 byte By sagar123a at 2007-11-27 6:19:09
Hi All,I just wanted to know that is it possible to read SMS from my inbox using j2me?If so plz tell how? and which apis I should use?

How to read a RMS file

204 byte By DNL21a at 2007-11-27 6:21:05
Is it possible to read a RMS file from my pc written by a Midlet application?I need to find a way to read the rms file and convert it to any format supported by SQL or MS Access.Thnx!

client-server communication

680 byte By anjaa at 2007-11-27 6:21:13
Hi!I'm trying to write a midlet that communicates with a server running on a PC. (with a Socket connection). On the emulator everything works fine. On the phone, the app connects to the server but then it is not able to send any message to it. I tried with different methods.I tried using ...

GemXpresso JCard Manager session authentication problem

2359 byte By vcalmalioa at 2007-11-27 6:21:39
Hello!First of all I am new in Java Card Technology and I am trying to explore theJCard Manager environment. I am using GemSafe Xpresso Cards.My problem is that I cant create a session between reader and card in one of mycards. The trace in this card's authenticate prosses is:Default key file ...

j2me code for playing the rtp file in streaming way

263 byte By Picklua at 2007-11-27 6:23:31
j2me code written for the following requirementthe program will take a input of a web address (e.g. rtp://mysong.com/abc.wav) and will play the rtp file in streaming way.plz response in 'picklu@gmail.com'. its very necessary for my project.

How make UDP conection in a TC65 siemens

174 byte By PMoreiraa at 2007-11-27 6:23:55
Hi to all, I have a TC65 siemens module Release 2, How can make a UDP conection for sending data?, is necesary crate a profile conection with AT commands?Thank.

How can make a UDP conection in TC65 siemens module

174 byte By PMoreiraa at 2007-11-27 6:23:58
Hi to all, I have a TC65 siemens module Release 2, How can make a UDP conection for sending data?, is necesary crate a profile conection with AT commands?Thank.

database entry from an midp application

46 byte By rEnUa at 2007-11-27 6:24:48
database entry from an midp application

can we acess the inbox using native code

389 byte By sagar123a at 2007-11-27 6:25:09
I just wanted to acess the SMS inbox using j2me code, but came to know that we cannot acess the inbox using j2me code so i just had a query that cant we find the underlying os name and version using System.getProperty() and then depending on the os have a different native code for different os ...

Problem with BioAPI in jcop simulator

8441 byte By Ievaa at 2007-11-27 6:25:30
Hello everyone.I am trying to develop verification application, that implements javacard forum BioAPI. The problem is, that simple server-client sample (from java card kit 2.2.2 ) wokrs fine on JCOP card, but i can't load it in the simulator. It always returns some terminal error.Could anyone ...

new to J2ME how to run program in mobile device?

110 byte By eng_wallaaa at 2007-11-27 6:25:45
please i need your help i want to know which file of program we transfer tomobile and how we install it

String concatenation not happening with midp classes

467 byte By Nortona at 2007-11-27 6:25:53
$ javac -bootclasspath /opt/midp/classes MyMIDlet.javaWhen I compile my code with the above command, I get the following error:-MainCanvas.java:192: cannot access java.lang.StringBuilderclass file for java.lang.StringBuilder not foundString name = firstname + " " + surname;-^It can't append ...

WTK http stack implementation bug: malformed URL

1286 byte By Raienra at 2007-11-27 6:26:20
Hithe WTK emulators dont parse URLs correctly. The following code throws an "java.lang.IllegalArgumentException: malformed URL" exception. It works on most phones and the SonyEricsson J2ME SDK tho.c = (HttpConnection) Connector.open(" http://www.4950.net");The stack trace ...

How to specify path to a resource?

832 byte By Nortona at 2007-11-27 6:27:12
I have a MyMIDlet.java file and "pole.gif" image on the same folder. Now I compile and run them as follows:-javac -bootclasspath /opt/midp/classes MyMIDlet.java preverify -classpath /opt/midp/classes:. -d . MyMIDlet midp -classpath /opt/midp/classes:. MyMIDletI get the following ...

J2SE compatibility

132 byte By NourElsaftya at 2007-11-27 6:27:50
Hi all, I want to use generics in my j2me app, does j2me support the new features of Java5?Thanks.Ahmad Elsafty

Hot to recognize the space button!

469 byte By MelGohana at 2007-11-27 6:28:45
Hi, I had to made a customItem, in fact a TextField. Now I have managed to get theinput from the user and made an algoryth to write and everything. Now the problem is this one:I can have numbers, letters and spaces on my TextField, with numbers and letters is easy, but with spaces I just cant ...

Would anyone like to help me solve the problem of my card applet?

7859 byte By Bobby_SHa at 2007-11-27 6:28:52
Hi,Recently I wrote a Java card applet to store array of bytes into my card.When I send APDU, it always sends back "6F 00",which means: No precise diagnosis.Here is the code of my applet: /** * */package cn.ac.sinap.baoqiang.fileaccess;import javacard.framework.APDU;import ...

J2ME MMAPI: capture audio in AMR with given bitrate

388 byte By inventora at 2007-11-27 6:29:04
Colleagues,I'm facing issue while trying to record audio in AMR. While I successfully record audio in AMR 12.2 kbps I can not change the bitrate. It is always 12.2 kbps regardless of what I specify in media locator string.Could anybody help me to figure out what parameters should I specify to ...

how to get Terminal Response for the framework commands

257 byte By MikeNa at 2007-11-27 6:29:31
Hey,i am writing a javacard applet using javacard kit 2.1.2 and the SIM API 03.19. i need to get "Terminal Response" for the framework commands, e.g. "Setup Event List" or "setup Menu". Is it possible? How?Thanks in advance!MikeN

capture System.err

65 byte By willownighta at 2007-11-27 6:31:01
how do i capture System.err so i can do with it as i will?

Java Card Implementation

947 byte By vskaya at 2007-11-27 6:33:26
I know there are some threads which discussed on Java Card Implementation. And things are scattered. I would like to share my understanding with few questions.My Understanding:Javacard toolkit helps developers to write smart card application. Developers should by smartcard which supports JCVM ...

RFID Software for Java ME Devices

209 byte By vskaya at 2007-11-27 6:33:37
Anybody have tried RFID software for JME devices.. Can any one give some pointer to know on that...I have only one link available: http://www.sun.com/software/solutions/rfid/ds/ds_rfid_javame.pdf

Uploading images from Midlet

328 byte By vinay07a at 2007-11-27 6:33:44
Hi,I need to upload a image from the Midlet using a middle layer program.I am using servlets as middle layer.I have send the image via outputStream from midlet. But in my servlet, there is no data present in the httpServletRequest object.Anybody tell me how to pass the image data from ...

override JarSize in netbeans

386 byte By PeppeMEa at 2007-11-27 6:33:58
Netbeans automatically put in jad the correct JarSize attribute but I wish to set it to a different value.I read this: http://wiki.netbeans.org/wiki/view/MobilityAntExtensions#section-MobilityAntExtensions-LtNbJadGtIt say that in <nb-jad> section I can add support for updating values of ...

Can i use FileConnection Apis in order to read message from Inbox?

73 byte By Tarababua at 2007-11-27 6:34:27
Can i use FileConnection Apis in order to read message from Inbox?

FileConnection API

161 byte By Tarababua at 2007-11-27 6:35:24
i want to write a j2me application which read messages from inbox.Can i use FileConnection for reading messages from inbox?Thanks in advance