dont know how to write a file

125 byte By eckoa at 2007-11-27 2:46:02
hi i have found many examples for how to create a file but the just create an empty file, how can i write a text file?

Is it possible to detect keyCode when a 'Form' is shown ?

277 byte By Kakyoina at 2007-11-27 2:48:01
Hi.I'm quite new to this but I did browsed the documentation.When a Form is shown, the user interactions are done by commandListener, not keyPressed().Is it possible to detect keyCode(like number keys) when a 'Form' is shown ?Thank you. =)

determine succesful connection socket

752 byte By jonney69a at 2007-11-27 2:48:29
Hi how can i determine if a user has succesfuly connected to a socket connection? i have the following code below that opens a socket and creates input/putput streams. thanks in advancepublic void open(){try{server = (SocketConnection) Connector.open(url);is = server.openInputStream();os = ...

Is it possible to communicate with php

203 byte By mcarlinga at 2007-11-27 2:49:03
HelloIs it possible to communicate with php5 using a MIDP 2.0 aplic. Get/Post/echo ?Fist of all I like to send " Text " from Server PHP5 >> MIDP

HttpConnection problem

430 byte By gerekbolsaa at 2007-11-27 2:49:31
Hi I have MIDlet which connects to server with HttpConnection to retreive txt file.It is working fine when I try it with emulator, it is read. But whenever I deploy the MIDlet to my MDA compact iii device and run it I get "Bad Request(Invalid Header Name)". Then if I move that txt file to ...

WTK Problem

234 byte By Atiqea at 2007-11-27 2:49:48
I am using WTK 2.5. I am developing a WMA bases messaging software for Symbian devices. But the problem is the my WTK is not generating jar file. It is generating jad file but not jar. o any one have any idea how to solve this?

Monitoring dialled number

162 byte By DoubleAcea at 2007-11-27 2:51:41
Hi,Is it possible to run a Wireless Toolkit developed java application in the background and listen to the dialled number?RegardsJohan

Do J2ME support Regular Expressions?

167 byte By tongwaa at 2007-11-27 2:51:46
If yes, how can i do thati want to get a html page by the j2me and use Regular Expressions to get all link from it (eg. http://yahoo.com/123.php )

Input field in SVG GUI?

363 byte By harry.schuster@gmx.dea at 2007-11-27 2:53:59
Hi again,currently i am experiencing SVG tiny.Is it possible to use a SVG GUI with input-fields? I like the SVG style...but i need input fields (text fields etc) At the moment i have "only" a UI with menu items which work well!Is it possible to read a text-field from a SVG GUI and to get the ...

Push registry on midp1.0

514 byte By MelGohana at 2007-11-27 2:54:06
Hi, is there possible to wake up a j2me application when a sms incomes or a bluetooth device is transmiting on devices with midp1.0 like nokia 3120?I found that the class PushRegistry is only on midp2.0 but what if I register it manually on the jad file!I hace read parts of the push registry ...

platformRequest to send voice messgae

313 byte By jesiu1023a at 2007-11-27 2:55:05
hi all,It is possible to use platformRequest(Number) to make a call and then send a voice message stored in a jar file(such as wma) to the other side? I searched online but I couldn't find a way to control the platformRequest() after it invoked with "tel:xxxxxxxxxx". Thanks in ...

https problem

1383 byte By jonney69a at 2007-11-27 2:56:38
Hi i get the following exception thrown at me when trying to connect to a php server. the exception is:javax.microedition.pki.CertificateException: Certificate was issued by an unrecognized entitymy code is below: public void open(){try{server = (HttpsConnection) Connector.open(url);is = ...

Audio Saving Via HTTP In J2ME

174 byte By darrana at 2007-11-27 2:56:42
Say I am accessing an audio file from a url. How can I download that file and save it into my phone's directory using a J2ME application? Need some advice here

different library for HttpConnection

251 byte By gerekbolsaa at 2007-11-27 2:56:52
HiI am wondering is there any independent HttpConnection implementation for java microedition to use?I have some problems with the HttpConnection from Suns library.It will be really nice if you could give me any suggestions

j2me encryption using bouncy castle

468 byte By xaiaia at 2007-11-27 2:57:15
Hi all, I'm now using Bouncy Castle API to to encrption. I've search the internet and find some example code and tutorials on encrption using bouncy castle. I've also find that some sites tells Bouncy Castle can also helps on Key Exchange. However, I can't find any articals/source code on ...

User-Agent property is doubled in HttpConnection

620 byte By gerekbolsaa at 2007-11-27 2:57:51
Hi,I have midlet which makes an HttpConnection to the server.If i deploy it in my device MDA compact III, and try to connect to server I get 400 Bad Request (Invalid Header Name). I searched around and found the reason that my device sends two User-Agent headers. One is "Untrusted/1.0" other is ...

java.lang.IllegalStateException

742 byte By jonney69a at 2007-11-27 2:58:40
hi i get the following error: java.lang.IllegalStateException: Write attempted after request finishedi am trying to send data into a http connection but it wont allow me due to this error. any suggestions? thanks in advance and teh code is below:server = (HttpConnection) Connector.open(url2);is ...

get keypresses on a list

147 byte By IamAbEa at 2007-11-27 3:02:03
is there a way to monitor keypresses on a list rather than a canvas? i want to make a list that changes when you press left or right. thanx.

Urgent :problem while running HTTPS in J2me for Nokia 3250

741 byte By ratan_java_mea at 2007-11-27 3:02:10
Hi every body,i m running a application in J2ME HTTPS sample application on Mobile device 3250.in desktop emulator it works fine for the URL i have tested https://www.cert.org/ but this does not work on the device . it results in the exception :java.io.IOException: Native Error-7372Also in ...

Prblem with Blackberry with TextField and ChoiceGroup

1624 byte By Ashwin@banga at 2007-11-27 3:02:54
View Profile problem with Blackberry reply ASAP?on: Today at 11:08:11 AM ?Hello Everyone,I have a application which is developed in WTK 2.5 which is working fine in all mobiles, when this is converted to a .cod file for blackberry 7290, i am facing problems with TextField and ChoiceGroup, When ...

Testing an SMS Application with Simulator

319 byte By vijaykumar.Ma at 2007-11-27 3:03:19
Hi friends,I have developed a SMS Applicatiion using GSM Modem,but i want to test this application with a Simulator which acts as GSM Modem before installing a real GSM Modem for the Application.If any one anyone has come across this application pls help me out regarding ...

Urgent: Bluetooth one-way communication

336 byte By rakesh.pachavaa at 2007-11-27 3:04:05
Hi its very urgent,i have to send a file via bluetooth from my mobile device to another mobile device. my device has application which should send the file and the other device which accepts the file doesn't has my j2me application.can any one help me regarding to it.thank ...

Audio Problem

1071 byte By gajanana at 2007-11-27 3:05:13
I am trying to play audio files using j2me.I am using MMAPI.First I have used .mp3.String url_audio = " http://219.91.231.122:8080/im_comp/i1.mp3";connection = (ContentConnection) Connector.open(url_audio.toString())InputStream is=null;is= connection.openInputStream();player = ...

Installation of WTK2.5.1 fails

378 byte By oxg1123@hotmail.coma at 2007-11-27 3:07:58
I'm trying to install WTK 2.5.1, but the "Browse" button on the "JVM location" wizard page doesn't work. Nothing happens when I try to click on it. But the installation of the WTK2.5 works fine.Env (Windows XP):JAVA_HOME=C:\SunJava\jdk1.5.0_11PATH:C:\SunJava\jdk1.5.0_11\bin;%PATH% Any ideas ...

Form.addCommand();-> How to specify which softkey to be mapped ?

579 byte By Kakyoina at 2007-11-27 3:11:24
Hi.Just curious, but is it possible to specify which softkey (left or right) to be mapped to certain command? For example, my Motorola K1 always mapped the command to the left softkey before the right one. It's not a problem but for some reason, if I want to use only the right softkey, is it ...

inquiryCompleted() and searchServices()

428 byte By malrawia at 2007-11-27 3:12:50
is it possible for the inquiryCompleted() to be executed before we are done searching the services?in my code i am trying to show the list of discovered devices in inquiryCompleted(), but i get nothing mainly because searchServices() is not does yet.if that's the case where should i place the ...

j2me and database

283 byte By gerekbolsaa at 2007-11-27 3:12:58
Hi folks,Currently I am working on project where MIDlet needs to store some data.Is there a special database management systems for mobile phones?Does the persistent storage of j2me can store datas permamently on device?Any help will be appreciated

string out of bounds error

7385 byte By jonney69a at 2007-11-27 3:13:21
Hi i am getting a very strange exception that i dont quit understand because when i debug the area in which the exception is thrown, no exception is thrown during debugging at the specific area.to make my problem simplier to understand, the exception points to this code below that gets some ...

GSM and GSM 900 and GSM 1800

102 byte By MCA134a at 2007-11-27 3:14:37
Hi Friends,What is the different between GSM and GSM 900 and GSM 1800 ?Thank you,

Jmf Pocket pc problem

510 byte By pakit1984a at 2007-11-27 3:15:43
When i tried to execute my streaming player on pocket pc with CrEme Nsicom virtual machine it doesn't work, but it It does not return no error; the message that it returns is:bandwith info: AS:63....................... and then this messge it does not execute no action.Instead on my pc with ...

Weird problem with J2ME app

6791 byte By chris_van_hinsbergena at 2007-11-27 3:16:05
Hi all,I have this really weird problem with the following application.In my application, i do the following:ReadGPSModel readGpsModel = new ReadGPSModel();FCTextBox textBox = new FCTextBox("GPS data",512,0);programView.getDisplay().setCurrent(textBox);the ReadGPSModel looks like this:import ...

Need help or resource for developing 3G signal meter

561 byte By khickyphutza at 2007-11-27 3:18:00
Hi All!Need help in measuring 3G signals... I am currently using SE K800i. Although my cellphone has an icon that will be displayed every time it can get a 3G signal, I need to know the strength of the signal that I am getting that is why I need this application a lot?br>Is there anyone knows ...

How to show images and text together in textfield or textbox.

269 byte By Atiqea at 2007-11-27 3:18:31
I want to show text and image both in text field or text box or any other container. I actually want to make an messaging application like msn message chat. Where user can add emotion along with their text messages.Do any one have any idea how to do this?

Hi

128 byte By ParagPatila at 2007-11-27 3:19:54
Hi.......,How to create and append text file in j2me using jsr75can anybody help me thanx in advance

Where should store resource files in Eclipse3.2 ?

215 byte By NelsonJosepha at 2007-11-27 3:20:00
Hi all,I am using Eclipse SDK 3.2 for J2ME. I have installed the plug-in for j2me. Now can anybody help me to store the resource file? Please tell me the location.Thanks in advance.Nelson

j2me application for several phones

228 byte By tuncayya at 2007-11-27 3:21:25
I have just coded a server-client application for mobiles using J2me in client side.The output of my program is good at some phones and not good at others,how can I arrange my program mobile to mobile?Thanks

How to use org.netbeans.microedition.lcdui.SimpleTableModel in J2ME POLISH

666 byte By j2me_fighta at 2007-11-27 3:21:27
Hi,I m trying to use org.netbeans.microedition.lcdui.SimpleTableModel in J2me olish project. When i compile it does not give any error. But When i run it , gives the following errorWhen an API-class was not found, you might need to define where to find the device-APIs. Following classpath has ...

Using GPRS

249 byte By primrosea at 2007-11-27 3:24:21
Hi allI want to develop an application that deals with GPRS to sending data to server.So please, how can I start with this idea? And what will I need to achieve it? Any help or links will be appreciated.Many thanks

Question about Canvas in MIDP 2.0

202 byte By vaheara at 2007-11-27 3:25:09
HI ALLCan anyone tell me, is the function setFullScreenMode(boolean b) workon all phones wich support MIDP 2.0?I can only try on Nokia, Samsung, SonyErocssonThank you.

j2me basics

294 byte By kauhsik_purohita at 2007-11-27 3:25:18
Can anyone tell me , how the machine language instructions that are translated from j2me bytecodes are executed by the operating system.How the operating system makes these machine language instructions to communicate with the processor?If possible i need a detailed answer

application didnt start just says application error when starting...

448 byte By eckoa at 2007-11-27 3:29:51
hi guys i have an application made wiht netbeans, in netbeans it works well with the virtual cell phone, but when i install the application on a sonyericsson w810i it just says that there is an error :S, i just add some screens before making a little more complex the application worked well in ...

IllegalAccessException starting my J2ME app

4451 byte By mmiikkee13a at 2007-11-27 3:30:31
I have this code in Test.java:import javax.microedition.midlet.*;import javax.microedition.lcdui.*;import javax.microedition.lcdui.game.*;public class Test extends MIDlet implements CommandListener{TestCanvas canvas;public Test() {}public void startApp(){canvas = new ...

application crash when it starts with a list form...

278 byte By eckoa at 2007-11-27 3:31:00
hi guys i have an application that starts with a list form, i use netbeans and linux, in the emulator it works well but in my sony ericsson w810i it crashes when the application starts with a list form, if i change it to a text form or other thing it doesnt crashes, why?

request.getParameter() returning NULL

4901 byte By Raaghuamateura at 2007-11-27 3:31:53
Hi,I have a developed a J2ME application which is communicating to a servlet, but when I do "request.getParameter("GPRSDATA")", NULL is returned, I have even removed "flush()" in J2ME client, still it is null. Help, Urgent!!!//J2ME code public void openConnection() throws Exception {new ...

Access to ringtones directory

648 byte By abhimanyu_audama at 2007-11-27 3:31:54
Hi.,I am new to J2ME.I m developing an application in J2ME which requires access to ringtone directory..I have few queries regarding ringtones..1. If I download a ringtone..in which directory it will be saved.?2. How can I access this directory of ringtones? which API is used?3. I want to list ...

How to let my mobile silent? pls respond rapidly, VERY VERY URGENT

156 byte By kalakoulaa at 2007-11-27 3:32:51
Hi,I'm new in J2ME. I want to write a MIDLET that makes my mobile sound OFF. How to do this pls help.Thanks in advance..

HI,,,How to read text file from my emulators root

650 byte By ParagPatila at 2007-11-27 3:32:58
hi friends,Actully i m having problem with file connection i.e. i cant read text file from my root of the emulator.....i have tried like this...plz help me outString uri = "file:///C:/WTK22/appdb/DefaultColorPhone/filesystem/root1/New Folder/main.txt";InputConnection conn = ...

How can i make my root accessible from my wtk

520 byte By ParagPatila at 2007-11-27 3:33:44
Plz help me ,,,unning with storage root DefaultColorPhonejava.io.IOException: Root is not accessibleat com.sun.midp.io.j2me.file.Protocol.ensureConnected(+47)at com.sun.midp.io.j2me.file.Protocol.ensureOpenAndConnected(+21)at com.sun.midp.io.j2me.file.Protocol.listInternal(+8)at ...

installation problem on LG cg225

259 byte By sushil.kadua at 2007-11-27 3:33:45
Hi all, I'm working on one application whose jar size is 175K.While installation I'm getting OutOfMemory error.The max jar size of the device is 300K, what must be the problem.Thanks in advance.Regards,Sushil

how can I read a jar file outside the MIDlet?

520 byte By miaa at 2007-11-27 3:34:55
Hi,I want to write a MIDlet which reads a random jar file on the mobile phone and then process it. In order to read the content of the jar file, I need to unzip it first. But as I know, MIDP and CLDC right now do not provide jar file unzip library. I have two questions:1. right now, is there ...