java.lang.OutOfMemoryError in j2me application on Palm device.

1728 byte By vijaykjain at 2007-9-26 17:58:34
Hi,We develop a enterprise application on j2me platform, It connects the =server using http connection and get the data in xml format which parse =and display on to the midlets. This application works superb in all =emulators except palm emulator and on original palm device. We install =the ...

java.lang.OutOfMemoryError in j2me application on Palm device.

1728 byte By vijaykjain at 2007-9-26 17:58:35
Hi,We develop a enterprise application on j2me platform, It connects the =server using http connection and get the data in xml format which parse =and display on to the midlets. This application works superb in all =emulators except palm emulator and on original palm device. We install =the ...

Save a canvas as an image on iPaq with Jeode

246 byte By asisoware at 2007-9-26 17:58:49
Hi there,I would like to save a canvas with some paintings as an image (Bitmap, GIF or JPEG).Is there any way to do that?Or is there another way to "paint" something on the iPaq and save it.Thank you Axel

Is there any method to deal with floating point in MIDP?

197 byte By npmhk at 2007-9-26 17:58:59
I want to calculate some mathematical functions which need to use floating point numbers such as sin, cos, tan,... some thing like that.How can I deal with it?Thank you!

How to build OPT File

121 byte By anupamd at 2007-9-26 17:59:22
Can Anyone Tell me what is the roll of .OPT file and how can I build .opt file for my applet ?ANUPAM

How To build Desktop Interface

410 byte By anupamd at 2007-9-26 17:59:34
I have a Card Reader and a javacard. I have build a small applet and subsequently generated .scr from it.Now how can I build a Desktop Interface(GUI) compatible to my application, so that the user can interact thru it with the card terminal .What Do I need to download for that ?Or it is not ...

Phone book

109 byte By kgayathri at 2007-9-26 18:00:22
hi,is there any way by which i could access the PhoneBook in the mobile phones ?

RGB/BMP to PNG ?

171 byte By karthik_kh at 2007-9-26 18:02:02
Hi all, I am new to J2ME. I have a buffer which contains image information in RGB/BMP format. How do I display it using J2ME ?Cheers,KHK

where can i get a simulator?

289 byte By dinotsai at 2007-9-26 18:02:35
hi,i'm a newbie to Java Card..i'm studying JavaCard and use OpenCard FrameWork to devlop java card applet,but it just begin,can anybody tell me where can i get a javacard simulator?or it already exists in JavaCard package or in OpenCard Framework? thx

how to do applications using MIDP for Palm?

122 byte By mltan at 2007-9-26 18:03:57
guys, i'm just a beginner, it would help a lot if you can help me on what i need and how to run it. thanks!

getAppProperty Method

183 byte By swinging at 2007-9-26 18:07:14
Hi!Where can I get a complete list of all the keys to pass in as input parameter to Midlet.getAppProperty() method?TIA! Regardsswinging

Help! Develop a mapping application on the iPaq using J2ME

826 byte By WhiteDolphin at 2007-9-26 18:07:16
I'm doing a mapping application (Singapore version) for my final year project. It's supposed to run on the iPaq. I thought of connecting my iPaq to my nokia and dial in to my server and run the applets/servlets whichever is better.but on the server side after reading tons of pages. This is ...

problem in book--"programming OSG with JES"

971 byte By orionchin at 2007-9-26 18:08:45
Hi, I am a beginner to Java Embedded Server technology.I've just bought the book "Programming Open Service Gateways with Java Embedded Server Technology" by Kirk Chen and Li Gong, which is a book from "The JAVA Series".Can I know does anybody manage to run the sample code provided in Chapter 2 ...

How to save a canvas object?

299 byte By npmhk at 2007-9-26 18:09:16
I want to make drawings by user commands.but i can't keep the existing picture and draw another component e.g. i can't draw eyes after i have draw a face when using user functions. The picture will immediately removed and replaced by the new one. How can I solve this problem?

How to run JMF app?

167 byte By lib4lee at 2007-9-26 18:09:26
I've install CrEme and personalJava on my iPaq. I run JMStudio but only window and no menu. Anybody tell me how to run JMStudio correctly?Thanks!

Inserting images into JTable

147 byte By mickoe at 2007-9-26 18:10:01
Hi allI have a problem here. I want to insert a image or icon into the Jtable. how can i go about doing it? tks.

Cryptography

269 byte By sasivarnan at 2007-9-26 18:11:01
What is meant by "symmetric key cryptography" and "public key cryptography". *Is it necessary to use the above while designing a JCapplication? *Where can I find detailed documentaion for the above?--Thanks

can JES2.0 work in Windows 98

334 byte By orionchin at 2007-9-26 18:11:23
can JES2.0 working in Windows 98?The specification only mentioned Windows NT, but never mentioned about Windows9X....I've encounter a problem in running JES2.0, and it seems that my coding was alright.... So now suspecting is it the problem of Windows98.thanks in advanceRegards,Orion ...

error: no MIDlet Suites found when install

320 byte By tomsonxu at 2007-9-26 18:11:43
I have runned Java Application Manager(JAM) with entering the following command:emulator -Xjamthen click the install soft button;enter thr URL: http://localhost:8080/demos.jad . raise an error:No MIDlet Suites found.I have placed demos.jar and demos.jad on the server.why?thanks. ...

Simple problem with an alert

587 byte By sbt1 at 2007-9-26 18:11:47
I want to show an alert, then when it times out, display a menu of choices (the "main menu").Problem is, the alert never displays; the menu immediately pops up so they never get a chance to see the alert message.How do I get the alert to wait it's timeout period before continuing on to the ...

Unloading library file (dll) problems....

785 byte By heikius at 2007-9-26 18:11:50
Hi enyone!Coul'd someone help me with this error? I want to reinstall a bundle hello.jar, that includes an dll file winjava.dll. I can install the hello.jar bundle one time but the second time it dosen't work.....error:> install Cios.jar> start Cios.jarjava.lang.UnsatisfiedLinkError: ...

Recordstore - how does it work in the emulator?

420 byte By sbt1 at 2007-9-26 18:12:24
My MIDlet uses recordstore operations.When using the emulator, does it actually "store" the data just like a real device?In other words, can I expect to write to a recordstore, and read data from it, when operating within the emulator?If so, is it persistent across emulator sessions? Meaning if ...

ISOExceptions

882 byte By Tonyf1 at 2007-9-26 18:13:27
Hi all, can anyone please help me with a problem I've encountered with my applet. I've been attempting to write some exception handling, simple enough you'd think?Anyway within my method(for retrieving a byte array from my card), I check to ensure that the array has been initialised. If the ...

Dr Watson error when running midlet...

317 byte By durian24 at 2007-9-26 18:15:03
HiI encountered this application error when i run a application using the J2ME Wireless Toolkit... It's a Dr Watson error of Win NT (i using Win NT)... the error msg is "Application error - zayit.exe"... Do u know what causes the error? could it be the codings?Merci 4 ur advice... ...

Xircom Wireless Lan Springport expert needed

1250 byte By mmaitlen at 2007-9-26 18:15:24
Has anyone gotten a Xircom Wireless Springport Lan Springport to work with HttpConnection?I'm running Windows 2000 on my "server" box with Apache's Tomcat. I've got this app running perfectly (well at least at a good prototyping stage) in the J2ME tookit. I transfer it over to my Handspring, ...

how to create a *.lnk file in the ipaq

133 byte By zikman23 at 2007-9-26 18:16:02
how to create the .lnk file and where in the Ipaq?if yes so how or can u write me an examplethanks itzik

Please help.... Input data from local drive

2138 byte By cia_evolution7 at 2007-9-26 18:16:49
Hi,Im been trying to read a text file from my local drive using J2ME and I failed after a few days and so can you guys please kindly help me out?My codes goes like this: package InputData;import java.io.*;import java.util.*;import javax.microedition.io.*;import ...

How to find the size of the display in MIDP?

566 byte By perja at 2007-9-26 18:19:23
Hi,In my midlet I would like to know the exact size of the display (of the current device). Shouldn't there be a method like java.awt.Toolkit.getScreenSize() like in J2SE?However, I have found one way to do it:* create an class that extends Canvas* use the getHeight and getWidth methods of ...

How to set classpath for J2ME

229 byte By maniksanthosh at 2007-9-26 18:20:31
how to set class path for j2me. I downloaded J2ME Wireless tool kit. And set the classpath "set classpath=c:\J2mewtk\lib\midpapi.zip;.;". but i could compile java file. .how to set.With regardsSanthosh

download mp3

176 byte By otk123 at 2007-9-26 18:20:34
Hi. Has anyone atempted to create an application that downloads mp3 files? Would this be possible if your phone could play mp3 files and your phone supports java?

Unable to initialize threads: cannot find class java/lang/Thread

412 byte By asitk at 2007-9-26 18:21:06
Hello,I am porting the pjava vm to win ce. I have built the pjava emulation env executables on win32. However i get this error whenever i try pjava hello. hello.class is a simple hello world class that runs with jdk1.1.8. I have tried all kinds of settings with the CLASSPATH variable. Nothing ...

port a J2ME app to IPAQ

427 byte By wzy8555 at 2007-9-26 18:23:40
I have a J2ME application running on Palm, but right now i need to get it running on IPAQ H3000, ipaq is using winCE as its os, as far as i know there are two approaches to run java app on ipaq. first is Jeode but this jvm is for personJAVA second is get savaje this will replace winCE ...

the next step

637 byte By awinn at 2007-9-26 18:24:21
hi all,i've made myself an extremely simple java card app. compiled it, tested it using jcwde and apdutool and got my expected output.so how do i get this to work with my actual card and reader. i assume the that the type of card is irrelevant as long as it is java card compliant (it is). i ...

what happens when Bundle-classpath header found in Manifest

167 byte By murali_teku at 2007-9-26 18:24:46
hi ,I would like to know what exactly happens when Bundle-classpath header found in manifest file during installing a Bundle.Thanks,

goto statement in javacard

297 byte By aster00 at 2007-9-26 18:26:01
In the book "Java Card Technology for Smart Cards"by Zhiqun Chen , on page number 220, it is written that we can use "goto" keyword in a similer way as in java programming language, but java says it does not support goto keyword.So how to use "goto"? Is there any alternative?

Ok, here's the solution to the Alert problem below:

1367 byte By sbt1 at 2007-9-26 18:26:37
Check out this code:try {strUser = tfDefaultUser.getString();RecordStore.deleteRecordStore("setup");rsSetup = RecordStore.openRecordStore("setup", true);byte[] b = strUser.getBytes();String st = new String(b);rsSetup.addRecord(b, 0, b.length);rsSetup.closeRecordStore();Alert altOk = new ...

Is there a reason why this isn't doing anything?

3588 byte By oxbow_lakes at 2007-9-26 18:27:04
I'm new to J2ME, although not to Java and cannot for the life of me get my Palm to run a non-Canvas MIDlet. When I run the prc file, nothing happens although there is no indication of anything amiss. Should this code work?package com.oxbow.testmidlet; import javax.microedition.midlet.*;import ...

How to import external library?

379 byte By cw-choi at 2007-9-26 18:27:23
Hi all,i am trying to use the library provided by the Bouncy Castle. But when i put the library (in .zip format) to the lib\ directory and compile my midlet, i would got the following error message:"The preverified classes if any are intmpdir.com.sun.kvem.ktools.ExecutionException: Preverifier ...

How to make CDC compile?

810 byte By qlheng at 2007-9-26 18:28:47
I know this forum is about K virtual machine. But I can't really find a more suitable palce to post questions about cdc (CVM). I'm a newbie for J2ME. I need to use CDC configuration for Linux in my graduation project. But although I tried many times, it won't compile. Can anybody help me?I ...

CDC for Palm?

186 byte By cw-choi at 2007-9-26 18:29:27
Hi all,is it possible to writing a Palm application based on CDC? if so, how could i convert the package to a .prc file? and where could i get a cvm for palm?

is there any way to send sms through j2me

255 byte By arjani2k at 2007-9-26 18:29:51
hi all,is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulatorany sugesstions appriciatedabdul rafiq janiapplitech solution limted

J2me AND Multi threading

158 byte By kapila_wije at 2007-9-26 18:29:53
Can we use Multi threaded applictions in J2Me.Will they practically support for java Enable phones?..(Since the phones processor power is low.)

J2me AND Sound Supporting

128 byte By kapila_wije at 2007-9-26 18:29:55
Can we do a Application using j2ME that is supporting for sounds?Is there a Multimedia(sound) Api for J2Me?

J2me AND Multi threading

158 byte By kapila_wije at 2007-9-26 18:29:58
Can we use Multi threaded applictions in J2Me.Will they practically support for java Enable phones?..(Since the phones processor power is low.)

J2me AND Sound Supporting

129 byte By kapila_wije at 2007-9-26 18:29:59
Can we do a Application using j2ME that is supporting for sounds?Is there a Multimedia(sound) Api for J2Me?

Jeode / creme ... VM on IPAQ

189 byte By mpmela at 2007-9-26 18:30:40
Hello,we are testing several VM on IPAQ, and would like to check with other people experience. Which VM do you prefer and why ?Thanks for your opinion.MPM

How to configure the java tv

369 byte By yoavadler at 2007-9-26 18:30:46
Hello all,I am new to java tv.my probelm ain't to code but how to configure the TV lib and that stuff.my experince with java dont help me to understand how to set these properties and libs and classes ,jar in the "right classpath" ,i read the FCS and the New Readme.txt but didnt got farPLESE ...

CrEme and Java API for XML Parsing

223 byte By mpmela at 2007-9-26 18:31:01
Hello,did anyone use the VM CrEme with JAPX ? We meet an java.io.UnsupportedEncodingException when trying to read an XML file. The code works fine on another VM.Any clue ?Thanks,MPM

Ways to get combo boxes, etc. on MIDP devices

482 byte By sbt1 at 2007-9-26 18:34:21
I'm writing a MIDlet that I want to be very device-independent. So I'm trying to stick solely to the J2ME rudimentary interface classes.However, I really need to have combobox and listbox functionality. Nextel and others have libraries you can use for this, but then I'm not ...

When will KVM be invoked?

354 byte By rjay1976 at 2007-9-26 18:36:42
Hi, I need to create an application that starts when the user switches on his device. 1. Can any one say when will the KVM be invoked?or2. Can I run a Java application developed for device to get started once the user switches on his device.Pls help me out on this, its very ...