Hi ,My game (MIDP 2) works on 6600,N70,S700,K700,K610 but it shows the "Application Error" in 6230. It's a NullPointer exception. Since it does not show any errors on emulators also (both Java and Nokia) I cannot figure out what's wrong with it.Pls help me solve the ...
I thought it is easy to read GPRS data via serial port, just using "Connector.open". But I don't know it is "COMM:0" or "COMM:1". In fact, I always got error when running my MIDlet on the phone.Does anyone have a working sample code?
489 byte By
edmunga at 2007-11-27 7:32:10
Hallo,I want to use the AT-command "AT^SCFG..... to realize the autostart of my application.I give the command:AT^SCFG="Userware/Autostart/AppName","","a:/TC65WMS3Internet1d.jar"I got the answer "ERROR" from the TC65.What can be wrong ?Ican start my program ...
459 byte By
EvilBroa at 2007-11-27 7:32:32
The java on the Siemens TC65 enables you to access files through a FileConnection. I can successfully write new files. I would like to be able to append to existing files though. The only way I can think of achieving this is by creating a new file and read/write the old file into it and then ...
Hi i am trying to generate a value based on a percentage. the formulae is percentage / 100 * Totali use the normal / and * signes but it always returns a zero? i tried to use both a float and a double and no joy.the problem lies within the division part has it returns zero whenever the correct ...
686 byte By
emergea at 2007-11-27 7:37:04
Currently i am able get the text and write to a text file using Fileconnection. However, i could not append to the text file that i want, it will jus keep overwrites it.This is my codes.//connectiontry{fconn = (FileConnection) Connector.open("file:///root1//helpLog.txt");if ...
648 byte By
dunno98a at 2007-11-27 7:37:08
Need help on these questions.Is it possible to establish an http connection over different gateway/telco. As in SMS procedures, when it one country(A), it will route back to its own country(B) and to the destinate country(C) which maybe another totally different country from country A and B.And ...
how can i test the sending & recieving of sms using emulator. I tried for running the sample code provided wtith the tool kit it by using the wma console. but the sms is not delivered either between the emulator and the console.pplz help me to solve the problem
hello,how can i test the sending & recieving of sms using emulator. I tried for running the sample code provided wtith the tool kit it by using the wma console. but the sms is not delivered either between the emulator and the console.plz help me to solve the problem
273 byte By
Atiqea at 2007-11-27 7:38:21
I am using J2me Polish to apply style to my application. It is very useful but there is a problem it has converted my TextBox to textfield and when i enter some thing in the text field than it opens a new textBox. It look very clumsy. Is there any way to solve this?
Hi all,I own a HTC P3600 pal, windows mobile, with Intent Midlet Manager Installed...I try to open a ServerSocketConnection to get message from server, but it fails.I use MIDP 2.0 and CLDC 1.0 this is the code ServerSocketConnection scn = (ServerSocketConnection) ...
hello friends, Can i add a ChoiceGroup item,StringItem and a TextField item in the same row in a form.This is for creating a food menu. If so, plz give me the details and send me the code to my mail-ids, sree.project.gmail.com and sreehpd@cooltoad.com.Thanks in advanceMessage was edited by: ...
My midlet connects to a servlet through an Http connection. It works perfectly on the emulator, but when I run it on my mobile phone it throws an IO exception.I was wondering if signing a midlet would solve my problem. If not, what is the benefits of signing a midlet.
Is there any way to remove permissions prompts (eg. File Read, File Write)? We are currently developing applications on PDAs and smartphones with Palm and Windows Mobile. We have found a workaround for the Palm permissions but have not been able to determine if there is any way to avoid ...
1179 byte By
darinka at 2007-11-27 7:44:14
Not sure if this is the correct thread, but will start here.I am getting an error on a Symbol MC70 with an HttpConnection. The program works correctly in getting data as needed. But if I let the scanner sit and it goes into sleep mode, when I activate it again, and try to scan and it does ...
Hi,Is there some function to retrieve the current app (midlet) version? I need this in order to check if the version is the latest one available online or not.Thanks in advance.
I want to have the time (ExactTime). Like GMT+08:00(Singapore).Is that possible to get the time Exactly same as our TimeZone.I tried with the help of the TimeZone class to change the TimeZone,Even then the Default value was displayingCan you please give me some suggestion that i will get the ...
551 byte By
anup123a at 2007-11-27 7:47:14
Hello frnds,I am trying to install my application over the air but im gettin this error anybody have the idea please help me it is very necessary ...Thanks in advance....ERROR:--OTA Error Code (37) - The server did not hava a resource with the correct type (code 406) or the JAD downloaded has ...
how message will be retrieved from the website and it send back to the mobile ? please give documents and sample codeMessage was edited by: kannankalli
Hi ,I am developing a Karaoke Application.I have a client program which ,first downloads the "midi" file and then downloads the lyrics highlighting logic (text) file. And then play the song according to the logic.But what i want to do is, Download a single file which will contain both the text ...
402 byte By
psyeua at 2007-11-27 7:48:57
Hi,Pls help me on how to upload a Generic j2me application tested/working on suns WTK to a mobile phone...Example how to install Audiodemo located at the /WTK22/apps into my mobile...Assuming I am using a Nokia/Ericcson mobile phone...If anybody knows steps or ways/options on how this is done ...
602 byte By
auZa at 2007-11-27 7:49:37
heayas all, i have some questions, pretty basic. I have some school project to do and i thought of making an cldc app which is to connect to remote java web application on tomcat server, retrive data and display it. Servlet tehnology isnt a problem cuz im cuite expirienced with it but i need ...
1214 byte By
tolvana at 2007-11-27 7:49:52
Hi guys,I get the following output from this:Uncaught exception java/lang/OutOfMemoryError.I dont even get the "Start" output so it must be overload when it loads the file.The textfile im reading from is 2.6 mb so its big. Can someone give me a better way to read from this file? InputStream ...
hi , i want to develop an application to do the following , 1. Connect 2 devices thru bluetooth and send string of data from one phone to another(phones are N91 and IMATE KJAM)2. then send the same data automatically thru sms to a particular mobile number.please ...
I just installed j2me on my computer and when i try to implement anything from javax.microedition it gives me an error saying that the package does not exist. any one know why?
Hello, is it legal to use the the same string for the MIDlet-name attribute, which identifies the name of the midlet suite and for the midlet? MIDlet-1: politarena-ch,/wom/img/icon.png,wom.WahlOMatMobil MIDlet-Name: politarena-ch Haven't found any problems in doing that, but want to be sure. ...
1575 byte By
k711a at 2007-11-27 7:54:46
Can anyone see whats wrong with this... It builds ok in WTK 2.5.1 but when loaded to i415 Motorola phone it says "Unhandled Exception"Just trying to get the battery level from the phone. I know this can be done but I just cannot seem to figure it out. 3 days is enough searching... please ...
Hi allPlease help me :(I have "test.xml" file and I put it in the src folder of my project, and I download kxml parser.My question is:How can I read this xml file and using its contents in my application?thanks in advance, and please help me
Anyone help me please... Need Help..../* * bmi.java * * Created on June 17, 2007, 9:54 PM */import javax.microedition.midlet.*;import javax.microedition.lcdui.*;/** * * @author alpharif * @version */public class bmi extends MIDlet{private Display display;private Command cmdExit;private Command ...
Hello friends,i m using nokia 6681 model and i m trying to read text file using jsr 75. wen i try to search 100th record file pointer traverses all the 99 records and then it finds the targe.......Actually a want to make my search fast..........Is there any idea ......Plz help me out.....Thanks ...
hello friends, can a create an instance of a midlet within another midlet.i tried to call , but i have got a Security exception. plz comment on this .. regards..
Hi all,I want to login into yahoo from my j2me midlet and chat with more than one user in my friendlist?How to proceed for doing this?Plz help?What all will be required for doing thisThanksSagar
Hello,I have created an image (world.png) of a 2D world in which the player will walk through.There are houses in this world that I want the player to not be able to walk through.In order to implement this should I simply define the x and y cordinates of each house and then not let the player ...
Hi to all,I'm new to j2me programming, but I need to avoid the ask for permission in networking while running a midlet...so, I think the only way is to install a certificate from a trusted authority, isn't it? Ok, lets assume thats true, I already take on the followings steps:-Used openssl to ...
Hi to all,I'm developing a sound application. I only want to acced to server, download a song and play it on my mobile phone. As a server, I'm using the program "Apache", so I acced to the song by an HTTP connection, which url is http://localhost/song.mp3. I would like to know what packages ...
Hi allPlease can any one advice me in how can I let my j2me application抯 users update this app when I provide a new version of it.Thanks in advance
my http based j2me application works fine over some java enabled devices. I want to know tht will be able to run on world's all java based phones ? (excluding matter of CLDC and MIDP versions)thnx..
686 byte By
PeppeMEa at 2007-11-27 8:06:56
Open WTK 2.5.1Open Sign Midlet UtilitiesMake a new key pairGenerate CSRSend CSR to verisignObtain Certificate from verisignSave it into a text file with .cer extensionChoose Import Certificate_Do I select Import Trusted Certificate or Replace Certificate Chain?The first solution give me a ...
558 byte By
casjena at 2007-11-27 8:07:02
Hi Fans, My application needs automatic updates. In fact i know how to tell the mobile phones, that a new version is available. I think i will use an sms or the mobiles looks up the newest version by calling a servlet or what ever. My Problem is, that i dont know how to install a new version of ...
267 byte By
vaheara at 2007-11-27 8:07:55
Are there ways to install libraries jar file to a phone not as a part of application jar file. I make some library for custom GUI and now I want to know, can I use this library without including it in my project. If possible give me any information about this.
Hello, I am trying to use game canvas to create a 2D world that a player can walk through, although I get this error at compile time:Building "Scroller"C:\WTK2.5.1\apps\Scroller\src\ScrollCanvas.java:8: GameCanvas(boolean) in javax.microedition.lcdui.game.GameCanvas cannot be applied to ()class ...
400 byte By
cermita at 2007-11-27 8:11:45
Hello everybody!What are the standard resolutions? This was the first question that hit me when i first wanted to develope cellphone games. This if anything is something i don't like about game dev.It would be great if there was a database with cellphone specifications, but i haven't found ...
296 byte By
IamAbEa at 2007-11-27 8:11:58
i have a text field in my app and when i edit it on my motorola phone a small box comes up on the bottom of the screen with the label and lets me input a value. is there a way to display that with a command without having a text field displayed on the screen? thanx in advance for the help
202 byte By
IamAbEa at 2007-11-27 8:12:00
whats the simplest way to catch keypresses on an implicit list? i want to have a menu that changes text when you press left or right on a certain item. thank you very much for your time and help.
1659 byte By
dipua at 2007-11-27 8:12:27
Hi,I have developed a system where a j2me midlet sends some post data to a php page running under IIS.The system works fine under IIS 5.x but get a errorcode 400 on IIS 6.0Any idea please ?I think some special settings in IIS 6.0 is responsible for this.If you are interested , the j2me sender ...
674 byte By
JimDVa at 2007-11-27 8:13:31
Hi All,We are developing a midlet that is esentially a photo blogging app. We are using an HTTP POST to send the image to the web server. The code is working properly as we are able to send images up to about 80KB.However, when sending images larger than ~80KB, the midlet gets an ...
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 ...
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 ...
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 ...
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 ...