does socket: protocol for Connector work

411 byte By maniark at 2007-9-26 10:45:43
hi,I am trying to use TCPIP sockets for a MIDlet on cellphones. Does the "socket://localhost:11000" protocol for the Connector class work correctly. I can connect to other servers using the emulator and the Motorola i85 but I have problems reading data from the InputStream created. Is there a ...

Need help with Socket prog using Java wireless toolkit

473 byte By razarizvi at 2007-9-26 10:49:33
Hi, I am not able to communicate between client (Palm emulator) and server (Java on computer) using Java Wireless toolkit. Can anyone please tell me a site that shows an example. I have seen a bunch of examples but they all run by importing com.sun.kjava which seems to have vanished into thin ...

javacomm-parallel port write

249 byte By diask1 at 2007-9-26 10:52:07
I have Windows ME. I followed all the instructions and tried the ex. SimpleWrite. It compiles fine, but when I run it i.e. java SimpleWrite, it does nothing and I get the DOS prompt - no error message and no printing.Please help

Cannot write to serial port

288 byte By DebbieSockut at 2007-9-26 10:55:50
Hi,I am using jdk 1.3.1, forte ce 3.0 and j2me 1.0.3 beta.I wrote a midlet that should write and read strings to and from the serial port.Using the Emulator I have the reading working, but the writing freezes the execution.Any ideas?Debbie

Garbage Collector seems not to run

486 byte By asommer1 at 2007-9-26 10:56:03
Hi!I have a problem with the garbage collector:To free memory, I regularly run the garbage collector in my app ( System.gc() ) after releasing resources by setting the reference variable to "null". But after some time I get an "out of heap memory" error. It seems that the gc doesn't run - I ...

kvm.prc and kvmutil.prc

501 byte By carlsnm at 2007-9-26 10:56:40
hi,i'm attempting to start java development on the palm. i've been looking around for KVM.prc, but can't seem to find it anywhere. from what i've read you're supposed to download the cldc and then build it, but i get an error that it can't find -lICE if i actually get this thing to build ...

unable to view management console on Unix

355 byte By rvkishore at 2007-9-26 11:00:43
Hi All, I just installed JES2.0 along with the patch ( I am on Solaris 5.8). I am unable to access the management console from the browser. I get no errors at startup time.I did a netstat and I do have aprocess listening on 8080. Any ideas ?when i start JES on win98 .. I am able to view it ...

Is a browser part of MIDP?

65 byte By Bawazeer at 2007-9-26 11:01:02
Is a browser part of MIDP?Thanks in advance.

KVM,KToolBar & Forte V3

399 byte By johnnyooi at 2007-9-26 11:03:59
Is the KToolBar properly supported in Forte 3? I installed it (I used to use Forte 2, but I upgraded) and integrated it to Forte 3, but I can't get the MIdlet Suite working and I keep getting NullPointerExceptions, so before I submit a bug report. I'd like to know if anyone else has had this ...

J2ME, MIDP,CLDC, ...

756 byte By LauraD at 2007-9-26 11:04:26
Hi all,i'm new to this "micro Java tech" and i would like to have clear some general concepts ;-)right now i've got an application written in "waba" for running it in a Palm device, i just needed waba VM, waba classes and some applications for creating the prc files.Now i would like to ...

apdutool returns javax.comm.NoSuchPortException.

415 byte By roopary at 2007-9-26 11:05:55
Hi I am trying to load the HelloWorld applet to the card.I am using a Gemplus 410-SL reader and GemXpresso card.it is Java card 2.1 and gsm compliant SIM card.apdutool -s COM1 HelloWorld.scrit works fine in jcwde but when i try to install on the card it throws anosuch port exceptionWhat am i ...

IPAQ

441 byte By opilipenko at 2007-9-26 11:06:20
Hello,I've developed java application and while trying to run it under Win CE (IPAQ) using Jeode JVM got java.lang.StackOverflowErrorApplication is adopted to jdk 1.1 specification I understand that something goes wrong with memory but need to debug it. If somebody can advise me with some ...

Canned Responses?

2291 byte By johnnyooi at 2007-9-26 11:06:30
I want to use the I/O library routines for development -- primarily the File reading and writing classes. However, they are not including with the KVM distribution. So I decided to try importing them into a different library and including their dependent files along with them. When I compiled ...

Help: Error when try to run j2mewtk 1.0.3 under redhat linux7.1

1223 byte By raybao at 2007-9-26 11:08:27
I downloaded and installed a j2mewtk 1.0.3 beta release onto my linux pc, but I got message when I tried to run ktoolbar.sh: $ sh ktoolbar.sh ktoolbar.sh: line 23: 2200 Segmentation fault ${javapathtowtk}java -Dkvem.home=${KVEM_HOME} -cp ${KVEM_LIB}/kenv.zip:${KVEM_LIB}/ktools.zip ...

PRC Converter and Packages

584 byte By Rbralston at 2007-9-26 11:09:37
I have successfully created a couple of trivial examples using MIDP and the PRC Converter. These were small, monolithic examples without a package declaration. However, in creating a more complicated midlet, I have begun to use a package, say org.mycompany.project to organize the classes. These ...

Can I develop a smart card application in handheld device

538 byte By balusug at 2007-9-26 11:09:41
Can I develop a smart card application, to perform Static Data Authentication (SDA) and Dynamic Data Authentication (DDA) , which runs in a hand held device. The hand held device is having Windows CE 2.11 as operating system. 1. For this which Application Development Environment should I use ? ...

How to get MIDlet to load up a URL in WAP browser?

663 byte By timnkc at 2007-9-26 11:09:45
Understand that WAP broswer in some J2ME-enabled phones is able to detect download of MIDlet's descriptor (.jad) and load up the MIDlet (.jar) by invoking the phone's application manager (JAM) or MIDP runtime accordingly.Wondering if any API in MIDP (presently or to be introduced in near ...

Applet Id?

260 byte By psampras at 2007-9-26 11:10:21
Is there any significance while Giving ID to the Applet?if yes then plz, explain me the Wallet Applet ID0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x6 0x1i.e why it starts with 0xa0, ends with 0x1, uniqueness fieldThanks

Dynamically download new classes.

228 byte By msalline at 2007-9-26 11:11:08
Is it possible to download a new classfile into the KVM and to use it in an application. I am using KVM 1.0.3 .I saw that someone else had been askig the same thing but I didnt understand the answers.

Midlet Developers

528 byte By winbourne1 at 2007-9-26 11:12:31
If anyone out there is a midlet developer and has midlets for the Siemens SL45i or the Motorola Accompli 008 that you want to be available for download to thousands of users, visit www.midletcentral.com. Your midlet can either be free to download or can be bought on the site.Midlets can either ...

getting IP address in J2ME

399 byte By xavierpalau at 2007-9-26 11:12:36
does anyone know how to get the device local IP address or host name? This was implemented by java.net (InetAddress class) calling an OS native method, but this is not possible anymore in J2ME. Any suggestions? PD: More details about the question and 6 Duke Dollars if you reply on the ...

Regarding org.osgi.service.http.HttpService?

610 byte By kumaranm at 2007-9-26 11:14:54
Hello,Basically I use the "org.osgi.service.http.HttpService" to register Servlets / Resources (jar filest, html, gif, etc).I want to display html table, which lists all the Servlets, Resources and Services that are registered in the OSGI framework.I used the BundleContext.getServiceReferences ...

Launching Midlets

315 byte By mdande at 2007-9-26 11:15:42
If I have a midlet suite, could I have one midlet within the suite launch another midlet in the suite? If so, is there a reference on how to do this? I am using Class launcher = Class.forName(<class>)launcher.newInstance() but this does not seem to work.thank you in advance ...

Length Applet Id?

182 byte By bhumahajan at 2007-9-26 11:17:13
Plz, anyone tell me about the length ,Meaning,start byte,end byte etc.of Applet ID? Your reply will highly appriciateThanksBhupendra Mahajan

Stopping a Thread blocking on I/O

2189 byte By vineshp01 at 2007-9-26 11:17:54
Hi,Does anyone have a simple, elegant and clean solution for stopping a Thread that is blocking on an I/O call in an MIDP client. My problem is that any of the Java I/O calls could block while sending a request or receiving a response but the user must have the ability to Stop his current ...

midp4palm converter and linux

673 byte By rstreato at 2007-9-26 11:19:52
I am trying to run the midp4palm converter to convert my jar/jad files into a prc file. The converter screen comes up but when I try to click the button to open the jad file I get the following errorjava.lang.VerifyError: (class: com/sun/midp/converter/caFileChooser$JADPreviewer, method: ...

Is it possible to develop tookit that provides features missing in profilel

258 byte By ruchikadhingra at 2007-9-26 11:21:49
Hi,Is it possible to develop a toolkit that makes features missing in MIDP available to application developers? For eg, I want to develop a tookit targetted at the game developers.. how can i do this? any clues?ThanxRuchika

Can we load libraries dynamically using j2me?

479 byte By ruchikadhingra at 2007-9-26 11:21:53
Hi,We have developed an SDK targetted towards the game developers and have been reseraching into the scope of extending our SDK (which currently supports only Epoch and Windows CE) to j2me enabled phones? Is there some way by which we can reuse our libraries (our libraries are avaialble as ...

JNI_OnLoad entry point (gps/serial port reading)

989 byte By chungfat at 2007-9-26 11:22:03
Hi guys,I'm using the Jeode Java Package for the IPAQ (but have the same problem with the Sun PJ package) and trying to read from a GPS card plugged through the PCMCIA sleeve. Since javax.comm doesn't support the ipaq, I'm trying to write a C-thread that will send data back to the Java layer ...

Database class in kjava

784 byte By atcertik at 2007-9-26 11:22:20
After several days of frustration, I am still not able to create a working Database in a Palm application. The following code is reduced to a real minimum:File = new Database(FileType, CreatorID, Database.READWRITE);if(!File.isOpen()) {Database.create(0, "Name", CreatorID, FileType, false);File ...

How to get a UML/other diagram for Bundle relationships?

567 byte By kumaranm at 2007-9-26 11:22:52
Hello,If I use the OSGI Device discovery, which in turn uses the Driver.match(), Driver.attach() and I have bunch of bundles, with its own Driver, Device , MyOwn services.As the bundles go thru the discovery process, the match/attach gets called and finally all the discovery process is ...

Connection on PalmOS

330 byte By lucky_boy at 2007-9-26 11:24:40
HiI am not able to communicate between client ( Palm emulator ) and server ( Java on PC ) using CLDC. Can anybody tell me a site that shows any examples. Or someone please show me some lines of code that will send byte stream from client - Palm emulator to server and contrariwise. Thanx. ...

Standard access to JavaCard with OCF and its future

617 byte By streiker at 2007-9-26 11:24:44
JavaCard is a standard for on card applications.Fine!What shall we do with cards if no standard method to access them from networks, databases, clients, PCs exists?A proposed standard was the opencard framework (www.ocf.com) .very clever solution but it seems suffering of lack of maintenance, ...

Fonts in MIDP

259 byte By d1camero at 2007-9-26 11:26:07
I am going crazy trying to get fonts to work with MIDP. It appears that I have to extend the StringItem class, override the paint method and do a graphics.setFont - this sounds way too cumbersome - there has to be an easier way. Don

address book

136 byte By kiranml at 2007-9-26 11:26:34
Hi,How can phone's or SIM's Address book be accessed from SIM application?thanks and regards,kiran.

How to write a log file to local file system?

294 byte By zack327 at 2007-9-26 11:28:05
Hi there,I am trying to write an application using MIDP. I want to use a log file.I know there is RMS class of record store. But I dont know where exactly record store is and are there any possible ways to write a log file to memory or MMC card?Thanks,

How can a device be made to support more than one profiles?

220 byte By ruchikadhingra at 2007-9-26 11:28:13
Hi,Can J2me devices supports more than one profiles? If yes, what needs to be done inorder to add a new profile? Is only the device manufacturer allowed to add new profiles?ThanxRuchika

Profiling tools

397 byte By fmhunter at 2007-9-26 11:30:10
Are there any profiling tools that can be used to Profile a J2ME application ?I've tried to use JProbe but no luck. The Sitraka people say that theoretically JProbe will work but they can't support this since it is not a feature of the application. Has any one had any success using JProbe or ...

A question about VM

229 byte By HaoXiangYu at 2007-9-26 11:30:22
Hi,everybodyMy question is how does OnCard VM works. It interpretsCAP, or compiles and then executes? If OnCard VM is a interpreter, how can it ensure the speed of performance?Thanks in advance.

how to load an image?

320 byte By rbyrom at 2007-9-26 11:31:05
Trying to load an image using the j2me toolkit, but can't seem to get things working. Does anyone know how to do this? (I think the problem I'm having is more to do with the configuration of the app configs, I've looked at the default examples so far but they dont reveal too much)thanxrob ...

List Components and images

124 byte By fmhunter at 2007-9-26 11:32:46
How would I go about changing the image of an item in the list when the item is selected? Thanks

PRC Converter error 1060

469 byte By wbrogden at 2007-9-26 11:32:48
I can't get the converter to work, the reported error is something about a mismatch between the JAR and JAD files, but I copied the attribute text directly so they have to be the same. The readme says something about a known bug 4511054 Error Code 1060 when converting JAR with MANIFEST at the ...

Serial Port and Palm(MIDP)

144 byte By fdonia at 2007-9-26 11:35:21
hi all,I need to read some data from a palm serial port. Is anybody know how I can do this?Thanks a lotfdonia

How to start with ?

572 byte By mehuldave at 2007-9-26 11:37:19
Hello I have recently completed my Online Auctions site. I am suppose to integerate the Java Cards with the site itself for Authentication & various other activities. Please tell me how to start with the development. is Java Card (gem Expresso ) suitable for my application ? how will Java ...

Memory comparison java - c

691 byte By carlsnm at 2007-9-26 11:38:20
hi, i'm using midp for palm, 1.0 beta.my palm application requires quite a bit of memory usage, i'm drawing a lot of vector map data on the screen. my first question is, would it be more memory efficient to generate a raster and load that up there or would that eat up a lot of memory too? the ...

j2mewtk

273 byte By basdev at 2007-9-26 11:38:38
Hi,I'm trying the wtk on Linux. It all seems to work, however, when I try to run a midlet, a very small black non-resizable window pops up, and that's it.Anyone else have this problem? Or should I move to Windoze ;( ?Regards,Bas.

Java Browser

82 byte By muzzwezz at 2007-9-26 11:39:56
I am looking for a Java browser for a pJava platform - any pointers?

midp4palm, Palm OS 4.0 & HttpConnection

363 byte By poticha at 2007-9-26 11:40:20
Hi,I've a App for Palm -- it opens HttpConnection -- it works with Palm OS 3.5 without problems.The App dosn't work with Palm OS 4.0 -> IOErrorI've tested HttpView from Demos.rpc -- some Error.Have some one expiriens to transfer data over HTTP with Palm m50X (Palm OS 4.0) ?Thank youMark ...

Installing a bundle from selected file.

396 byte By budelgaji at 2007-9-26 11:41:16
Hi.Is there anyone who know the method that installing a bundle from selected file via file open dialog?It is a function in JES management panel, but I want to implement it by myself with Jes Apis.Installing from a specfied URL is easy, but installing from client side is very difficult. I have ...

Confusion!!!

493 byte By nrlz at 2007-9-26 11:42:25
Okay now I'm getting confused about the whole JavaCard idea. I thought JavaCard was suppose to be the new and secure way of implementing some sort of fail-safe authentication?Like a more secure version of a credit-card magnetic strip and a lot more secure version of a driving license.Now it ...