JCOP CAP file generation not working

444 byte By phil21a at 2007-11-26 23:39:07
Hi Guys,I am new to JCOP and so I am just following the tutorial (JCOP Help) to build a HelloWorld applet. Actually everything looks straight forward. But I am still stuck by generating the CAP files. In my understanding they should get generated after the compilation automatically. Is this ...

Vectors containing classes?

1215 byte By CorruptioNa at 2007-11-26 23:39:31
Hi,I'm writing a simple mobile game using Netbeans 5.5 with CLDC 1.1 and MIDP 2.0 and im having some trouble getting Vectors working properly.Below is some test code i wrote after i started having problems.//Create new vector of planetsVector <planet> planets = new Vector <planet> ...

Changing servers...

693 byte By ThatDeadDudea at 2007-11-26 23:39:50
Hi, I'm building a MIDlet that for various reasons first makes a SocketConnection to one server, which then supplies it with the address of the server which the MIDlet will be connected to for the rest of the session. Technically, it's working, except that I don't know how to switch from the ...

Problem reading all memory filesystem on the phone

1201 byte By fighter79@inwind.ita at 2007-11-26 23:40:06
Hi guys!;I'm developing an application that read all files of a kind in all filesystem on the phone: memory phone and memory card.My application in WTK 2.2 function well, but when i try it on my phone it doesn't function. Why?My phone is a sony ericsson k618i and if i read a single ...

Encryption in J2ME

7821 byte By NelsonJosepha at 2007-11-26 23:41:15
Hi I have developed a MIDlet for encryption and decryption but It throws an error "javax.crypto.ShortBufferException" Please help meMy Code is:import javax.microedition.midlet.*;import javax.microedition.lcdui.*;import java.security.*;import java.security.spec.*;import javax.crypto.*;import ...

is it possible read from a recordstore and print to a text file?

369 byte By kenneth-rocka at 2007-11-26 23:41:27
hi guysi have a question here is it possible to read from the data that is already stored in the recordstore and after that , print it to a text File(the text file is not created yet).i have try file connection and it doesnt work the way i wanted it to work....as it creates the files before i ...

WTK 2.5 hangs

514 byte By poohTbeara at 2007-11-26 23:42:08
Hi,In my work place we work with WTK22, but it doesn't have emulation classes for jsr 179 and 82, which is a must for me, so i tried WTK25.it has a problem though.every time i run the emulator and creates external event (sms\Location request the emulator displays an Alert screen that asks if ...

How to set ImageItems ! ! !

421 byte By karan88a at 2007-11-26 23:43:27
Hi friends,In my Form i have 2 ImageItems,I want both should be in Center and parallel to each other(Horizontally). For that i usedimage1, Item.LAYOUT_LEFT | Item.LAYOUT_CENTERimage2, Item.LAYOUT_RIGHT | Item.LAYOUT_CENTERButthey r not taking right places .Plz tell me what should i do for this ...

API Permissions MIDP 2.0

305 byte By AqueelAhmada at 2007-11-26 23:44:19
Hi i am trying to create a file on the file system of sony ericsson cell phone. The application b4 creating file displays message that is "allow application to write...". I want to avoid displaying this message. Can anyone please tell me how can i avoid these messages from ...

NetBeans libraries in Eclipse

431 byte By Hanana at 2007-11-26 23:44:46
Hi,I use Eclipse, and I need to use this package : org.netbeans.microedition.lcduiI searched for this package on the internet but I couldn't find anything. Is it possible to use netBeans libraries in another platform like Eclipse? If yes, where do I get the packages from?If it is not possible, ...

oracle j2me connectivity

463 byte By scientist.rahula at 2007-11-26 23:45:00
Hello Friends, I was having a problem with connection my mobile j2me application with aoracle database. i tried rmi calling (was sucessful with j2se platform) but it failed on j2me platform.can you all suggest me a way how to connect oracle to a j2me application OR a way to create a rmi client ...

Connecting to MySQL from a MIDlet

446 byte By mobilekida at 2007-11-26 23:45:26
Hi,I am having a rather strange problem with a MIDlet retrieving data from MySQL.The first time it connects to MySQL, the MIDlet retrieves data successfully. However, when it attempts to query again something goes wrong. The code on the server side works perfectly as I tested it with an HTML ...

Comparable and Serializable interfaces

305 byte By theotimea at 2007-11-26 23:46:36
Hi All,I have developed a program in java which implements Comparable and Serializable Interfaces. After, I decided to run the program in J2ME. But later on, I found that MIDP doesn't implement these interfaces.Some one can help me how to implement my own interfaces.Thank ...

Comparable and Serializable Interfaces in MIDP

305 byte By theotimea at 2007-11-26 23:46:38
Hi All,I have developed a program in java which implements Comparable and Serializable Interfaces. After, I decided to run the program in J2ME. But later on, I found that MIDP doesn't implement these interfaces.Some one can help me how to implement my own interfaces.Thank ...

How Does HAVi Display devices intersct with hardware

651 byte By skkv577a at 2007-11-26 23:48:16
Hi,I am working on HAVi ui implementation.i had gone through the HAVi ui spec(chapter 8 of HAVi spec) and portions of Steven Morris's book that discusses about HAVi display devices and their configuration.What i don't understand is the flow of data from HAVi app to the hardware.After ...

How to read/write data in Notepad?

2494 byte By kartikraajaa at 2007-11-26 23:48:49
Hi to all,Im creating a simple application to write data in notepad using wireless toolkit 2.5. For that i have created a notepad file(raj.txt) manually and saved in the location "D:\WTK25\appdb\DefaultColorPhone\filesystem\root1\raja.txt". When i run in the emulator..Its shows the following ...

RMS issue

1032 byte By karan88a at 2007-11-26 23:48:54
Hi Friends,I store my filed records in RMS like--FieldList depts = new FieldList( 3 );depts.setFieldType( 0, FieldList.TYPE_SHORT );depts.setFieldName( 0, "ID" );depts.setFieldType( 1, FieldList.TYPE_STRING );depts.setFieldName( 1, "Name" );depts.setFieldType( 2, FieldList.TYPE_INT ...

displaying video on WTK2.5

561 byte By mani86a at 2007-11-26 23:49:40
hello everyone :)i guess this is the first time i post in this forum. i had a question about displaying videos on wtk screen. im using MMAPI classes, and i can diaplay the video when i create a new form and then append the video (from videoControl). the issue is that i want to display the video ...

ClassCastException error

685 byte By Jorge07a at 2007-11-26 23:51:23
Hello, when I`m trying to run the example Xlets of Interactive TV Web (Steven Morrison) FirstXletExample.java and MySecondXlet.java in XletView and OpenMHP I receive the same error:initxlet: java.lang.ClassCastException: FirstXletExampleI have compiled these two archives in Eclipse. I have read ...

Full screen SE W850i

184 byte By Hopjea at 2007-11-26 23:51:45
Hi,I'm new in the world of mobile java code. I want to get my program full screen, but how to get it full screen?I'm using the J2ME Wireless Toolkit.Thnx.

JPEG problem on some phones !!!

886 byte By cvraidena at 2007-11-26 23:52:01
Hi all,I am writting a midlet that connect to ip camera, receive the jpeg and display them. It works fine in most of the smartphone, but on some pocket pc, it has a problem. For pocket pc, I installed IBM J9 or Intent Midlet manager to run the midlet. However. my midlet has a problem when it ...

Canvas

74 byte By Amardeep.Jaimana at 2007-11-26 23:52:09
I want to know...how we can make textfield by using canvas only....

Problem in connection making at server side

825 byte By AqueelAhmada at 2007-11-26 23:52:54
I wrote the following piece of code while working with bluetooth jsr-82 and j2me.statusform.append("before Connector.open...");lserver = (L2CAPConnectionNotifier) Connector.open( url );statusform.append("Before acceptAndOpen");request = lserver.acceptAndOpen();where statusform is a form on ...

does making objects equal null help the gc handle memory leakage problems

300 byte By happy_lifea at 2007-11-26 23:53:40
hi all,does making objects equal null help the gc handle memory leakage problems ?does that help out the gc to collect unwanted objects ?and how can I free memory avoid memory leakage problems on devices ?best regards,Message was edited by: ...

Problem in connection

924 byte By AqueelAhmada at 2007-11-26 23:56:32
Hi I am trying to make bluetooth L2CAP connection.At server side, i wrote following codeString surl = "btl2cap://localhost:" + uuid.toString() +";name=" + appName; request = lserver.acceptAndOpen();where uuid is 102030405060708090A0B0C0D0E0F021 And at client side, i wrote the following ...

How does recordstore _actually_ work on a device?

789 byte By Zangaza at 2007-11-26 23:57:06
Hi,one of the users of my app is very convinced that my application is at fault for his phones firmware getting messed up. Since j2me is very restricted I find it unlikely that such thing could even happen, especially since only data storing app does is done in recordstore, no fileconnection ...

CANVAS

30 byte By talk2rajata at 2007-11-26 23:57:29
any tutorials on canvas

socket problem

2468 byte By shienna17a at 2007-11-26 23:58:15
hi i am trying to send data across a socket connection to a server and than retrieve any response but has soon as i send the data and try to read any response from the server, the program doesnt respond.to send and read data a user types in the value to be sent on a textfiled and then presses ...

SIP problem port

2279 byte By manupecoa at 2007-11-26 23:58:19
Hi,I'm trying to send a REGISTER Sip Message to Asterisk with credentials (following the instructions from Javadoc of JSR180). The code is the follow:try {// open listener in application specific port 5080sipNotifier = (SipConnectionNotifier)Connector.open("sip:5080");// build the contact ...

get the state of the textbox

90 byte By kenneth-rocka at 2007-11-26 23:58:56
hi is there such a thing as getting the state of the textbox.i'm quite new to j2me

have problem to write data from midlet to file

2614 byte By 7uja at 2007-11-27 0:01:11
hello...i'm trying to do a simple j2me program that write data from midlet to file. I'm using netbeans IDE 5.5the source code have no error at all.. but the data are not written to the file... my source code is as follow:import javax.microedition.midlet.*;import ...

KeyListener

239 byte By Hanana at 2007-11-27 0:01:34
Hi,I am using netBeans' TableModel object, and I want to check for key events like left and right arrow keys..etc. Is there a KeyListener interface that I can implement?If yes, where do I get it from?Thank you.

Keeping the frame rate constant on any phone

550 byte By icebreakera at 2007-11-27 0:04:39
This is the only piece of code i found on a tutorial, to keep the frame rate constant. Thread.sleep(FRAME_TIME - (System.currentTimeMillis() - prevTimeMillis))But i did not understand what they meant by prevTimeMillis .and FRAME_TIME . Can someone please explain this code. Or tell a way to keep ...

how to use apdu to get the certificate in smartcard?

344 byte By bluedot2000a at 2007-11-27 0:04:53
hi,guyshow could i use the apdu command to get the certificate in smart card.now i sent following commands in JCOP shell/send 00a404000cA000000063504B43532D3135/send 00a4000c023f00/send 00a4000c025031/send 00a40200024404/send 00b0000080/send 00b0008080what's the next ...

J2me heap memory security

409 byte By j2miana at 2007-11-27 0:04:57
If my application takes sensitive information from user than it will reside in memory for some time (e.g. Till I store it in rms); assume some one has written some kind of application to read those data....How to prevent this.These information will be stored in local variables in midlet so it ...

ChoiceGroup

354 byte By karan88a at 2007-11-27 0:04:58
Hi friends,Iam having one query-->In My form there is choice group ,i want element should be in bold .Label (ProjectList) should display and after that POPUP list should display but both in same line.How can i achieve this.Can i use StringItem for this if yes plz small code for this,if ...

SMS Listening port

255 byte By Davitaa at 2007-11-27 0:05:42
helloI need to receive incoming sms messages. I found a lib for this which seems to work but the problem is that I do not know on which port my operator is sending sms. Is there any way to know on which port is listening the phone? thanks :)

How to handle the painted strings on canvas?

418 byte By Bkrishnana at 2007-11-27 0:05:45
Hai all,I want to show the offline messages, and also i want to reply or delete that messages.We can draw offline msgs on the canvas, but how to select the particular message on canvas screen to response the offline messages. Can we have select control on canvas like what we have in form?. Can ...

developing j2me application for motorola

392 byte By ramesh_pittalaa at 2007-11-27 0:05:53
hi, I am going to develop an application for Motorola HCe700-G device.Will j2me wireless toolkit support developing application for motorola devices?if not,any other tools are provided by sun for developing applications for motorola.Please,provide me the right path to develop an application for ...

Anyone with JSR-179 phone needed!

3615 byte By kris_javaa at 2007-11-27 0:06:01
Could anyone please try the example below on one of the phones listed here: http://developers.sun.com/techtopics/mobility/device/pub/device/list.do?page=2&apiId=125The example is pretty straightforward:import javax.microedition.midlet.*;import javax.microedition.lcdui.*;import ...

error--cannot find symbol Connector

9936 byte By kenneth-rocka at 2007-11-27 0:06:40
i encounter some errors which i could not solved. pls helperror:C:\WTK25\apps\TCPClient\src\TCPClient.java:94: cannot find symbolsymbol : variable Connectorlocation: class TCPClientFileConnection filecon = ...

my j2me program hangs --need help

8629 byte By kenneth-rocka at 2007-11-27 0:06:50
hi.my program hangs whenever i run my midlet and i get a message like this Warning: To avoid potential deadlock, operations that may block, such as networking, should be performed in a different thread than the commandAction() handler.below is my codes import ...

ClassNotFoundException in servlet

277 byte By SanchoPereza at 2007-11-27 0:09:00
I'm trying to connect to a database using driver com.mysql.jdbc.Driver, but I get a ClassNotFoundException when accessing the servlet. I wrote a program and using the same driver I could access the DB. Why can't the servlet find the driver?I'm using Tomcat 6.0

Third party Messaging library for MIDP 1.0 phones

143 byte By lekkie.aydota at 2007-11-27 0:09:13
Hi guys,Does anybody know any 3rd party library for MIDP 1.0 platform?Actually, I mean MIDP 1.0 without WMAPI.Thnx.

NoClassDefFoundError ?

234 byte By Hanana at 2007-11-27 0:09:14
I keep getting this run-time error:java.lang.NoClassDefFoundError: MonthTableModelEven though MonthTableModel is a class that I created, and it is defined in the same "default" package..what is the problem?

is it ok to use the airtime

231 byte By anirban_5683a at 2007-11-27 0:09:57
I am using socket programming. When ever any inbound socket connection is coming to the application, is it ok to use the airtime YES/NO is appearing. This is not wanted. How can i disable it?Plzz help.................

database_enabler.jar

360 byte By samedaa at 2007-11-27 0:10:06
hii am developing a java application for my ipaq i am working with ibm J9 jvm for database connections i need database_enabler.jar filei searched it on the web but had no useful result and tried to update my websphere developer device but updating was not successful now if someone has this file ...

Problems with RMS and Sun's code for saving/loading images.

631 byte By phmcguina at 2007-11-27 0:10:09
I'm writing an application that save's an image to the RMS and also allows the image to be loaded from the RMS. I'm using a utility class to do this posted by SUN called "Externalizing Resources - Persisting Images in RMS" found ...

Connection pc with phone via bluetooth

325 byte By antonio5982@libero.ita at 2007-11-27 0:10:32
Hi guys!I would like to create a connection between the pc and the phone via bluetooth! I would like to ask you:1. if someone could advise me some material (articles, example code, ecc...) 2. Which package I have to add in the Java SE to use the bluetooth?Thanks in ...

Packet transfer in j2me

402 byte By jpandita at 2007-11-27 0:13:00
Hi 2 all,I want to do programming in j2me, whiuch include following points1.Transfer of packets2.Reliabillity:-No of packets send and received.if packet is less than send packets -3.Network traffic -One server-multiple client.4.Time delay.How i can implement such application ,are there any link ...