ClassCastException in Connector.java code

1218 byte By sm111 at 2007-9-26 1:14:07
Hi All,I understand what ClassCastException is. This is the code from one of the CLDC API's provided (Connector.java) which causes the exception :-public static DataInputStream openDataInputStream(String name)throws IOException {InputConnection con =(InputConnection)Connector.open(name, ...

J2mewtk 1.0.2 - Palm/SSL Problem

598 byte By chbuerki at 2007-9-26 1:16:18
Installed software: Forte 2 CE, POSE (Rom 3.5), J2MEwtk 1.0.2. Problem: If I compile and execute my source with Forte 2 (J2MEwtk included) and testing it on the Palm Emulator, I can read urls like http://www..com but I get an Error, when reading from urls like https://www..comSun announced in ...

Is it possible to send SMS using Java?

612 byte By ventural at 2007-9-26 1:18:13
Hello!I am an Italian student who studies Computer Science at Pisa University, andI am developing some projects in Java using Java 2 Standard Edition (J2SE) and Java 2 Micro Edition (J2ME, for MIDP 1.0 compliant devices). I need to know if there are some Java API(for J2SE and J2ME) to send SMS ...

SOAP & Midlet

244 byte By salvo503 at 2007-9-26 1:18:48
Hi, I'm developing a client application for a cell phone using Midlets, but i have to use a service located on a separate server. Can I use SOAP inside a Midlet to call the server's methods? Thanks,Salvatore

How Can I get personal java example source?

145 byte By RenoCruise at 2007-9-26 1:18:55
i want to know how to program with p-java.How Can I get personal java example source?and where can i get them?

controlling the layout of application objects in MIDP

183 byte By narra_rani at 2007-9-26 1:21:02
If I don't want to use the MIDP high level user interface API, can I control the layout and position of application objects in MIDP?thanks in advance,Rani

Biometrics and JavaCards

212 byte By jm_duque at 2007-9-26 1:22:42
Do you know if there is any company doing biometric applications with java.If i have a biometric divice what info do i have to get from the divice in order to make it work with the java card.

Run the jcwde once and call many APDU scripts simultaneously?

706 byte By kalogik1 at 2007-9-26 1:23:52
Hello everybody.I currentrly try to develop an applet and I was wondering if it is possible to run the jcwde tool just once and call many apdu scripts(.scr files).For example let says that you create an applet which has functions(INStrunctions) such as:1)Verify Pin2)Create a Record 3)Read a ...

Recommended Reading

431 byte By s_d_roy at 2007-9-26 1:24:34
Hello,I picked up a copy of Zhiqun Chen's Java Card book and downloaded the Programmer's Guide on opencard.org. Is there any other recommended reading for smart card technology(publised books, articles and downloadable documents).I'm interested in programming actual Card applets and ...

Installing KVM in Compag's PDA - iPaq

209 byte By joey829 at 2007-9-26 1:26:56
Dear all,Is it possible to install KVM or other java midlets into Compaq's PDA - iPaq? I've heard that the iPaq PDA does not support java. Do anyone know if it's real or not?Joey

InfraRed and J2ME for palm

151 byte By axlrose82 at 2007-9-26 1:30:56
Hi, Is there anyway where I can open the infra red port on the palm and then send data through it to a printer?Thanx.Adrian

interactive games, and MIDP

1203 byte By rogmen at 2007-9-26 1:30:58
Hi !I have a few questions : 1. Suppose I wanted to develop a chess/tic-tac-toe/etc kind of interactive game for use on MIDP devices, where people can play games with each other. A central servlet stores the state of each game, and acts as a general controller for each MIDP client. So, if my ...

Reading a text file in archive in jar

572 byte By chenshuhan at 2007-9-26 1:32:33
Hi,I am unable to read a text file in my jar archive.Example code:try{ InputConnection con = (InputConnection) Connector.open("file://text/info.txt", Connector.READ); InputStream in = con.openInputStream(); StringBuffer buf = new StringBuffer(); int ch; while((ch = in.read()) != -1 ) ...

network hardware environment Seting!!

424 byte By liluqun at 2007-9-26 1:36:36
I want to develope a network palm programm, I don't know how to set up the hardware environment?use the cradle, palm ,PC,or emulator, enough?how to set the connection between palm and pc? by serial port ? or by mobile phone? By serial port can debuge tcp/ip programm?how about use emulator? ...

Can we develop Conduit for Palm in J2ME

161 byte By lsudheer at 2007-9-26 1:36:37
Hello There,I want to write conduit for palm.Is it possible using J2ME.Pls let me know Thanks in advance..Sudheer

Which PDA can J2ME run on? Palm / IPaq

126 byte By jhewison at 2007-9-26 1:39:33
I'm considering buying a PDA, but I want to develope JAVA on it.Which PDA can J2ME run on?Thanks.

Debug SIM applets

504 byte By gchua-ay at 2007-9-26 1:46:42
Is there a way to debug SIM card applets with the use of Visual J++. By placing breakpoints to trace into the applet while it is being executed?I've tried Schlumberger's Simera Dev't kit and it says that I can integrate the kit with Visual J++. Where can i get a document that has a ...

Crypto API for J2ME

463 byte By eeti at 2007-9-26 1:49:36
I am writing an application that does digital signature on palm platform. The intention is to allow the user to store his private key on the palm device so that he could perform signing anywhere. The private key does not leave the palm device - the hashed data to be signed is beamed to the palm ...

Improving Connections performance

1660 byte By Marco.Caetano at 2007-9-26 1:49:44
Hello!I'am working on a J2ME prototype of a Stock Ticker that reads from some servlet that presents some string with Stocks data.This piece of code is called several times:StringBuffer sb=new StringBuffer();InputStream is=null;int b;try{if (con==null)con=(HttpConnection) ...

J2ME CLDC/MIDP emulator for Compaq iPAQ

518 byte By jspuser at 2007-9-26 1:52:55
I would like to run J2ME CLDC with MIDP on my Compaq iPAQ 3650. I am NOT interested in PersonalJava at this time. I have two questions:1. Has anyone tried to put the J2ME Wireless Toolkit emulator on iPAQ, with or without Swing? J2ME WTK currently requires Swing, but it seems like that AWT may ...

Win CE 3.0? StrongArm CPU? J2ME? HELP!!!!

777 byte By bwillis at 2007-9-26 1:52:58
I have been looking at PersonalJava and J2ME and now I am extremely confused. What I need is a JRE for Win CE 3.0 that runs on StrongArm CPU. It looks like from the spec/readme files on Personal Java that support for StrongArm is mentioned as "planned for October 2000" but I can't find it ...

Does anybody know how to write GUI for J2ME?

72 byte By Java2123 at 2007-9-26 1:54:08
Does anybody know how to write GUI for J2ME?Thanks!

Is J2ME cross-platform?

506 byte By joey829 at 2007-9-26 1:54:31
Dear all,I found there're lots of different KVM in www.javamobiles.com. This raised a question on my mind. Is J2ME cross-platform? I've learnt that one of the greatest advantage of Java is it can be deployed to any platform with JVM.But as different PDA requires different KVM, i doubt that if ...

Preverify Blues/Nightmare!

1525 byte By sunilonline at 2007-9-26 1:56:58
Hi There,I am trying to run a program with complete J2ME Environment. The Midlet program gets compiled very well. Hell broke loose, when I am trying to use 'preverify' MIDP command.Here is the Error I am facing:-D:\J2MEWTK\apps>preverify FirstMIDletError preverifying class FirstMIDletClass ...

help!! can not get Java apps to run on Nokia 9210

443 byte By bissell at 2007-9-26 1:57:03
Hi all,I am creating a java application for the Nokia 9210. The .sis file seems to install correctly on the device, and the application appears in the Extras menu. However, when I open the application, it says "Loading Java..." and then "Starting Java..." but then nothing else happens! I have ...

Where are the UI classes?

580 byte By eeti at 2007-9-26 1:57:32
Probably I am blind. I've downloaded the MIDP for Palm (midp_palm-1_0-ea3.zip) and CLDC (j2me_cldc-1_0_2-fcs-src-b12-winunix-15_Jun_2001.zip).Can anyone tell me where are the classes for-Low-level graphics API (Canvas) -High-level graphics API (LCDUI) -Abstract Commands and Canvas Input ...

JDBC driver for Win CE "Access" tables

215 byte By joachimkroeger2 at 2007-9-26 2:01:14
It is an older question already, but still relevant; Is there any JDBC driver available for getting access to MS Access databases on the Win CE devices?Workarounds?DLLs which support SQL?

Big Problem.......Converting PRC File to JAR

205 byte By vivek_kurundkar at 2007-9-26 2:08:28
I have tried lot of things by setting classpaths for converting PRC file to JAR file ,but...............in vain.Please help me to sort out the problem.RegardsSunny

games on mobile phones

115 byte By prince83 at 2007-9-26 2:09:12
i want to create a game on cell phone. i am a beginner in this field.. where do i start?thanks

"hello world" - my first MIDlet is not working .......

1277 byte By missilelock at 2007-9-26 2:10:52
Hi There,I have downloaded J2ME toolkit recently and wrote a "hello world" MIDlet which is as followsimport javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class HelloWorld extends MIDlet implements CommandListener{ private Command cmd; private Display display; public ...

how to use awt for prc applications

252 byte By javian3 at 2007-9-26 2:12:26
iam developing a gui for palm device using kvm kjava...but the classes avalaible are very few ..there is no ombo box class ......i want to develop more sophisticated gui for palm ..can i use awt classses ...give me idea how can i use them

jc 2.1.2 install help please

254 byte By remid at 2007-9-26 2:12:48
Hello all,I am looking for some help on installing jc2.1.2I am new to this so bare with me I understand we are all busy these days so if some one can point me to a faq on insall for this I would be thankfull I am running win95

UNC Paths

552 byte By mgregori at 2007-9-26 2:12:55
Hello,I'm trying to copy a file from a host through an UNC path in a Personal Java 1.0 environment.I can see the host directories and files using the explorer of Windows CE, but, when I use FileInputStream I obtain always an FileNotFoundException.I've tried it with this paths ...

PortInUseException

263 byte By zobis at 2007-9-26 2:13:44
Anybody help me please.When I run apdutool there is exception like this...--Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/PortInUseException--I use java card development kit 2.1.2 on win2000

OpenSource KVM/MIDP for PocketPC?

179 byte By fornari at 2007-9-26 2:14:51
Hi all,does anybody know if there is an open source project for the porting of KVM/MIDP on the PocketPC devices? Thanks in advance.Stefano

J2ME costs for VM

143 byte By chbuerki at 2007-9-26 2:17:40
I read in a german computer newspaper something about license costs for the KVM? Does anybody knows more about this?Thanks

who can help me with j2mewtk?

360 byte By wzy25 at 2007-9-26 2:17:52
i try to use j2mewtk to development my midlet,but it can't work,it always say that can't find class when execute the midlet(there is no problem while complie and preverify).even i create a new project with j2mewtk.but the nokia suite and motorola's sdk can work well.who know this problem,pls ...

How can I assiagn AID to my Applet

90 byte By zobis at 2007-9-26 2:18:15
I create my own applet but don't know how(and where) to assign AIDs.

how to run kvm application

3514 byte By davidjoin at 2007-9-26 2:37:27
a sample, the code is following:import javax.microedition.lcdui.*;import javax.microedition.midlet.*;public class ListDemo extends MIDlet {private Display display;private intmode = List.IMPLICIT;private Command exitCommand = new Command( "Exit",Command.SCREEN, 2 );private Command selectCommand ...

How do I create a database with MIDP and RMS

237 byte By heiopei at 2007-9-26 2:37:45
I am new to programming MIDP and RMS. I would like to know how I can create a database with RMS, read from, write in and delete it.It would be nice if I could get some sourcecode to develop a solution for my problem.

Kxml and NanoXml

307 byte By Marco.Caetano at 2007-9-26 2:38:53
Hi!I wonder if anyone used this API on the client side, i.e., has someone use this as an extension of MIDP? How?Can you put this jar on some J2ME compliant device and use it in many other applications?I'd really appreciate some hint about this...ThanksMarco ...

FirstExample.java

527 byte By Sabrina0000 at 2007-9-26 2:40:47
Hi,I am using FirstExample.java from http://developer.java.sun.com/developer/products/wireless/midp/samples/index.jsp#nwSo far any classes I have used on the toolkit with the http connections all give me a class not found error. I was wondetring if anyone could help me with it.Exception: ...

Deploying on an iPaq

574 byte By hemphilldavida at 2007-9-26 2:41:20
Does anyone have any experience, or clues, for easily deploying an application on an iPaq?I would like to deploy the PJava JRE with my application in a single CAB file if possible. But it is OK if this is not possible.How can a CAB file be created? Is this the MS version of a jar file?How do I ...

Reading from a Recordstore doesn' t work (+Code)

497 byte By heiopei at 2007-9-26 2:45:02
I want to read from a RecordStore, but I don't get any data, why?Here is the sourcecode:try { db = RecordStore.openRecordStore("Klamauk", true);byte [] record1 = new byte [100];ByteArrayInputStream bais = new ByteArrayInputStream(record1);DataInputStream dis = new DataInputStream(bais);try {in ...

HttpConnection.getResponseCode - MIDP bug?

1334 byte By Marco.Caetano at 2007-9-26 2:45:37
Hi!Try the following:-make some example trying to connect to a valid Url...-verify your connection...-now make sure that is working properly.-turn off your Ethernet cable or ISP connection-Try to run the same example now.The IOException is raised.... Iwonder Why? The returned response code ...

Push technology?

209 byte By a.ferrari at 2007-9-26 2:47:20
Is there a way in J2me to implement a push technology for telephone? Are there some APIs to reading SMS or better to be notified when a SMS is received? Is there a way to open a listening socket?

Will device skins be available from Sun?

73 byte By FAIL at 2007-9-26 2:50:31
Will device skins for actual devices be available from Sun?

JES with (J2ME)CDC and Foundation on Linux/x86

4378 byte By kalipatnapu at 2007-9-26 2:50:51
I'm trying to run JES with (J2ME) CDC and Foundation on Linux/x86 platform. I used jdk1.3 to extract JES and updated "runjes" to use "CVM". After running "runjes", JES printed at command prompt this output as described in the documentationJava Embedded Server 2.0Copyright 1998, 1999 and 2000 ...

Question on "Writing a Java Card applet" by Ed Ort

268 byte By luigiiaccarino at 2007-9-26 2:53:01
Hi,in the wallet apple i defined the variableshort balancethat is the wallet in the Sim, but i don't understand where the value of this variable is initialized the first time.Could someone help me?Thank youLuigi

Native calls on MIDP

155 byte By cforlano at 2007-9-26 2:53:19
As there is no JNI support in the CLDC, how can device drivers such as automatic dial-up and barcode scanners be manipulated using CLDC/MIDP?