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 ...
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> ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
I want to know...how we can make textfield by using canvas only....
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 ...
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: ...
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 ...
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 ...
any tutorials on canvas
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 ...
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 ...
hi is there such a thing as getting the state of the textbox.i'm quite new to j2me
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 :)
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 ...
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 ...
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 ...
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 = ...
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 ...
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
Hi guys,Does anybody know any 3rd party library for MIDP 1.0 platform?Actually, I mean MIDP 1.0 without WMAPI.Thnx.
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?
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.................
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 ...
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 ...
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 ...
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 ...