hihow to get enter character from textfield. as in c language we user 13 as charactercode for enter. but what abt in j2me.
hi guys,my current prj is on location base application(LBS).my prj summary is to build a software by which clients can get their location as well as their location will be displayed on a area map where s/he currently staying.but prob is, i don't know what r the steps to build such s/w. i'v ...
Hi guys,........Is it possible to access data from rms using mysql i.e by firing query can i access data from rms in j2me?if it possible help me out?thanx in advance...regards...,
737 byte By
EvilBroa at 2007-11-27 4:17:14
I've tried the following (simplified code for brevity):ATCommand at = new ATCommand(false);String response = ata.send("AT^SJNET=gprs,internet,\"\",\"\"\r");HttpConnection c = (HttpConnection)Connector.open(" http://www.google.nl/");int rc = c.getResponseCode();The last line generates the ...
Hi all,I have developed the FileConnection MIDlet. It iss working correctly in the Emulator, but I Installed it in Motorola L7 it shows the following error.ERROR:"You are not authorized to access the restricted API""You cannot run this MIDlet with the current permissions. Sign the MIDlet ...
Hi to all,I have a problem with my j2me application.I have a rectangle and into it i would like draw the string, but if the width string is bigger than width rectangle i would truncate the string.I don't know how i can do this.....Any idea?Please help me... ...
486 byte By
madhu84a at 2007-11-27 4:18:49
I am developing a j2me project in which i need to call a foreign number without dialing the access number . the access number should be dialed automatically.for eg: when we call customer care number , the server asks us to press some number and then the connection is established to the customer ...
Hi guys! I have a problem with an AlertI connected my phone with a database using a servlet. I would like that while it is trying to connect with the database, it will show an Alert with a gauge.this is the code: private void infoAlert(Display display){Alert info = new ...
Hi Everyone,I have been using the Timer and TimerTask classes in my application to reconnect to the server each five minutes to get new data. For the most part of the mobiles fones the schedule task work properly, however the Sanyo 8400 mobile the schedule task runs once or twice. Does anybode ...
HI,I am developing a J2me application which is communicating with a http Servlet, The application is working fine when an request is sent from the client and the response received successfully too. But what if the server itself has to initiate some request and send it to client, is there any ...
568 byte By
sockena at 2007-11-27 4:23:42
Hi all! We've started a semester thesis at the university of applied science. We wanted to build an application, that uses SIP to transfer voice from our hand device to a distant server over wireless. Now we realised, that streaming rtsp streams from your cell phone is not possible! Is that ...
Hi,I want to create a CSV file and email it as an attachment to a specified email address once the user presses Submit in my application. This is developed for Sony Ericsson P990i. Can anyone help me with this?Thanks in advance
850 byte By
darrana at 2007-11-27 4:24:32
I want to create paging in my j2me application. I have pulled the xml file and stored them into a vector. So I would have 80+ items in a vector. I want to know how I can create paging. I do understand the logic of how to create it. I will loop through the vector and display to the user. But I ...
Hi folks,I am working on a project where I have some data stored in recordstore. I need to display them as a scrollable menu(like contacts on real phone). Obviously these menu items need to listen for action performed.What would be the easiest way to implement that kind of ...
6708 byte By
Shahiraa at 2007-11-27 4:26:16
i was having problems in row 45-70 and from row 88-105 which im not so sure weither i write it correctly or not.i wanted to do an application using MIDP where user can view question and chose the answer using List.The question can be get from database and the answer chose are needed to be ...
428 byte By
IamAbEa at 2007-11-27 4:27:37
i read in this thread http://forum.java.sun.com/thread.jspa?threadID=5170550 that i could put a canvas as a background on a form with regular midp2.0, i searched the forums but i can figure out how to do this. my goal is to catch keypresses from an implicit list, is it possible to put a canvas ...
Hello, I am using RMS in the application to store messages and then read them using RecordEnumeration to the list. The problem is that the new messages are at the bottom of the list. So, is it possible to change the order of records being read?
604 byte By
ilmiana at 2007-11-27 4:31:28
Hi,I have an EULA (End User Licence Agreement) in my application. which i show to user when application is started for the first time, if user Accept it the application starts otherwise application exits.What i want to do now is show this EULA during the installaion of my MIDlet. Which mean if ...
HiI have problems reading record store properly with recordstoreenumerationHere is the codeString outString[] = {"First Record","Second Record","Third Record"};int outInteger[] = {15,10,5};boolean outBoolean[] = {true,false,true};ByteArrayOutputStream outStream = new ...
1212 byte By
deep_ka at 2007-11-27 4:33:21
Hi Everyone, I am working on an enterprise application and I have the following problem. I have a thread called dispatcher which will send the request to the server and process the response and pass it to the main thread to display on the screen. My problem is that, 1 out of 15 times of my ...
Hi, I've run jsr172Demo . It is working fine. Can anybody hint me how to implement it to other web services like that is published by using dot net tech.how to invoke such web services.thanx
Hi All, I know that we can use platformRequest() method for making a voice call in j2me . Just wanted to know whether this method is a blocking or nonblocking method?can i use use platformRequest and Threads together to give a miss call to a mobile numberThanks sagar
I'm looking for an editor to create svg tiny format content. The Netbeans tutorial on JSR 226 claims that you can use Inkscape (an open source SVG editor) for this purpose. However, it doesn't seem to support the tiny format, and only ordinary SVG. Does anybody know of a (free) svg editor ...
Hello togehter!I open my bluetooth connection on the device Nokia 6230i the following way:String url = servicesFound[0].getConnectionURL(ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false);is = connection.openInputStream();reader = new InputStreamReader(is);Everything works fine, then I read.I read ...
Hi friends,Just want to know how do this in j2me.I want to call a mobile numberand the called number should only receive one ring and my application should terminate, that is i wanna give miss call ?Can anyone provide me the code snipplet.Is it possible to do ...
Hi guys,I have a midlet which makes HttpConnection to the server. It does it frequently and annoys the user each time asking for permission. Is there any way to give permanent permission for this kind of connection?Cheers,
Excuse me,when I bulid my project with java wireless toolkit 2.5 encounter a problem:ERROR: native methods should not appearError preverifying class javax.microedition.location.LandmarkStoreBuild failedSmartLee
226 byte By
madhu84a at 2007-11-27 4:44:52
HiI use samsung e250 mobile . I put the jar file in the memory card , but couldn't able to open the file . How to deploy my application in the samsung mobiles . Help me please Thanks in advance ...
It was discussed some time ago at http://www.j2meforums.com/forum/index.php?topic=12008.15, but imagine one is given the choice of a phone (for j2me project development) and money is not the problem.I agree Sony Ericsson makes life easier for developers, but what about the Nokia N95 with GPS, ...
Hi i am having a problem displaying a canvas on top of the previous canvas that was displayed. basicly i have tow canvas, one is a full screen canvas and the otehr is simply a rectangle box witha txt inside... on the default colour phone emulator i can display both canvas on screen at the same ...
637 byte By
XenLa at 2007-11-27 4:46:46
hi all,i'm thinking about creating a thumbnail for a video file (my format is 3gp) -> i think it's gonna be like the first frame of the video to become an image filehow can i do that? any1 pls help...btw, when i record a video in K610i...is it always like this: there's a "junk" display on ...
Actually rms function is to store data , persistence of data is not maintained , what can i do to store data in mobile or with pointbase also.10q
324 byte By
crudolfa at 2007-11-27 4:46:57
Hi,I have a question concerning the mobile number of the mobile phone a pushregistry application is installed on.At first start of the program i do a HTTP GET Request to a webserver. I would like to send the mobile number from the mobile phone in order to identifty the request stamps ...
2010 byte By
hooblea at 2007-11-27 4:48:32
Hello all!I havn't been back here for quite some time, but I have one problem that is stumping me for the moment. My name is Adam Schmelzle, and I have been making J2ME games for a while(Attack Chopper 1/2, Attack Breaker Pro, Attack Brain), so I'm not really new to this.I am working on an ...
Hello -I've been asked to build a J2ME application that will run on GPS enabled phones. Can anyone point me in a good starting direction? What I've discovered so far is that I need the javax.microedition.location package. Where I'm stuck is that I'm developing on Mac OSX and the ...
181 byte By
madhu84a at 2007-11-27 4:51:10
HiIs there any way of using two platformRequest() in a single j2me application which should be the continuation of the first platformRequest() ?Is it possible ?
The question is briefly as followsDo we have to include <font></font> tag inside the SVG file? Or is there any default font available to use?
private int[] sequenceWalkRight = { 2, 3, 0, 2, 3, 0, 2, 3, 0 };private int[] sequenceWalkLeft = { 4, 5, 0, 4, 5, 0, 4, 5, 0, 4, 5, 0 };public void moveSprite(char direction) {switch (direction) { case 'u': {this.move(0, -(MOVE_SIZE));break; } case 'd': {this.move(0, MOVE_SIZE);break; } ...
1016 byte By
sarysaa at 2007-11-27 4:53:36
I've started working on a program with heavy graphics use, a custom variable width font, and palette swapping. Because the latter two are fairly resource-intensive, and the program will have these (sometimes recolored) messages coming in regularly, I'm caching these messages by using ...
7577 byte By
xaozona at 2007-11-27 4:53:52
Im making a midlet that records audio and saves it to phone's file system. I get the application to run in emulator but when in phone (Sony Ericsson V800) i immediately get error Cannot create a DataSource for: null. Here is the code i'm trying to get to work: (i tried to change the ...
i want to build mobile application..i know that i have to use j2me wireless tool kit 2.0..am i right?..then i want to design and put the coding..what software i have to use?..where i can get it..someone plizz help me..
201 byte By
JJKKa at 2007-11-27 4:54:51
HiThe first record added to any record store has a record ID of 1 .Why record ID start from 1 ?Is there any reason behind it ? or its just a convention ?Jayesh
1240 byte By
jburgina at 2007-11-27 4:56:21
Hi all!I am attempting to use the RXTX java comm engine and have included the necessary jar files in my project. I have also placed javax.comm.properties in my jdk\lib, jdk\jre\lib, jre\lib directories.I am getting the following error:Error preverifying class com.sun.comm.SolarisDriverVERIFIER ...
Hi,I am developing one J2ME application which communicates with the servlet (http), The application was working fine on emulator but it is not working on Phone (Samsung/Nokia). The request itsef did not hit the servletSo I used one of the sample code, which is there in this forum, still the ...
Actually Usage of Record Management Store in J2me applications , i know , but now its not working .i.e., records are not stored , every time newly added records only saved i have uninstalled the Netbeans 5.5 & tried by installing once again , eventhough i got same problem of no Persistence ...
Hi First of all thakyou to respond ,anyway i have tried this code [rms code by anup123] also , every time newly added records are only available ,[ by displaying those records i know that ]but after closing that application , after restaring that application also we have to get those old added ...
891 byte By
malrawia at 2007-11-27 4:57:59
Hi all,i have written a simple program where two devices connect using bluetooth, everything works fine at the end one of the devices decide to end the communication, so both devices exit the program without any problem. now if i try to run the program again (without closing the emulator) the ...
383 byte By
armenaga at 2007-11-27 4:58:19
Hi,I'm trying to use the platformRequest method with the statement :parent.platformRequest("file:///root1/web/page.html");And it keeps giving me :Performing platformRequest for URL: file:///root1/web/page.html Without any other results.What's the problem ?Note : Am using WTK ...Thanks in ...
Hello, I am getting the following error .." com.siemens.icm.io.ATCommandFailedException: Error getting URC HW, URC has beenlost, too many URCs waiting.Uncaught exception: java.lang.NullPointerException:0- uk.pgl.opt.Opt$ATListenerA.ATEvent(), bci=24- ...
Hi I said already i have implemented rms code , its working fine in some systems , anyway its not working fine in my system , every time old records are not stored , i am using netbeans 5.5 & mobility pack 5.5 for that ,i have reinstalled that one , & tried that application . its not ...