subclassing Canvas class in MIDP

386 byte By pricem3 at 2007-9-26 4:10:40
I'm having trouble sub-classing the javax.microedition.lcdui.Canvas class. Every time I try using examples posted on the java.sun.com site, my compiler spits out some errors about the fact that Canvas has protected constructor & paint() methods. Does anyone have any idea why this is ...

MIDP On Solaris

203 byte By pmc_blue at 2007-9-26 4:13:32
Hi ,Does the MIDP 1.0 solaris reference specification builds with only CLDC 1.0.if yes then can anyone help me with a link from where i can download CLDC 1.0.ThanksVega

socket IO on MIDP

465 byte By myungsun at 2007-9-26 4:13:44
I opened a TCP stream connection between my MIDlet and a server. The connection is established, and what the MIDlet writes to the server is received fine, but when the server writes back an answer (a short test string), it is not picked up by the MIDlet. It waits on read forever, and if ...

PB With Java Embedded Server! Pls Help

942 byte By Omnigunk at 2007-9-26 4:13:57
I'm trying to install the Java Embedded Server Framework and I did it like this! I extracted setup.class into g:\jes2.0. My jdk is installed in "G:\winnt\jdk\bin". I add "g:\jes2.0" to my environment variable based on the help file"Make sure your CLASSPATH environment variable contains . (the ...

Workaround for Zero Font Width problem in pJava

2758 byte By ajkaufma at 2007-9-26 4:14:49
skip down a bit if you don't like storiesI need to use a JTabbedPane and a JTree, but in pjava it won't display right because the font width is set to zero (this is also why text is not centered in buttons/labels/etc).Here's my "stack trace" if you will:To display Text, the paint method (on ...

Here is the j2me_cldc-1_0-src-palm_overlay.zip file

149 byte By ThChevalier at 2007-9-26 4:24:21
I have put the following files on my site at : http://www.thierrychevalier.fr.fm/ Good LuckThChevalier

MIDP for Palm on OS 4.0?

195 byte By robvcox at 2007-9-26 4:24:41
Hi,The ea version of the palm midp says it is for Palm OS 3.5. Has anyone tried this with OS 4.0? (such as the Sony Clie 610?) Thanks!Robrobcox@pobox.com

Problem Displaying Japanese chars in MIDlet

351 byte By vivek_kurundkar at 2007-9-26 4:27:13
Hi,I want to internationalize my MIDlet application.For that I am using ResourceBundle ,it works fine with J2ME kit.I know it works fine because Jdk1.3 supports displaying unicode characters.I think KVM doesn't support unicode characters.If anybody knows something then please reply ...

How can develop get data from relational db from server through internet?

353 byte By galaxia at 2007-9-26 4:27:37
I have a database on server and i want to develop palm application to browse data from the database and modify records to the database. I only can find out J2ME can pass string using socket, how can i get data from database and display in palm?only cgi can do it? any alternatives?I need help, ...

Problems using javacard.security.*

805 byte By Gauss_1 at 2007-9-26 4:30:49
I'm tyring to use the javacard.security package classes but I have the following problem with all the classes I've tryied (namely Signature, RandomData, KeyBuilder and KeyPair):All this classes builder methods require a byte indicating the kind of algorithm to be used. There are static final ...

Useing Float and Double with KVM

246 byte By lesner at 2007-9-26 4:33:41
Hello,I tried to use float/double variables in KVMs programs.It did not work.would anyone show me how to use this types at KVM programs? I NEED to use double variable for calculating things.Thanks.

Suspend/Resume fonctions on Thread

306 byte By logbord at 2007-9-26 4:34:55
I need to have the suspend/resume functions activatedfor manipulating Thread.I've try to re-introduce this functions in the nativeCore.c / thread.c sources code, but it doesn'tworks.Does anybody know how to implement this functions in the KVM core.Thanks. ...

Certification of Loading Applet

207 byte By HaoXiangYu at 2007-9-26 4:35:47
Hi,I wonder at the detail of certification process of loading applet onto java card. How to assure applet provider is legal and applet content is valid?Thank you.XiangyuHao

Reading data from a text file to the MIDP RMS.

416 byte By PRESCOTT at 2007-9-26 4:37:06
Sorry if this is a bit 2 newbie...What I want to do is read a data file(ie csv), from windows and write the data into the record store.My main idea is to store the recordstore files on windows and updated them from the text windows files and autosync the recordstores between windows and my ...

Debugging

671 byte By rkrubeck at 2007-9-26 4:39:31
I'm running the j2me wireless toolkit 1.0.2 early access and Forte 3.0. How do I debug my wireless application when using the PALM emulator? It appears that the wireless toolket 1.0.2 and Forte 3.0 don't really work well together yet (I certainly have NOT figured out how to run and debug from ...

Where is Virtual Keyboard...

354 byte By longhorns at 2007-9-26 4:41:36
I've created a simple AWT app, and have textfields...However I can't seem to get the "virtual keyboard" to pop up ?I've seen several threads in this forum discussing how to disable it.. .but none in how to pop it..I'm using the StrongArm 1.1 Beta...on an IPAQ 3650...Thanks... E... ...

Can i adda login page before the screen

359 byte By galaxia at 2007-9-26 4:43:17
I discover that there is always a screen "choose one:" that list all classes in the jad, but before that page, i want to insert a page to login first.or i want to have the application that when clicking on the icon, it'll go to a login page then after login page, then go to main menu of ...

Peer-to-Peer Connections

165 byte By krommel at 2007-9-26 4:44:02
Hello,is there a way to connect two MIDP-Devices, simulated with J2MEWTK, via a Peer-to-Peer Connection?Thanks for any hints.Heiko

Problem in APDU-case 1:No command,no response

1373 byte By kalogik1 at 2007-9-26 4:45:12
Hello evrybody.I have done a method in my java card applet which does not return any command data neither response data.I wrote in my APDU script the following(as defined the case 1 in the Zhiqun Chen's book-page 102,says that "P3(the 5th field in the APDU buffer) has to be 0")://CLA ...

I'm too stupid for this..

457 byte By StreichertF at 2007-9-26 4:48:03
I want to install PJava to my HP545.But when i copy the pjavawince_1.0_SH3.cab to the device and try to start it the Pocket PC tells me that no application is connected to this file. It tells me further that i should start the application first and then i should open this file. But as far as i ...

For people who wants to use java with version of palmos before 3.5.

440 byte By ThChevalier at 2007-9-26 4:53:25
The new version of kjava for palmos (MIDP) you can found on java.sun.com only works ifyou use a version fo palmos greater than 3.5. If not you need to use the presiousvirtual machine kvm and KvmUtil. You need the two following files ...

MIDP is crippleware

758 byte By jckendall at 2007-9-26 4:53:58
This implementation is very nice as long as you don't need to interact with _ANY_ other information on the device. Anything you build is TOTALLY isolated from any other application or data on the device. I consider this to be a major flaw in the implementation. At the very least, we should ...

Java VM/API For Palm

318 byte By jckendall at 2007-9-26 4:56:08
Is there any VM/API combo that can provide the following combination of functionality:1. Access and Create Palm based databases (PDB)2. Access the Internet over HTTP (especially for Palm VII)3. Provide a decent GUI API that has access to the soft keyboard and drop down menus. ...

why my commandlistener cannot get response from another object?

456 byte By galaxia at 2007-9-26 4:56:55
hello, i write 2 objects both extends from MIDlet and run class 1, when click submit, i want the screen go to class 2 's screen and run that class, how can i call it?i try in the active class 1 commandlistener get when submit, create a new object for class 2 and set the current display to the ...

PRC Converter Tool doesn't work!

330 byte By ziong at 2007-9-26 5:00:52
Hii wanna to use the PRC Converter Tool, included in midp_palm-1_0-beta.zip, to converter the sampler.jad to a prc file. However it doesn't work. No File had generated after i selected the sampler.jad file and clicked the convert button.i'm using win2k with jdk1.4.any idea?Ziong ...

What jdk to use for Personal Java

182 byte By kpoindexter at 2007-9-26 5:01:34
This is a really stupid question, but one that I need answered anyways.When writing java applets for Personal Java should I be using the jdk1.2 or jdk1.1?

AccessControlException

567 byte By kpoindexter at 2007-9-26 5:02:14
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.io )Can someone please explain what this error is and what might cause it. I am trying to change our applets to run on the IPaq and when I try to test them using pappletviewer I get this ...

How to have more than one column in MIDP's Display?

296 byte By joey829 at 2007-9-26 5:06:04
Dear all,i'm doing a project by MIDP on palm os. i found that the Form class in MIDP on got a append() method to add text field. that makes the Form only have one column per row. how could i create a table that contains more than 1 column?Thanx alotJoey

Forte/J2ME problem

1281 byte By prince83 at 2007-9-26 5:06:15
I am novice in using midlets,, I am trying to run a midlet..using forte 2.0 I am get a missing resource exception and at the same time forte hangs up including the emulator.. The image exists.. Thanks in advance, Here is the code i am trying to execute... ************** package FirstPackage; ...

Running the Java Card 2.1.2 Development on win98

537 byte By razst at 2007-9-26 5:06:37
Hi,I just installed the Java Card(TM) Development Kit Version 2.1.2 on my windows 98 OS with jdk 1.3.1.I set all the Environment Variables for Windows.I also compiled the demos, but I'm unable to run the apdutool. I get a "Bad command or file name".I read in the readme file that one of the ...

Requesting floating point input in a TextField

260 byte By ckoehler at 2007-9-26 5:09:44
Hi! I'm trying to use a TextField and to allow the user to fill in a value in a specific currency, but the available constraints are not suitable. How can I create my own? Or how else can I realize an currency input?Thanks, Carsten

J2ME Wireless Toolkit 1.0.3 Beta

537 byte By ho_ming_tat at 2007-9-26 5:14:07
I'm now using J2MEWTK 1.0.3 Beta to test my J2ME applications and it runs smooth, however I faced a problem when trying the OTA download.After I ran the OTA (emulator -Xjam) and typed the correct location of my JAD files, it showed a list of applications I have on server, but when I've ...

No prc error launching Pose with forte4j30 and j2mewtk 1.0.3

265 byte By oatkinson at 2007-9-26 5:14:23
I am using wireless toolkit 1.0.3 with forte for java 3.0ea and it is working except if i try to use the palm emulator.I get an error saying:Warning: No .prc to runthen nothing happens.Does anyone have any ideas?Olin

where to get Hardware (Java Card & Readers)

307 byte By mehuldave at 2007-9-26 5:15:57
HelloI am new to Java Card Technology. well i have Downloaded the Java Card 2.1.2 Devlp Kit. Thats fine , But from where should i get Hardware like Java Cards & Readers. I am working in Research Institute. & wat are the steps to start with it.Please guide me soon. ...

How to set up J2ME CLDC?

414 byte By JavierHo at 2007-9-26 5:16:00
Hi everyone,I downloaded the J2ME CLDC 1.0.2 and have unzipped the file, however, insides the docs folder, i could not find any information on how to set up the environment for windows to developed Palm OS applications.If there's anyone who knows how to do it, or where i can find such ...

APDU processing

457 byte By lukacda at 2007-9-26 5:16:05
Hello,While i was mining for informations i meet some contradicitons. I don't really understand how does JCRE deal with the applet selecting apdu-s? It's processed automatically, or JCRE passes this apdu also to the active applet's process method, and then the applet must redistribute it ...

Using the CommAPI with Visual Age

189 byte By ZeitlhoferM at 2007-9-26 5:16:06
Hi! Hope someone can help me!My IDE is IBM Visual Age and i want to use the CommAPI where have the win32comm.dll and the javax.....properties files to be placed?

How can i build a development environment of javacard?

311 byte By kshang at 2007-9-26 5:16:18
I am new to javacard , but i get a work from my boss to develope GSM's SIM card with java . I have had some idea of SIM card but i did not how to develope a program on my PC . I know i have to find Simulators and Debuggers for my program , my PC runs WIN98 . So who can tell me what should i do ...

Class not found exception

569 byte By Ssimonj at 2007-9-26 5:17:00
Writting an GUI applet to control some hardware. The code works fine within the P.C. enviroment. But when embeded onto a internet surpport chip. The JOptionPane (input dialog box) will not show when invoked and a Class not found exception is displayed within the control bar of the browser.I had ...

ClassCastException in ServiceTango open source for OSGi and similiar to JES

2591 byte By ikong at 2007-9-26 5:17:50
I tried to excute bundle Club of JES tutorial in ServiceTango for a while.But I couldn't.I wrote the code for Club bundle exactly same with JES tutorial(p17).And I had command start bundle Club in ServiceTango.As u know ServiceTango couldn't excute Club.I can't understand why this problem ...

Hot Sycn. in Palm

344 byte By beefball at 2007-9-26 5:21:17
I am writing palm application using j2me CLDC midlet. The application requires persistent storage of data, which I use RMS api to handle. However, the application also requires hot sycn. of data between palm and desktop PC. Does j2me CLDC midlet have ways yo handle hot sycn. mechanism or there ...

The right way to reading and distinguish barcodes from picture file needed.

178 byte By Renat at 2007-9-26 5:22:31
Hi all.We need to reading and distinguish barcodes from picture file to process its into different ways.Does anybody knows the right way to do that ?

How to get apdutool talk to real reader at com1

372 byte By duncanKam at 2007-9-26 5:24:59
On and off in the last 2 months, I tried to get the apdutool send apdu to gemplus smartcard reader connected to COM1. The reader was installed with its driver in Windows 2000 platform. I used -s option of apdutool but always got nosuchport exception. I tried -sCOM1 -s1 ... etc. still fail. ...

Passing Arguments to MIDlets

515 byte By blgoodwin918 at 2007-9-26 5:26:19
Is there a means for passing arguments to MIDlets when they are launched? Here's my situation. I'm using a Palm VII with Palm OS3.5. It does not support MIDlet http connections using the onboard wireless antenna. A workaround is to create a pqa for the web stuff, and launch the midlet from ...

what should I do if I put j2me program in the CE?

148 byte By epsonstrong at 2007-9-26 5:29:28
I have a pda of compaq(windows ce),and I want to run some j2me program on it.Is there anything that I must prepare to do?Thanks

J2me Beta Samples Httpconnection Post Problem

274 byte By wolfpackiii at 2007-9-26 5:30:12
I'm using the j2me Wireless Toolkit Beta Release 1.0.3 and tried the samples. Everything works except the httpconnection post method sample to a servlet. The problem exists on the toolkit, POSE and my PALM. What gives? I'm running an Orion App server.

MIDlets: Bypassing "Choose One"

500 byte By johnnyooi at 2007-9-26 5:31:35
Greets all. I'd like to know if it's possible to bypass that "Choose One" menu that you always get when you make a MIDlet. I only ever have one MIDlet, so why can't I get that one to run straight off. If I choose the name of my MIDlet, it runs fine, but I'd like to get it to run straight ...

InputStream won't read more than 256 char's

358 byte By Marco.Caetano at 2007-9-26 5:32:48
Hi!Has anyone try to make a HttpConnection and read from a InputStream a line with more than 256 chars? Is there any restrictions that I should be aware reading from a InputStream?I' am dealing with a cut off in my InputStream... The server sends me a msg which I can't fully read because is ...

Lightweight!

228 byte By dr_sykero at 2007-9-26 5:33:04
I have made components that inherit directly from the Component class (not Canvas or Panel). Why they don't show up when I use them in Xlets and run with PJEE?In applets they work just fine.

Sounds

159 byte By blgoodwin918 at 2007-9-26 5:35:16
I hope I missed it, but it doesn't look like there is any way to play a sound (even a boring old beep) using MIDP.Please tell me I'm mistaken!?