31675 byte By
mike2236a at 2007-11-27 0:40:24
Hello There,I have a Mobile project about taxi pagingplz help megoals1)Listen on specific sms containing a number from server2)if accept ==> reply() to serverMy Sourcepackage smsproject;import javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class smsProject extends ...
hello everyone,i was developing an application which required me to find out for how long a thread keeps running(i.e remains alive) after the instance of the class that created the thread is no longer in memory. plz help.
1218 byte By
ruvyoa at 2007-11-27 0:41:50
This is the exception:*******************************************************************************java.io.IOException: Can't write 32000 bytes, not enough space left.java.lang.NullPointerExceptionat ...
This shows a clock, and runs on xletview but, works on a real decoder?-Calendar cal = Calendar.getInstance(); int hora =cal.get(Calendar.HOUR_OF_DAY);int minuto = cal.get(Calendar.MINUTE);int segundo =cal.get(Calendar.SECOND);g.setColor(new Color(0,0,0));g.drawString( hora+":"+minuto ...
281 byte By
j2miana at 2007-11-27 0:42:40
Hi I want to get card image number and issuer id number of jcop card, I have tried GP command as below but getting error. Any helpcm> /send 80CA0042 => 80 CA 00 42...B (9096 usec) <= 6A 88 j.Status: Reference data not found
HelloI am developing a program for my phone.The program is based on jsp and j2me. Jsp page will create an image according to the parameter I send ,when I connect this web page and my j2me application will only show this image. but i dont have any idea.please can you give some ...
Hi how can you retrieve and read multiple lines of data sent from a socket?the data is:.<ARGENT value="150.00" />.<CMD value="OK" />.<CMD value="OK" />i can read retreive and read the first line using int ch = 0;int h = 0;ch = is.read();b.append((char) ch); if ...
211 byte By
serg_kra at 2007-11-27 0:44:04
Hello,Is there any way to force command menu to pop up? I want to put the label "Menu" on a screen and if user clicks on this label I want to open commands menu. Is it possible to do?Thanks.
Hello everybody!!I am having problem switching from data mode to command mode with my TC65!! The computer won't recognize the escape sequence "+++" that my Java program writes through the output stream!!The thing is that when I type "+++" directly onto the hyperterminal I successfully change ...
Hi i want download WTK 2.5.1 but i can`t because my browser not support some sun`s page plz send me in my emailthanksemail : mikeredford2236@ yahoo.com
378 byte By
smda at 2007-11-27 0:45:05
Is there a way with the PIM APIs to register an application (a MIDlet) that can be invoked from thecontact list. The only thing that seems to be possible is to either make a call the entry is a number;invoke a browser if it's a URL or send a message.If it's not possible with the PIM APIs, is ...
837 byte By
EvoBevoa at 2007-11-27 0:45:20
I'm building a Java application on a Microsoft Mobile device.When I use File.delete() to remove an xml file, it just removes the contents of the file but the file is still there. (visible in File browser)The following is a snippet of my code.File shipmentXMLFile = new File(xmlDir + trackNum + ...
858 byte By
sarysaa at 2007-11-27 0:45:51
So I just got J2ME, using eclipse and Wireless Toolkit 2.2. Great. I'm in the "hello world" stage of my journey, only having made a simple form so far. I made the project with Eclipse ME and everything's in one folder. (unlike the WTK examples which are like src, class, res)Anyway, I tried to ...
Why does not my Alert pop up? My intention is that the user needs to confirm the information before he/she can continueAlert a = new Alert(null, "Your changes has been saved", null, ...
NEED HELP ASAP PLEASE....This class is supposed to download a file from the servlet...the filename is given by the midlet... and the servlet will return the file in bytes...everything is ok in emulator...but in nokia n70... error occurs...Http Version Mismatch shows up... when the pout.flush(); ...
Hi, I have to show an app for a commercial purpose so the enterprise gave me a nokia 3120b cell phone. I researched on the web and found this: http://www.club-java.com/TastePhone/J2ME/MIDP_Java_telephone.jsp;jsessionid=523506C248466F43EABFC291077AE7BE?m=82&brand=Nokia&model=3120where it ...
I am developing a code which takes username and password as textfield enries.How should I send this to a servlet which is capable of validating.Do we use post or get method to transmit?Password should be secured.
Hi
hi,I m having problem in my file connection program..actually when i tried to read my text file it doen't go to End of file and remains in loop can u plz help me out my code sis like thisint flag=0;while(flag!=1) { ch=in.read(b,0,753); if(ch==-1) { flag=1;} int temp=ch; str1= new ...
Hi,can anyone tell me howto send captured jpeg image toservlet via http connection..it's near abt 20kb in size.n' how to receive by using servletcan anyone send sample code..Plz............Thanx in advance
683 byte By
cf_gurua at 2007-11-27 0:49:29
Hi everybody,We have a request for development of a mobile m-banking application written in Java. Since we have never done any projects for mobile phone applications, my question is can the Java application that is running on a mobile phone access the SIM card phone or serial number.I would ...
437 byte By
bapmana at 2007-11-27 0:50:44
Hi, I've written a mobile application (jar+jad files) , and would like to publish them on a web site. I've tried using the "microemulator" from http://www.microemu.org/demo.html, but my app doesnt run in this emulator, but it works fine with the standard sun mobile emulator provided with ...
313 byte By
bang9a at 2007-11-27 0:50:47
Hiiam new to j2me . i downloaded midp 2.0,cldc 2.5,j2sdk1.4.2.can anyone help me with how and where to set up environment variables for j2me and what are the other files(JAR files) i have to download.i have set up env. variables for JAVA(classpath with tools.jar).Thanks so ...
351 byte By
Ketza at 2007-11-27 0:50:48
I am trying to retrieved a page using HttpConnection.But the code is not working can anyone tell me wat the problem possibly culd be. int accessMode = Connector.READ_WRITE; c = (HttpConnection) Connector.open(url, accessMode, true);while debugging the code doesnt move ahead of this.Can anyone ...
Does anybody knows if exist a "Sun Certified Java Card Programmer" or something related?Best regards - Igor
Hi all,Can anybody help me to create a MIDlet that sends a message to another mobile using Bluetooth. I am having API, so if anybody tell me the basic operations or some basic code then it will be useful to me.Thank You- Nelson
Gentlemans, I'm studying http techniques to optimize my application. And the security question happens. What the best form to pass parameters to an servlet? Today, I pass throught URL, for example: http://www.test.com/test.jsf?value=myvalue&othervalue=myothervalueBut this form is so ...
184 byte By
LobnYAa at 2007-11-27 0:52:57
Hi !What do you think about perspectives of Java Card or J2ME tech?I'm a J2EE programmer now and I have a chance to change my specification into subj.thanx
Hi guys,I need your help on this cos it is very crucial.I have been running this app on sony-ericsson and it works fine, however, when I tried it on Nokia 3230, it behaved differently. It also worked fine on N72.I am trying to post data to a server. here is the snippet that posts the data.int ...
85 byte By
Davitaa at 2007-11-27 0:53:24
hello how can I catch when a key is pressed in my midlet? thanks
Hi, I have a simple Timer that schedules itself in startApp(). But every time I run the midlet it throws this exception.java/lang/IllegalMonitorStateException: at java/util/TimerThread::run()V+10my code looks like this. //create the timer task notificationTask = new NotificationTask(); //create ...
341 byte By
cocozza at 2007-11-27 0:54:26
Hello,I'm trying to do a chat communication betwen a J2ME software on a mobile phone and my Bluetooth dongle on a Linux PC (Python)At the moment I can send and receive data between them, but I'm having some troubles.So, Is there any url or something about J2ME <-> PYTHON RFCOMM sockets ...
Hi, when I try to register a custom JCShell plugin. I get the following error:cm> /appletNicknameAIDPlugin-- cm A000000003000000com.ibm.jc.tools.CardManagerPlugineclipse00000000 com.ibm.bluez.jcop.eclipse.internal.ui.views.shell.EclipseShellPlugincm> /register dosf A000010203 ...
Hi All,1)I just wanted to know that is it possible to add a background color to a Form and if yes how?2)Also wanted to know that does a landline phone has IMEI or something similar to IMEI
3768 byte By
valmura at 2007-11-27 0:57:04
Hi, I'm new in J2ME.I'm trying to do http://developers.sun.com/techtopics/mobility/midp/articles/servlets/example, and i understood that there was a thread problemI'm trying to run the request to the url in a separate thread but it doesn't work.package MidletServlet;import ...
hii am very new to j2me. i want know how to use PIM api. then what is the diff between using pim api and RMS
643 byte By
Rickka at 2007-11-27 0:57:38
Hello,I'm creating a programs for a PPC running WM5. The program needs to be able to rotate an image X degrees. But until now I didn't find much that I can use.On a desktop you've got the Advanced graphics and awt.geom. But I can't seem to find anything that抯 CDC (with PP) compatible. I ...
I developed audio/video player application for MIDP2.0 and CLDC1.1. My emulator is wtk2.2. IDE is NetBeans 5.5 mobility pack. I am trying to play both audio (AMR,AAC,MP3) and video (3GPP, MPEG-4) contents on emulator. I could play only wav files. Please help meThanks,Girish
279 byte By
hdayia at 2007-11-27 0:58:23
Hi there,I am new to java and hope this is the correct forum to ask my question. We are planning to produce controlling systems using java such as a security system. What kind of products supports java? Could you please tell me some of them?Regards...
Hello all.i am making a j2me application in which i m reading data from a record store and sending as an sms to a number.But the problem is that when sms is send,there comes a warning that 51 msgs will be send.I dont think that the data is too long to be send in 51 msgs.I am inserting just 5 ...
Hi guys!I have 2 questions, I hope that someone could answer me:1. I am tring to create an image which is scalable for each different display of the phone, how is it possible?2. Is it possible to create some animation like Flash in the mobile phone?Could you advise me some material (example, ...
when i want to send a sms of string of unicode. is it necessary to encode it in UTF8 or UTF16 ?when i encode it then the length of the string comes larger.can i send sms as a string of unicode without changing its length?like this:String str="\u270F";// now str's length is 1str = new ...
183 byte By
VanMina at 2007-11-27 1:05:31
Hi, all!I have a problem with midlet. I don`t know how to get the IP address of a mobil device when the mobil device got a wireless cover.Thanks for every answer!
Is it possible to automatically select a GPRS setting from inside my midlet to connect to the internet.Also, is there a way of avoiding the question the mobile phones asks: "Do you want to allow this applciation to connect to the internet"?These things can be annoying. Any ...
Greeting to everyone reading my Post.I feel like I need a slight little help from someone who develops J2ME applications. Since I am new to this...Could anybody tell me If there's a way to enable and Disable a TextField using a Property?If there's no way of doing this with a property, Could ...
I'm writing a video app that needs to be paused. When paused we call commit and save the data locally.recordControl.commit(); Upon resuming we callrecordControl.setRecordStream();recordControl.startRecord();however when we call recordControl.commit() the SECOND TIME no more data can be ...
Hi all,I run a small site called the Mobile Developer Lab ( http://mobiledevlab.com ). The site is dedicated to providing free tutorials and source code for mobile phone programmers.There are a lot of DoJa resources on the site, but I want to increase the quantity of MIDP articles.If you have a ...
Hello friends,I am getting an error 'InvalidRecordIDException' while deleting a record from RMS.here is my code for retrieving records:list = new List("Records", List.IMPLICIT);list.setCommandListener(this);rs = RecordStore.openRecordStore("DemoVersion", true);RecordEnumeration re = ...
I am a newbie with 2 questions torturing my mind.1. Can a midlet created using MIDP 1.0 CLDC 1.0 can run in a mobile phone with MIDP 2.0 and CLDC 1.1 Or it can only run for the configuration for which it has been created.2. Another question a game developed for MIDP 2.0 and CLDC 1.1 supposed to ...
I'm writing a applet to get some values from SmartCard. But I don't know how to get the Hex format.CommandAPDU selectDF3F00 = new CommandAPDU(0xA0,0xA4,0x00,0x00,DF3F00);CommandAPDU getResponse = new CommandAPDU(0xA0,0xC0,0x00,0x00,0X19);r = channel.transmit(getResponse);How can I get the ...