132 Topics

Member Avatar for
Member Avatar for ocw91

I trying to compile my code in netbean (no red color highlight in code), but there is an error that cause it to fail. i not sure why is it error. Googled and cant find any helpful tips. one said that too many class in the file @@? can anyone …

Member Avatar for ocw91
0
472
Member Avatar for samharcher

Hi, I am developing a J2ME application but i have some trouble when I want to display a new form (contained in a class). My Midlet class is like that public class StoreDataMidlet extends MIDlet{ public StoreDataConnex StoreInfosConnex ; private static Display mDisplay; private ChaineConnexion connexForm; // Form which is …

Member Avatar for Ewald Horn
0
119
Member Avatar for karimun.jersey

Here my web service.. package ahsanfile.webservice; import ahsanfile.webservice.util.DataBase; import ahsanfile.webservice.model.Karyawan; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; /** * * @author Master */ @WebService() public class DataKaryawan { /** * Web service operation */ @WebMethod(operationName = "getKaryawan") public List<Karyawan> getKaryawan() { List<Karyawan> lk …

Member Avatar for peter_budo
0
102
Member Avatar for akuvidz

hi.. i'm new in using j2me,, and currently i'm using eclipse to build the j2me.. and i'm using mysql for the database, how do i connect them? and how can i retrieve the data from the database?

Member Avatar for peter_budo
0
166
Member Avatar for danielagaba

hi i'm trying to connect a midlet running on my emulator (jwtk 2.5.2) to an apache tomcat server which has the servlet code. when i run the emulator instead of displaying the name i posted in the midlet code after connecting to the server, the screen displays the servlet code. …

Member Avatar for nms12
0
303
Member Avatar for Raypos Amert

I need flashlight API or function for my program; and I need to know how it works,but I need to this API without camera flashlight so I want to turn on/off flashlight diode with program! Please help me.

Member Avatar for peter_budo
0
59
Member Avatar for Webville312

Hello all, I am trying to have my Midlet access a website address, but whenever I run it in the emulator, I get a "Null Pointer exception" Here is the code I am using: import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import javax.microedition.io.InputConnection; import javax.microedition.lcdui.Display; /* * …

0
110
Member Avatar for francis994

Please i've got problems reading from a recordstore(does not return any results when it reads any index beyond d deleted index) after calling the delete method with a specified index. Can anyone help?

0
116
Member Avatar for pankaj90

hello I am working on my final year project whose topic is GENERIC BILLING Gateway in this we were creating an Mobile application using J2ME which will send details of user accessing application to GATEWAY which will authenticate the user and will continue to use database if user is authenticated. …

Member Avatar for peter_budo
0
92
Member Avatar for abhijeet P

Hello all, I just want to know if we can pass textfield as alert in J2ME. for e.g. I have a field UserName and Password and when i click 'OK' there should be an alert which would show a texfield for PhoneNo. and we can enter the phone number in …

Member Avatar for abhijeet P
0
77
Member Avatar for abhijeet P

hello all, I am new to J2ME development rather this is my first code i have written in J2me for encryption and decryption using bouncycastle . It is giving the error which i am unable to find solution for... plz help... :sad: This is the error it is showing in …

Member Avatar for abhijeet P
0
379
Member Avatar for MeandJava

Hello everybody, I'm trying to make a connection between my mobile and my pc. Im using J2me midp 2.0 to create my code. The jar of my mobile wants to make a connection to the bluetoothaddress of my pc. My mobilecode is based on a MIDlet. But everytime the connection …

0
211
Member Avatar for connect2abhi

Hi I am designing a custom textfield in j2me. Can anyone suggest me how to make it predictive?

Member Avatar for peter_budo
0
67
Member Avatar for Whilliam

I know I've posted this already but I posted it in the wrong forum.. anyway.. I'm making a calculator program but I'm stuck somewhere. I'm still new to J2ME. So guys, please take it easy on me. . I've been trying to find the error for 4 hours now. I …

Member Avatar for stevelg
0
210
Member Avatar for Whilliam

I'm making a calculator program but I'm stuck somewhere. I'm still new to J2ME. So guys, please take it easy on me. :). I've been trying to find the error for 4 hours now. I think the problem is, x won't retain the value.. anyway, here's the full code. [code="java"] …

Member Avatar for NormR1
0
155
Member Avatar for connect2abhi

Hi I am developing some items using CustomItem and i am adding those into a Form. Now the problem is that when i add a standard item along with my custom item traversal method of custom item stops working properly. My problem will be solved if one can say me …

0
92
Member Avatar for AbdullahDar

The above code gives no errors and the emulator starts running, but the Login Screen is not being displayed on the emulator. I am working in j2me sdk 3.0. Anyone please tell me why it isnt showing the Login Screen. [CODE]import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.*; public class LoginExample extends MIDlet implements …

Member Avatar for _neo_
0
868
Member Avatar for Rahul Das

Hello Everyone, I am new to J2ME. I am learning J2ME Bluetooth application development. I have written a simple code only to get the name of my local Bluetooth device. It is working fine in all the emulator. But when I am trying it in my phone then it is …

Member Avatar for _neo_
0
166
Member Avatar for _neo_

Actually I'm trying to open serial port to send logging data in j2me. When I connect my phone via usb cable to pc my code works correctly. But when I start app without usb cable connecting to phone it is hanging up. [CODE]private static void sendToSerial(String msg) { try { …

Member Avatar for _neo_
0
341
Member Avatar for _neo_

I have test midlet which requests my location via JSR-179 Location API. I use Nokia 6275i. Its java: MIDP-2.0, GPS enabled (I see blue icon on top of my mobile device) When I run this app I got the following error: "java.lang.securityexception: Positioning Log denied Location access." Google do not …

Member Avatar for _neo_
0
280
Member Avatar for MRA91

So this is what I have to do using the http connectivity interface: 1.Creating two threads – one for communication (receiving and sending) and the other (main) thread will be for interaction with the user. 2.The main thread will make use of three midlet forms. The first form will ask …

0
74
Member Avatar for horizondesai

Hi everyone. I'm using jwt 2.5.2 and new to it. I want to create a table (rows & columns) in it. Is this possible with jwt 2.5.2 ? Is there any data type like 'TableItem' ? What is Also, what is character for tab-space in it ? '\t' doesn't work …

Member Avatar for horizondesai
0
169
Member Avatar for gitech

Hai friends, Is it possible to do auto update in j2me. For example, when the user run the application, it connects to server to see if there is new version available. If yes, than first step is to inform the user with popup or alarm. The first step is not …

Member Avatar for peter_budo
0
249
Member Avatar for deucalion0

Hey guys, i was hoping to get some advice on a project i am about to start. basically I have just started learning J2ME, using Netbeans. i have went through few tutorials from Hello World to Pong and completed them working fully. Now my project is something not too difficult …

Member Avatar for peter_budo
0
118
Member Avatar for Acidburn

hey guys I'm trying to get hold of a StreamConnection [code] try { StreamConnection conn = ( StreamConnection ) Connector.open ( url ) ; } catch (Exception ex) { ex.printStackTrace(); } [/code] however when i do this i get the following error [quote] java.lang.ClassCastException [/quote] According to my know of …

Member Avatar for Bens
0
180
Member Avatar for hendrik92

help me plis.. i got some error: this application does not use the screen and runs in the backgroud. .but i don't know what's the problem causing that.. anybody know how to fix it?? i just want to see the gauge bar progressing in MIDLET.. [code=java]import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public …

Member Avatar for hendrik92
0
201
Member Avatar for buba_kazouba

i am trying to make a program that edits contacts on a Nokia phone using J2ME but i don't know how to access the contacts help please

Member Avatar for buba_kazouba
0
201
Member Avatar for cmsc

I am trying to perform real-time background subtraction in j2me and I need to separate the video taken by the camera to frames. However, when I try the getSnapshot() function, it can only allows 5000ms interval. I cannot use 1000ms. Are there other ways on how to do this? Thank …

0
66
Member Avatar for electricBunny

Hello, I'm new to mobile development and Java. My first project is a tower defence game. I'm using j2me. I figured out how to paint the sprites, made a cursor that moves around and turns green or red depending if you can put a tower there or not. Made a …

Member Avatar for electricBunny
0
186
Member Avatar for justyno

am developing a timetable application that requires to make sound at times set by the user.i need an idea on how to make the application run at the backqround that is been able to access the phone time even when it has been exited.Just like normal alarm in phone.please your …

Member Avatar for peter_budo
0
70
Member Avatar for cmsc

I get this error : [QUOTE]Warning: Failed to initialize WMA message routing support[/QUOTE] when I run my J2ME program in eclipse. I used the sample apps from WTK. it runs in Java (TM ) ME Platform SDK but when I import it eclipse the mobile phone will appear then disappear …

Member Avatar for peter_budo
0
122
Member Avatar for cmsc

When I run my J2me project on my computer, the mobile phone device appears then two options appear. I select Install Application -> Launch. Then it will ask for a path [[url]http://][/url] Where can I get that path?

Member Avatar for cmsc
0
151
Member Avatar for jrosh

hi, I am getting following compilation error when i'm tryin to run j2me app in net bean 6.5. Please tell me how to resolve it. C:----\nbproject\build-impl.xml:56: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory. thank you.

0
58
Member Avatar for harinath_2007

Hi.. Well.. i am doing a project in J2ME . I heard that j2me midlets cannot run on some of the (latest) mobile phones and there involves a hectic work to deploy them in mobile. Is that so? . How to deploy my j2me midlet in mobile phone. ? Copying …

Member Avatar for peter_budo
0
91
Member Avatar for jrosh

I have being tryn to send and recieve sms from j2me emulator. I cameup with following code inorder to send the sms [CODE] String mno=toWhom.getString(); // mno= massage number String msg=message.getString(); try { clientConn=(MessageConnection)Connector.open("sms://"+mno); //MessageConnection clientConn; } catch(Exception e) { alert = new Alert("Alert"); alert.setString("Unable to connect to Station because …

Member Avatar for Hakoo
0
163
Member Avatar for lsvife

I am new to J2ME Programming so i am stuck with the keylisteners.. I am writing a simple J2ME app in which there are 2 textfields. As soon as the user types a char in first textfield the result must be displayed in second. I want to handle the events …

Member Avatar for Hakoo
0
148
Member Avatar for lsvife

i created a simple program using j2me when the user input number[1-9], the element that corresponds to the input is highlighted.. i use choicegroup.. how to do it??

Member Avatar for peter_budo
0
104
Member Avatar for jrosh

Is it possible? I have three midlets. I want only one running first and others should be available to the user after lauching the 1st midlet. How can I achieve this??

Member Avatar for peter_budo
0
109
Member Avatar for lsvife

i created a list of name using j2me. its like looking for a contact number in our phone that has a textfield to search. i want that when i type the beginning of the name i want to highlight the name that corresponds the search name.. is it possible to …

Member Avatar for maninaction
0
116
Member Avatar for jrosh

When I try to enter data in to PIM with J2me, It gives an InvalidIDException. What is it? and how can I resolve it.

Member Avatar for jrosh
0
51
Member Avatar for martosio

hi there, I'm currently creating my first mobile app, a drinking game (I know, alcohol and technology don't mix. But alcohol and manual calculations are even worse!). All my data is stored in an 2-dimensional array. the number of users may vary from game to game (=number of rows) but …

Member Avatar for Hakoo
0
152
Member Avatar for lsvife

i created an application for my mobile phone using J2ME...i want that when i turn-on my mobile phone i want my application to start automatically... i heard about push registry but i dont know how to do that... could anybody help me??? thnks....

Member Avatar for peter_budo
0
83
Member Avatar for ChrisHunter

Hi my problem is that i'm making a mobile app and i need to seperate the following string: ChrisHunter21 into: Chris Hunter 21 What is the easiest way to do this in J2ME ? i had a look at the Ostermiller one but didnt understand it. Thanks Chris

Member Avatar for peter_budo
0
234
Member Avatar for lsvife

I want to create program that would check if the mobile phone is registered by using IMEI in a mobile phone? How to get the IMEI number using J2me. Could someone show me the right code in doing this..thnks in advance...

Member Avatar for peter_budo
0
103
Member Avatar for jrosh

I want to create a j2me app with some pleasing UI. I tried polish but I didn't worked well, what are the other options I have? I am looking for SVG. But I am not comfortable with xml. please help me with this. than you

Member Avatar for jrosh
0
165
Member Avatar for jrosh
Member Avatar for peter_budo
0
58
Member Avatar for mahdi68

Hi i try sen sms with this code , but invalid port error shown [CODE] try { MessageConnection mc = (MessageConnection) Connector.open("sms://0123456789"); TextMessage msg = (TextMessage) mc.newMessage(MessageConnection.TEXT_MESSAGE); msg.setPayloadText("salam"); mc.send(msg); mc.close(); } catch (IOException ex) { ex.printStackTrace(); }[/CODE] what is wrong in my code ?

0
88
Member Avatar for Hakoo

Hello, I have developed application in NetBeans using VMD, which add, edit, view and delete record using RecordStore. I can successfully add and view RecordStore. I am finding difficulty to Edit/Delete Record. To Edit(Update)/Delete, I maintained new form, used ChoiceGroup.Popup, which retrieve IDs from Record-Store. Here what I am getting …

Member Avatar for Hakoo
0
154
Member Avatar for Hakoo

Hey all, I am getting confused that I want to create database in J2ME. I did not get any other options rather than RECORD STORE.So I created them, and using that as my database. I get some detail about PointBase database, but not able to understand that. Can anyone Tell …

0
83
Member Avatar for aldm

Hi, I have a problems with certificates in j2me. I need to access web mail using https connection, but there is certificate exception: javax.microedition.pki.CertificateException: Certificate was issued by an unrecognized entity I tried to use UserCredentialManager class, but I didn't found detail explanation how to use this class. Here is …

0
112

The End.