Package

382 byte By javadev2a at 2007-11-27 10:17:58
Hi All,I have written code when it executed it showing class not found exception I came to know that the error is due to that iam not making package correctly. I have tried in Netbean IDE also still same error class not found exception .Can any body help me out how to make package...also if you ...

Encryption problem (java.security) *newbie*

504 byte By r41k1r1a at 2007-11-27 10:19:46
Hi,This is my first time building j2me application.In my project I required to use ecryption.I'm planning to use PBEWithMD5AndDES in j2me application using netbeans 5.5However, when I try to import ...

Sound in a Game!

375 byte By Solnushkoa at 2007-11-27 10:20:52
Hi guys!I'm writing a game for Sony Ericsson K700.And i have a problem with a sound. Also i'm working with MIDP 2.0.My problem is to play 2 sounds in a game. When i play first sound, it play good, then is playing second sound and i have exception.However, can somebody write an example, how to ...

Web service client in J2ME

549 byte By lonereactiona at 2007-11-27 10:21:02
Hello there, I'm a student and new to web services.Somehow I manged to setup a plain old java web service using Axis2, and I have tested it with an J2SE RPCclient.However, what I need to do is to have a J2ME client, and from some searching I have found out about KSOAP. Is there other alternatives, ...

Help on Deploying a midp2.0 midlet on Sony Ericsson P910i

710 byte By psyeua at 2007-11-27 10:21:16
Hi guys,I need help on deploying midlet on a SE P910i...Is it possible to deploy midlet (midp2.0) on a phone with Symbian OS.I'm having problem when I deploy a j2me application into P910i when I open the jar file it says that "Invalid Java version. Component is not compatible with this device ...

Help with Purse example

466 byte By 30centsa at 2007-11-27 10:21:20
Hello.i managed to run the purse example supplied in java kit 2_2_2.However, as i tried to migrate the involved files into another folder and run it, i ran into this problem during runtime.--Receiving initial reference... java.rmi.StubNotFoundException: classes.PurseImpl_Stub--All the neccessary ...

decimal separator in French version mobile

225 byte By find_suvro@SDNa at 2007-11-27 10:23:20
<p>Hi,</p><p>Can anybody here tell me what will be the decimal separator if I use a <i>TextField</i> with type set as <i>DECIMAL </i>in a J2ME app. Means will it be a <b>'.' </b>or a<b> ','</b></p><p>Thanx in advance.</p>

Game Example?

265 byte By Solnushkoa at 2007-11-27 10:23:55
<p>Hi, guys!</p><p>Have anybody source code of game with sound?</p><p>I have not find any solution, how to include several sounds to my game.</p><p>Maybe some of you can give me one part of code, some class, that is working with sounds...</p><p>Please, help me!</p>

io exception when attempt to connect to servlet

369 byte By gambit_bostona at 2007-11-27 10:28:09
java.io.IOException: Persistent connection dropped after first chunk sent, cannot retryback from buy There was no stack or trace of the exception. I try to post some stuff to the servlet to retrieve information. Sometime it works just well but sometimes it doesnt work at all and just give me the ...

Web Page

726 byte By javadev2a at 2007-11-27 10:28:20
Hi guys and gals,I am developing an application where mobil phone having internet acces web page such as www.yahoomail.com in it screen when i submit user name and password it will enter into other page such as inbox and other stuff.In My application i want to create web page havind text message ...

I have a problem compilling an example code

5906 byte By martinmarinova at 2007-11-27 10:28:21
Hello. I'm a complete newbie. I was trying to compile this codeimport javax.microedition.media.*;import javax.microedition.amms.control.tuner.*;import java.util.Date;import java.io.IOException;public class TunerExample { Player radioPlayer; TunerControl tunerControl; RDSControl rdsControl; /*** ...

Key Identifier

534 byte By globalplayera at 2007-11-27 10:28:28
Hi!I've set a 3DES keyset for the GP secure channel to the cardmanager.The key idendifiers are 1,2 and 3. It's no problem to modifiy these keys giiving them an other key version number. But I want to use a second 3DES keyset with a different key identifier eg. 4, key version number 1 (P1= 0 in ...

chinese character in RecordStore

305 byte By honghong@_@a at 2007-11-27 10:29:20
Hi all, I am new to j2me. is it possible to key in Chinese character and store it in recordstore, and i can display the character back when i view the record?i have go through many examples of j2me encoding. but i still don't have any idea about how to do this.Thanks a ...

can't install the wtk

207 byte By miika at 2007-11-27 10:29:38
<p>i can't install the wtk </p><p>after 2 second i get an error massage:SetupDLL\SetupDLL.cpp</p><p>i try to get some thing in google for soulotion but it's not help </p><p>please help me </p><p>thanks</p>

Urgently needing help regarding PNG Encoder

334 byte By ParagPatila at 2007-11-27 10:29:44
Hi,,,,,,,,,,,can any body tell me ....where do i get png encoder which will encode images size more than 64k..........Actually im having encoder which encodes images below 64k just becoz of that my images r not getting displayed properly.PLZ help me out.......Thanx & ...

reading response APDU data question

1290 byte By DxMa at 2007-11-27 10:29:47
Hello, I am using the smartcardio api to read information off of a smart card. The problem I have right now is that I am having problems 'decoding' the returned data.e.g. To read the card number I select 3 files on the card by sending 3 commandAPDUs,ResponseAPDU r = channel.transmit(new ...

Russian language in String

616 byte By Solnushkoa at 2007-11-27 10:29:50
Hello, guys!I have a truble, help me please!So, i have a methodpublic void getWord(String word){String letter;for (int i=0; i<word.length()-1; i++){letter = word.substring(i, i+1);System.out.print(letter);}}And when i write russian words in parameter, i become ? in console. How send right a ...

MMS through my Midlet

8804 byte By -fluffy-a at 2007-11-27 10:32:24
What jars do I need to place in my build path.I am getting an NoClassDefFound error, If some one could point me to the correct jars it would be great.I would like to send a mms through my midlet. At the moment I am trying to get it to work with a simple hello world midlet. The send sms works but I ...

J2ME - Database

362 byte By mcwoa at 2007-11-27 10:33:00
Hi. Is there some implementation of database I can use in MIDlet. I'd like to create an apliaction that has a local relational database in MIDlet and from time to time data is synchronized with external database on serwer (can i use JDBC?)Please recommend me some api i can use for this purpose, ...

jcop cap not working

577 byte By wshu-chinaa at 2007-11-27 10:33:02
hello,everyone!I write applet applicationand use jcop tools generate cap file, and downingload java card ,the card isnot jcop ,in the java card, GP is masked by converter 1.3 version, jcvm is 2.2.1 version,I find the applet application cannot working,creating is successing, but cannot be selected, ...

Question with installForInstallAndMakeSelectable method

7515 byte By khanhnta at 2007-11-27 10:33:44
hi everyone,i have been success in use methode installForInstallAndMakeSelectable for install somme data (name, id .. of card holder). //load information etudiant applettry{System.out.println("Install for loading cap-file ...

Can a J2ME application download a mobile content to the handset?

625 byte By JunJiea at 2007-11-27 10:35:03
Hi, I'm a newbie here.I've a question about whether the J2ME application can be implemented to trigger a Http download via OTA to download a mobile content. let's say using the J2ME application, the user can actually download a MP3 by selecting the option on the application screen, from the ...

Combining J2ME and J2EE?

379 byte By lily2007a at 2007-11-27 10:35:43
Hi,I'm new to J2ME and J2EE. : ) Is it possible to employ client-server architecture for mobile applications? For example, writing MIDlets to serve as GUI, and having the MIDlet connect to server-side components such as enterprise javabeans, where the EJBs will perform processing before sending ...

converting image to byte[] in cldc, midp2.0 devices

740 byte By scientist.rahula at 2007-11-27 10:36:16
Hello Friends,I need to convert a image to byte[] for sending an image to server. can anyone suggest me any solution. I am developing on MOTOROKR E 6 handset.i have already searched whole net & even methods on this thread didn't help ...

converting image to byte[] in cldc, midp2.0 devices

740 byte By scientist.rahula at 2007-11-27 10:36:17
Hello Friends,I need to convert a image to byte[] for sending an image to server. can anyone suggest me any solution. I am developing on MOTOROKR E 6 handset.i have already searched whole net & even methods on this thread didn't help ...

Help whith GPS - LBS learning

416 byte By BlufsteinEJa at 2007-11-27 10:36:22
Hi all.I was developing J2ME apps for a long time. Mow Ive a ghallenge to develop a GPS App wich must track transportation vehicles. I never worked with an App wich runs at server side, tracking devices position. Could somebody lead me to some learning or tutorial materials about this issue?. I ...

RMS DB is always increasing its size

481 byte By davidsousamendesa at 2007-11-27 10:36:25
Hello guysAdding a record to you rms database and then erasing that same record, will still increase your DB size!1 - Is this behaviour expected?The problem with this situation is that, If you put this procedure on an infinite loop, you will soon be out of available space on your flash system!2 - ...

Bluetooth and RMS

591 byte By Sectora at 2007-11-27 10:36:42
Hello all. I would like to ask a question for a Bluetooth based program example in the WTK "BluetoothDemo" application.The Host is sharing his images via Bluetooth. Image are read through the local files an InputStream.Is the client possible to store the images in a RecordStore from the ...

Getting ItemStateChanged from more than one form

10319 byte By Darryl.Burkea at 2007-11-27 10:36:58
Is this a bug in the MOTOROKR E6 or am I missing something? Advice from experienced coders would be really appreciated.My MIDlet has to detect itemStateChanged for any item in the current form (Form1 or Form2 in the example) and update a ticker common to both the forms.Works fine in any emulator ...

Midlet Display with GameCanvas and Form

441 byte By ZeroOneZeroOneOnea at 2007-11-27 10:37:26
Hello, is there a way to have a GameCanvas and a Form on the same midlet display? I tried using setLayout and a BorderLayout but those seam to not be suported in J2ME.What I want is to show a game screen (not animated) on top and a input box (textfield) on bottom so the user can play while he sees ...

Does or did anyone develope E-passport?

222 byte By Bobby_SHa at 2007-11-27 10:37:51
<p>E-Passport holds Biometric Information on card.The biometrics must comply with some standards, in which the format of biometric data is defined. What are the standards' name? And where can I find them?</p><p>Thanks</p>

OCF and cref integration problem

1429 byte By erkanyalcinkayaa at 2007-11-27 10:38:06
Hi everybody;I am trying to write an application which is interconnected with a smart card. In this manner, I make use of OCF and emulate smart card environment with cref. For this purpose I modified opencard.properties file as follows:OpenCard.services = ...

Sending Emails from J2ME

462 byte By jonhya at 2007-11-27 10:38:26
Hi Sun Community:I'm using the last version of the Sun Java Wireless ToolKit(2.5). I have being trying to add a feature to an application that I am writing to send emails. To do this I first went to the http://developers.sun.com/mobility/midp/articles/midp2network/ link and there is an example but ...

HttpConnection using Thread Behavior

1864 byte By BCE_Josea at 2007-11-27 10:38:44
Hello there Fellow Programmers!May I ask a question?I have noticed that whenever you implement an HttpConnection in J2ME it's required for it to use its own Thread, right?I am using the commandAction(Command command, Displayable displayable) event handlerto execute an event [okCommand] that ...

E65 left softkey problem

544 byte By eranweina at 2007-11-27 10:40:10
hii've developed an application for Nokia 6280.the left softkey is opening a menu screen. for some reason, when i've adjusted the application to E65, each time i press the left softkey, it performes as if it was pressed twice - i see it opened and closed imidiatly. futher more, i've printed the ...

Need help badly regarding JCRMI

339 byte By 30centsa at 2007-11-27 10:41:14
Hello everyone,I am kind of confused between JCRMI and PC/SC. Can someone kindly tell me the similarities or linkage? I understand that JCRMI acts as a facilitator for easier management of the APDU commands rite? Is PC/SC part of the component that makes up RMI?What is PC/SC exactly?Thank you very ...

How to use Wait Screen and Thread?

871 byte By BCE_Josea at 2007-11-27 10:45:22
Greetings, I was wondering If I could ask a question...Here it goes:How can I use a Wait Screen in a MIDlet so that I can do the Following:1.- Create and Open an Http Connection[/b](using an Object which extends Thread) in a Form by pressing an OKCommand.2 .- Show the Wait Screen Until the Thread ...

MIDP 1.0 - Text Editor

957 byte By hehahaa at 2007-11-27 10:47:20
Hi all,I am just getting start with j2me, and I want to create a small app. 'Text Editor' that use my own font (that present my language).I have got an N-gage phone, so my app. is design for MIDP1.0.I have read the article 'MIDP Terminal Emulation, Part 3: Custom Fonts for MIDP', but I still ...

J2me bittorrent possible?

542 byte By simon.t.perssona at 2007-11-27 10:48:00
Hi! I am investigating the possibility of creating various P2P applications cellphones, and I am thinking... Would it be possible to implement something like the bittorrent protocol or other many-to-many peer-to-peer protocols for cellular devices? Is there a limit on how many simultaneous ...

Help on K700i- OK/Send Command Problem...

1564 byte By psyeua at 2007-11-27 10:48:11
Hi guys,I need your help with SE K700i I developed a midlet that can send SMS.It works well with other phones but in SE K700i when i execute the SEND Command it doesn't do anything and sometimes when I used the BACK command and returned to SEND Command it will send/response...I tried a lot to ...

comparison of the performance and security of smart card offcard APIs

349 byte By chifalbert@ufha at 2007-11-27 10:48:24
hie guys I want to do a comparison of the performance and security of free and open source smart card offcard APIs could you please help by giving me any relevant ideas or material that can help me do the comparison.you can refer me to any sites with individuals who have also done related work in ...

Motorola and out of memory exception

195 byte By Andrey_Hohutkina at 2007-11-27 10:49:32
<p>Hi All!</p><p>Often on Motorola devices i get a message with out of memory exception and application crashes.</p><p>Is there a way to catch this kind of exception inside of a java machine?</p>

A problem with callSerially()

3333 byte By SeaScapea at 2007-11-27 10:50:31
Hi, guys,I modifed a sample sweeper anmimation MIDlet from Chapter 13 of the book <<Beginning J2ME From Novice to Professional>>. The original sweeper used a separate animaton thread along with the UI thread. I managed somehow to modify the code to use the Display.callSeriall() method and get ...

Using the Calendar

1024 byte By jonhya at 2007-11-27 10:51:29
Hi I'm using the last version of the Sun Java Wirelless Toolkit (2.5).I am writing an application and I need to get the system date and time.I have tried with this: calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT-05:00"));calendar.setTime(new Date());// to convert the current date to an ...

Bouncy Castle

129 byte By Morninga at 2007-11-27 10:51:55
<p>anyone using the lib? do I need to add the whole library if I only need to use one algorithm for encrypting a binary file?</p>

Bookmarks with txt file

208 byte By primrosea at 2007-11-27 10:51:57
<p>Dear all</p><p> I do a mobile app that reads text from txt file, please help me in how can i put bookmarks when reading the text file.</p><p>any suggestions wil be appreciated</p><p>Many thanks for all</p>

Listing Record Stores

331 byte By jonhya at 2007-11-27 10:52:13
Hi sun community:I have used the RecordStore.listRecordStores() method and I save it in a Strin[] to then used it as a parameter to a choicegroup to display all recordStores the problem is that now I dont want to display one of them becuase it is used to store information about a configuration.What ...

HttpConnection.openInputStream() only gets to 8192 bytes

612 byte By freeJeana at 2007-11-27 10:54:12
Hi,My server wants to send a file bigger than 8k to the cell phone devices. There is javax.microedtion.io.HttpConnection between the cell phone and the server. So when receiving the file from the server, the code is:InputStream is = httpConn.openInputStream().But Java uses a constant 8K in buffer ...

Use of variables

861 byte By Lillesanda at 2007-11-27 10:54:42
Hi!This is more of a discussion thing than a fact question I guess, but it's something I've been thinking about quite some after I started working with JavaCards. As my applications grow, I'm thinking about the best way to instantiate and organize objects, constants and so on. For example, is it ...

Help for CommandListener

213 byte By danix2ka at 2007-11-27 10:55:03
<p>hi, i would like to know how can i use the Central Button of my mobile application i.e. what kind of type i have to use? Command.OK doesn't work...</p><p>Thanks!</p><p>Message was edited by: </p><p>danix2k</p>