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, ...
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 ...
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
i want to know how to program with p-java.How Can I get personal java example source?and where can i get them?
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
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
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 ...
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 ) ...
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? ...
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
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.
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 ...
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) ...
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 ...
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 ...
72 byte By
Java2123 at 2007-9-26 1:54:08
Does anybody know how to write GUI for J2ME?Thanks!
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 ...
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 ...
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 ...
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 ...
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?
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
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
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 ...
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
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 ...
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
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
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 ...
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 ...
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.
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 ...
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: ...
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 ...
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 ...
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 ...
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?
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?
Hi, Can anybody let us know how should we go about making J2ME work with DB2 Everyplace. As per the available information, J2ME allows connectivity with Record Managment System, but is it possible to make MIDIet talk to DB2 Everyplace. We thank in advance for the kind advice and help. Thanks ...
432 byte By
ovlok at 2007-9-26 3:01:35
Hi,I have installed jdk1.3.1 & j2mewtk1.0.1. I used the KToolbar to create a new project and then i put a simple helloworld level .java to tje src folder of that project and the KToolbar can build the project successfully and when i run the project, the emulator popup but when i execute ...
362 byte By
tbone317 at 2007-9-26 3:08:46
I have a DateField created as follows:DateField _weekField = new DateField("Week of",DateField.DATE);The J2MEWTK displays the date selection screen with todays calendar date. This is the expected behavior.On the PalmOS the selection screen is set to Jan 1, 1970...How can I fix ...
Hi,I've developed a servlet which delivers some xml (soap) infos: public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {response.setContentType("text/xml");response.setHeader("charset","utf-8");PrintWriter out = ...
151 byte By
smileyxx at 2007-9-26 3:09:49
Can I use java to do serial I/O with the Palm Pilot (java on both ends of the connection, using Java COMM on the PC)?Any pointers?
327 byte By
jspuser at 2007-9-26 3:12:40
I would like to purchase a Motorola i50sx or i85s phone to test some non-network J2ME software, but all the vendors - such as Nextel - seem to require an add-on mobile service plan. Is there a cheap place to buy a Java phone by itself so I can test my offline software on the actual ...
664 byte By
d98al at 2007-9-26 3:14:02
I am trying to get my Form to react on incoming commands but my commandlistener doesnt work.I extend the class Form and implements the commandListener interface, like thispublic class ReportForm extends Form implements CommandListener{...}I implement the commandAction method likepublic void ...
58 byte By
infobot at 2007-9-26 3:17:33
Are there any POP or SMTP classes for KVM ?
339 byte By
liluqun at 2007-9-26 3:20:12
I build an application with many classes,java palm.database.MakePalmApp -v -version "1.0" -icon 1.bmp -bootclasspath %j2meclasspath% -networking -classpath output %1 this only works with only one class, I do not know if I have an application with several classes how can I convert them into a ...
187 byte By
zikman23 at 2007-9-26 3:20:51
i need a code simple of a midp using httpConnection with POST and a web server using asp i need a code fragment of the asp code that gets the post info?thanks zikman.
455 byte By
molyakov at 2007-9-26 3:21:36
Hi !I'am using personal java 1.1-beta1 for WinCE 3.0 with swing 1.1.1 and PocketPC CASSIOPEIA-115.I don't understand following behaviour:I click one button - it correctly works, I click other button - Ooops !!!It takes two pressed of the stylus in order other button was pressed.I want fix ...
354 byte By
fmhunter at 2007-9-26 3:27:58
I am running a networked J2ME application. Things work great for a while then, at random times, I get a IOException "malformed response message" when I try to process an ouput stream. could any one tell me some of the reason why I could be getting this message ? Links to more information are ...