Class Component Structure of CAP for JC2.2.X

1023 byte By Dmitri_Shorina at 2007-11-27 8:14:29
Dear JavaCard Society,During implementation of JavaCard for smart card OS I met some contradiction between specification and real CAP file format. The matter is in class component structure inside CAP file. JCVM2.2.2 and JCVM2.2.1 declare it asclass_component { u1 tag u2 size u2 ...

MessageDigest - digest(buff,0,-1) -- eroor

549 byte By rollno1a at 2007-11-27 8:15:37
Hi Friends, I am new to security package:::i am using this code for calculating digest[b]protected static MessageDigest md5Obj;int temp=0;temp=md5Obj.digest(buff,0,buff.length);[/b]when i am executing this code i am getting this exception.... java.security.DigestException: Digest too ...

Threads with j2me

531 byte By j2m2foruma at 2007-11-27 8:15:47
HI ,I have been struck with the implemenation of multithreading in j2me.Flow is like this.1)Thread A (main thread) spawns a new thread B.2)Thread B reads from the contact list (using PIM API) and populates the hash map object, a global variable.3)Thread A reads this global Hash map and then ...

How should i start Java Card Programming?

386 byte By sagar123a at 2007-11-27 8:15:58
Hi All,I am a j2me programmer and now would like to learn and develop some applications in JavaCard Technology. but the problem is i dont know how should i start with JavaCard Programming?What all hardwares and softwares will i require for doing JavaCard programming?Can anyone give me some ...

Parsing a string to a date(Creating my own date)

4963 byte By -fluffy-a at 2007-11-27 8:16:29
I have a string ie: Mon, 18 Jun 2007 14:39:02 GMT, I would like to parse it and create a date from it, as there is no date.parse(string) method in J2ME, I made my own. The problem is, once I have the integer values parsed from the string, creating a usable date is the hard thing. The problem ...

Sound is played several times, but suddenly stop playing.

915 byte By coffee95a at 2007-11-27 8:17:08
See this problem: Everytime the player sprite catches an item on game, this sound is played. It works well, but after 14 or 13 times, the sound doesn't play anymore and the only thing I've got is this exception message:javax.microedition.media.MediaException: audio device Now the code is ...

Capture Photohang / stuck

594 byte By andhiezzza at 2007-11-27 8:17:30
Hi, I tried this example or source code from this url http://developers.sun.com/techtopics/mobility/midp/articles/picture/it works in my emulator ...which is Sony Ericson K700ithen I try it directly into my real mobile phone which is also K700iI can capture a picture....but then after that it ...

JCRMI client (host) application - need a help desperately!

602 byte By n2304770a at 2007-11-27 8:17:58
Hi, guys! I have a simple JCRMI applet that works fine with JCOP Shell within Eclipse. But I have very foggy idea about how to implement a client (host) application for it. I have read the tutorial on http://developers.sun.com/techtopics/mobility/javacard/articles/javacard through and ...

Problems with JSR135

558 byte By zyranoa at 2007-11-27 8:18:06
Hello,as I understand the webpage, jsr135 should be included in the Sun WTK. But if I want to use this jsr it seems not to be included in the Sun WTK (or only parts of it in midpai20.jar). What's about this? Is there a newer jsr being a superset or is this jsr vendor specific?I'm aiming at ...

HTTP POST data size

180 byte By geminizina at 2007-11-27 8:21:01
My data usage is strangly high. Does anyone remember roughly how much data your post request cost you? An example query and a rough figure of usage would help a lot. Thanks!

Help on List/Sublist menu....

5321 byte By psyeua at 2007-11-27 8:21:38
Hi guys,Need your help with the code below...I am trying to modify the code below that would appear like this: Language-> English or Chinese -->display to consoleSMS->Options>display to consoleCall->Options-->display to consolein the commented portion below when I try to use ...

Game finished! So now?

312 byte By coffee95a at 2007-11-27 8:22:21
I've finished my j2me game. So how can I distribute it? Some operator or cell phone manufacturer could be interest on it?Or should I put it on some kind of tournament/event?Or just upload it on a web server? If so, where's the best site to send it?What your ...

MHP

245 byte By Jeyashreea at 2007-11-27 8:22:48
Hello,I am very new to DTV domain..For developing digitaTV emulator on linux platform with MHP middleware what are all may be the requirements ?(Softwares,Specific APIs..........).Thanks For Reading.Expecting for replies....

unable 2 read bytes array of images

546 byte By maaz01a at 2007-11-27 8:22:52
I have made a client application which will receive an image from serverthe mobile app (clent) is reveiving bytes array in emulatorbut unable 2 receive it in real application...message = new byte[2073];//string 2 read pic; for(i=0;i<2073;i++) {//read pic array byte by byte x=is.read();//(is ...

Barcode creation in j2me

217 byte By ayan_sena at 2007-11-27 8:23:12
Hi all,I want to create a barcode generator in j2me, are there any API's available that I can use? Could someone provide me the links that have some barcode generation algoritms?ThanksAyan

Socket data send-receive problem

466 byte By vikaspatela at 2007-11-27 8:24:01
I hv J2ME client application and vb.net socket server application communicating over sockets. Client connection is made successfully but cant send data to server. When I exit from client application then server application receives those data. (application works pretty fine on emulator but on ...

Plz!!Plz~!!

153 byte By neonoblea at 2007-11-27 8:24:16
I must to change Secure Channel Protocol version(from SCP 02 to SCP 01)But, I don't know. ばばwhat I can do now?Plz~~Help me!!

books about game

59 byte By RiekeyLeea at 2007-11-27 8:25:52
Is there any good books about j2me game development?

phentermine no prescription

226 byte By bewaya at 2007-11-27 8:29:01
phentermine no prescription http://www.goatweed.narod.ru/1.html?securityshoppingMessage was edited by: Administratorcopy adress below http://www.goatweed.narod.ru/1.html?securityshopping

embeded browser in MIDP

286 byte By ohohoh@a at 2007-11-27 8:29:37
Hi,new to MIDP development and hope to get some helps here.I am trying to embeded a web browser in MIDP form/screen.is it possible to do it ? in J2SE, I used library org.jdesktop.jdic.browser, but in MIDP, how ?Thank you in advance.Peter

Encoding

406 byte By primrosea at 2007-11-27 8:29:51
Hi allI have an Arabic app and it will read its data from xml file, but my problem is encoding. When it reads Arabic data, it displays them in the emulator and in my mobile as garbage. Although I set the encoding as:<?xml version="1.0" encoding="UTF-8" ?>So please, any suggestion will be ...

JCRMI Client Application - error on launching

326 byte By n2304770a at 2007-11-27 8:30:04
Hi, all!I have compiled JCRMI Client without errors, but during launching within Eclipse the message appears :"Could not resolve classpath container:com.ibm.bluez.jcop.eclipse.containers.cardconfig"What does it mean? How can I recover the error? Advice me, please.Best ...

Mobile Video Camera API's

234 byte By Jayesh_G_Wa at 2007-11-27 8:30:31
Dear all, I am Jayesh currently working on J2ME can anyone tell me where can I get API which can help in developing apps of Vedio Cameras of various Mobiles? Thanks in advance. Regards, Jayesh

text file parsing

374 byte By nj_javaa at 2007-11-27 8:30:33
hi everybody I am creating a application in which i am reading a text file from resource and using this text in my canvas but i am facing problem in fetching some characters like currency sign like euro in text and some other characters that are not in normal character set so how can i use ...

MHP in Middleware

311 byte By Jeyashreea at 2007-11-27 8:30:34
How can we develope MHP middleware for DTV or STB?Is there any specific tools are available? How can we test the middleware without the original D. T.V hardware?Is there any free DTV emulators are availble? Is it possible to get a piece of sample code ?Thanks for reading..Expecting For ...

full screen canvas problem

265 byte By RiekeyLeea at 2007-11-27 8:31:31
switching between the fullscreen canvases makes the screen flashes on some mobiles.I want to make one fullscreen canvas and several game state classes which paint on the same canvas. Is there any sample code or tutorial about this.thanks

Definition of HScreen

1056 byte By techecea at 2007-11-27 8:31:39
The site http://www.interactivetvweb.org defines HScreen as"AVi (and OCAP) defines an HScreen class to help solve this problem. This represents a physical display device, and every receiver will have one HScreen instance for every physical display device that's connected to it - typically this ...

GSM/Cell monitoring

307 byte By murilo.pollaa at 2007-11-27 8:31:48
I don't really know where to fit this topic but:Does anybody know what criteria is used to find the serving/dedicated cell on a cell phone when there is NO SIM CARD inserted? Is it the strongest signal, the closest signal, what could it be?In my siemens module I use at^moni ...

JCShell error handling script?

768 byte By ptangia at 2007-11-27 8:33:15
Hi,In JCShell, I need to set a variable in a script, if my upload app command gives an error, I want to delete it and then install the cap file. I am not able to capture this delete error bcoz the shell exits the script immediately on a failure.the script looks like:/cardauthcard-info#install ...

Problem debugging a simple J2ME MIDlet

731 byte By paresh27a at 2007-11-27 8:34:09
Hi,I am quite new to J2ME. I am trying to debug a simple MIDlet given in J2ME Complete Reference book to see what's going on.The MIDlet run's fine and gives the expected output. But I wan't to debug it to see how it goes about. In the Debug mode I am getting 'Source not Found' for Display ...

Checking TextField input constraints

571 byte By jhodgskia at 2007-11-27 8:34:23
(A bit long-winded, but a simple question...)I've created TextField using:tf2 = new TextField("Enter whatever:", null, 15, TextField.PASSWORD | TextField.NON_PREDICTIVE);Later on in my code, I want to check whether tf2 still has the PASSWORD contraint.Because I also included the NON_PREDICTIVE ...

Loading and unloading applets

213 byte By FernandoMartineza at 2007-11-27 8:34:41
Hello, I want to know is there is a way to automate the process of converting thr applet in a CAP and then loading it into the SIM Card without using the command line?Thank you,Fernando

No Network Connection

524 byte By totall_555a at 2007-11-27 8:34:42
Hello,i searched the forum but could not get any information.I have developed a small application which does some data exchange with a .NET Webservice. Everything is working fine. But when i test my application without a network connection then the whole handy gets down. The handy is model ...

What's going on here?

218 byte By coffee95a at 2007-11-27 8:36:17
I was coding and I've got this unkind message:java.lang.OutOfMemoryError: MyClass: Maximum byte code length (32kB) exceededCan I avoid/fix this? How?Thanks!

A very basic question i have in j2me?

318 byte By sagar123a at 2007-11-27 8:36:45
Hi All,I know that the constructor of Textfield has the following formTextField(String label,String text,int maxSize,int constraints)now suppose i want to set a specific color to the label string so that it has some color (Other than the default) so how to do ...

HttpConnection hangs !!!

612 byte By KallolBoraha at 2007-11-27 8:37:59
I have gone through a lot of posts on the same problem - (HttpConnection)Connector.open(url) - hangs (in my case, it is the E50).It works fine when the GPRS access point is available but when it is not, it just hangs !I started the HttpConnection.open code in a separate thread but was very ...

Rounding Double in J2ME, need help

229 byte By donparisa at 2007-11-27 8:38:20
hi....i using J2me to develop scientific calc.but i have problem with rounding the double result.when using J2SE i can use DecimalFormater...is there something like that in J2ME ?tanks...

how can i send & recive data from mobile & line phone +pc (or micro control

212 byte By mjmanashtia at 2007-11-27 8:39:09
iwant to send and recive data (small data) from mobile with pc (or microcontroller) by phone line but without internet.dtmf is a good things but i can't detect it with mobile.how can do it ?

ktoollbar/emulator hangs on linux

597 byte By quirxia at 2007-11-27 8:39:32
Hello,I just have downloaded and installed the Sun Java Wireless Toolkit (WTK2.5.1) on my gentoo linux box and it was no problem at all. As outlined in the installation instructions I have installed JDK 1.5.0 and all the libraries needed.Opening and compiling a simple demo application is no ...

How to send SMS from WTK to real mobile phone...

378 byte By psyeua at 2007-11-27 8:41:32
Hi guys,I need your help with regards to sending SMS from WTK 2.2 emulator to actual mobile number...Here is the scenario I will send SMS from WTK to a real mobile number example:+639371234567....Would this be possible without using any gateway? What are the requirements or steps to be done. ...

Please help new to Java

682 byte By k711a at 2007-11-27 8:41:45
I am trying to use either Netbeans or Wireless Toolkit WITH a Motorola SDK for my i415 Motorola Cell phone. I have Netbeans installed, WTK 2.5.1 installed, and the SDK from Motorola. I have gotten WTK working and downloaded simple Helloworld java to my phone successfully.I want to use a class ...

Bluetooth device detection

2762 byte By sebvena at 2007-11-27 8:42:32
Hello,My current project is based on Bluetooth beacon detection. when the mobile phone detects an hotspot (bluetooth spot), it gets some information from my server. I created a background thread which continuously scans for Bluetooth beacons: Here is my code: public void run() {lock = new ...

How to get address of a memory area

209 byte By davendaa at 2007-11-27 8:43:16
Hi, I want to pass as argument, the address of a byte array. Something like:static byte[] MyBuffer;NewAddr = adressof(MyBuffer)NewAddr[1] = (same as MyBuffer[1])Thanks... :-)

Has anyone worked with the JCDE plugin for Eclipse?

339 byte By DanielEmbeddedbra at 2007-11-27 8:45:25
We are still in a LONG wait for the JCOP license key. In the meantime we are trying another tools and we have found this JCDE plugin for Eclipse. From the only available documentation at http://eclipse-jcde.sourceforge.net/user-guide.htm we cannot work things out. Has anyone used this and has a ...

tools and sdk to make java applet for JCOP31 ?

871 byte By hanusina at 2007-11-27 8:48:29
Dear friend,we have a contactless chip card with NXP contactless chip 36 Kb and 72 Kb...it has JCOP31 (java card open platform) inside the contactless chip..and we have to build the java applet to be inserted into the JCOP31 chip ...my questions : ========1. can we use eclipse to make java ...

Send SMS from J2ME application to a mobile number...

371 byte By psyeua at 2007-11-27 8:48:33
Hi guys, Need your help on sending SMS from J2ME application saved from mobile to send to another mobile number...I have tried the WMA demo from suns WTK it send message but the other number cannot received the message.Please help or give any idea or sample code that can guideme...Thanks in ...

Need an advice...

128 byte By Ichybana at 2007-11-27 8:49:15
I want to implement a FTP client for mobile...could someone give me some documentations on that. Thanks in advance, David

3 Dimension? What is the advantage of MHP?

235 byte By ifaint_zhanga at 2007-11-27 8:49:18
Is it possible or proper to implement 3D in MHP?What is the advantage of MHP application over other M/W? I am confused about this.MHP' only advantage is OPen ,and its function is not better than other ones, right?

j2me proguard help

1005 byte By rickiericha at 2007-11-27 8:49:46
ProGuard, version 3.9Reading program jar [C:\WTK22\apps\NewMob\bin\Mob.jar]Reading library jar [C:\WTK22\lib\midpapi20.jar]Reading library jar [C:\WTK22\lib\wma11.jar]Reading library jar [C:\WTK22\lib\cldcapi10.jar]Note: duplicate definition of library class ...

[Urgent] J2ME low level and high level User Interface

614 byte By emerge87a at 2007-11-27 8:50:13
Currently, i am writing a J2ME codes that consist of images, text and audio. The problem now is that i want to allow the user to navigate the image by using the keypress to switch and view different image, just like viewing a photo album.And i know only low level UI such as canvas can does ...