I have been using IntelliJ IDEA IDE for java development for about a year.However, recently I started working on the J2ME platform.However,when using the Oracle J2ME SDK as my project sdk, I can't run a MIDlet.It is working in netbeans but not IDEA.it shows me the following error: `ERROR - AMS - 2 - Installation failed: Invalid JAD Exception, reason: 40, message: Reason = 40 com.sun.midp.installer.InvalidJadException: Reason = 40 Either the configuration or profile is not supported` has anyone faced this problem? How can I resolve this? Please help me as I love developing in IDEA.

Member Avatar
+0 forum 0

java and j2me are same or what ? Can I make j2me app. After learning java ? If yes Suggest some good free website to learn java which gives complete a2z course ?

Member Avatar
Member Avatar
+0 forum 2

hi i have created a j2me application which uses gps but wen it wants to use gps it prompts out a message to comfire its usage over location services. now i want to know how to make location servies to be used my default by the cellphone. i know its with the use jad but dont have the apporiate code to allow the application to allow the above task can u'll please help me thanks in advance....

Member Avatar
Member Avatar
+0 forum 1

How to connect a MIDlet application installed on mobile to a server application on the desktop?

Member Avatar
Member Avatar
+0 forum 1

This post about J2ME in Netbeans. Actually I'm new to mobile development and so interest to learn it. I want to create a jar file and should be attached database to it. (Netbeans has built in database creating facility, which i want to use) There are a lot of codes in the internet for database connection string. those are so complex to understand for beginners. (for an example [www.ezdia.com/epad/j2me-tutorial-connect-database/375/](Link)) I expect a very simple code for database connection and please tell me how to attach that database to the JAR file step by step. I think after initializing my project …

Member Avatar
Member Avatar
+0 forum 2

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?

Member Avatar
+0 forum 0

Hello there! Please I need help in converting a jar/jad file to cod/alx i.e converting j2me files to blackberry files.

Member Avatar
Member Avatar
+0 forum 2

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 fails. Could someone give me some tips and look to my code. [CODE]package bt; import hello.AlertMsg; import java.io.IOException; import javax.bluetooth.RemoteDevice; import javax.microedition.io.Connector; import javax.microedition.io.StreamConnection; /** * * */ public class DeviceConnection { private StreamConnection con = null; private String devAddress = null; private int port = 0; public DeviceConnection(String devAddress, …

Member Avatar
+0 forum 0

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 { if (msg == null) return; msg += getEol(); // append End Of Line symbol "\r\n" CommConnection comm = (CommConnection)Connector.open("comm:" + getComPort()); OutputStream os = comm.openOutputStream(); os.write(msg.getBytes()); os.close(); comm.close(); } catch (Exception error) { error.printStackTrace(); } } [/CODE] in above code getComPort() returns "com0" string. Is there any way to use …

Member Avatar
Member Avatar
+0 forum 1

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 give clean results. Please, anybody know what does mean this exception? I tried add permissions javax.microedition.location.... No success. My test midlet is here: [CODE] package hello; import javax.microedition.lcdui.*; import javax.microedition.midlet.*; import javax.microedition.location.*; public class CoordinateAlert extends MIDlet implements CommandListener { private Display display; private Form mainForm; private Alert positionAlert; public …

Member Avatar
Member Avatar
+0 forum 1

I am writing a program using J2ME and my goal is to count how many times each character appears in a string. I am not very good at java so the way i see i should do this is create 2 arrays. First array is used to hold characters. Second array is used to keep count The program goes through checks if the first character of the string is in the first array. If it isn't, then put it in the first position in the array and add 1 to its count in the second array. This loops through until …

Member Avatar
Member Avatar
+0 forum 4

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
Member Avatar
+0 forum 4

We have a mobile game application created using j2me. This application need to communicate with an asp.net wcf service to send/receive data in json format. I have created the service and uploaded on to server. The url is somewhat [url]http://xyz.com/TheService.svc[/url]. This service provides some methods for example - int add(int n1, int n2), string getfullname(string fname, string lname) I am facing the problem on how to consume it. Any help is greatly appreciated.

Member Avatar
+0 forum 0

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
Member Avatar
+0 forum 1

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
Member Avatar
+0 forum 2

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 their state does not (fixed number of cols). My problem: I want to display this data in an overview-table,but haven't got a clue on how to display a table, nor load my array-value into it. please do "eluminate" me. I do not have Java-experience but I am aware of programming …

Member Avatar
Member Avatar
+0 forum 1

i just to know how can we implement the feature of live streaming in my blackberry aplication.. thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

i am creating a midp 2.0 s40 mobile application s40 that will post some data in to a postgres sql server i have created a form with text boxes and selection list can some one please tell me a way how do i post an sql query i have the ip adress username and password for the server thanks in advance please reply

Member Avatar
+0 forum 0

How to start building mobile appliacations using J2ME platform.Can somebody suggest me any book for beginners from where I can start learning about it?

Member Avatar
Member Avatar
+0 forum 1

Hello all, We have developed two independent applications on individual systems. But both are developed in NetBeans 6.9 using Visual Midlet(VMD). Now problem is to merge those applications into one. Is this possible? How can I do this? Thanking You, Hakoo Desai.

Member Avatar
Member Avatar
+0 forum 1

Hello all, I have developed one application which import all databases into recordstore. This executes successfully, but the problem comes when I try to Filter my records. here the code is : [CODE]public void itemStateChanged(Item item) { if (item == choiceGroup_ProductCompany) { RecordFilter filter = new RecordFilter() { public boolean matches(byte[] candidate) { ByteArrayInputStream bis = new ByteArrayInputStream(candidate); DataInputStream dis = new DataInputStream(bis); String comp; int res = 0; try { dis.readInt(); dis.readUTF(); comp=dis.readUTF(); String s = choiceGroup_ProductCompany.getString(choiceGroup_ProductCompany.getSelectedIndex()); res = (s.toLowerCase()).compareTo(comp.toLowerCase()); System.out.println("Pro_Company:" + s.toLowerCase() + "\t" + "Database:" + comp.toLowerCase()); } catch (Exception e) { e.printStackTrace(); } if (res == …

Member Avatar
Member Avatar
+0 forum 2

Hello all, I am retrieving data from servlet to midlet. Now coming data is whole string. but now I want to chop it into different words. here my code is : [CODE] HttpConnection conn = (HttpConnection) Connector.open(url); StringBuffer sb = new StringBuffer(); conn.setRequestMethod(HttpConnection.GET); conn.setRequestProperty("Content-Type", "Application/x-urlformencoded"); InputStream is = conn.openInputStream(); byte[] b = new byte[(int) conn.getLength()]; int ch = 0; while ((ch = is.read()) != -1) { sb.append((char) ch); } System.out.println(sb); [/CODE] and the output is LG WIPRO VIDEOCON DELL HP COMPAQ But now I want each word and append them into list. What can I do?

Member Avatar
Member Avatar
+0 forum 2

Hi Everybody! Can anybody clear my doubt regarding the Android Application Development? I had a question that does the Android Programming has anything to do with the J2ME platform, I mean to say does the Android Programming uses the J2Me concepts? Or the Android development is a totally or somewhat different thing than J2ME. I am a Newly Joined Android Developer and I really want to get cleared with this. Please let me know if anybody is knowing this. Thank You john

Member Avatar
Member Avatar
-1 forum 3

Hello Friends, I want to synchronize the database from server to mobile application. I googled so much. I got much information on : [LIST] [*]DB2 Everyplace [*]IBM CloudSpace [*]PointBase(Not able to download) [*]Sync4j [*]SyncML [*]Data Sync API(Not able to find) [/LIST] Now I am confused to which one to select? Which method is proper to do this. I have to accomplish this task within 2 days, so please help me. I have created database in RecordStore in J2ME,.

Member Avatar
Member Avatar
+0 forum 4

Hello, I am new in J2ME, I have created one application which stores Name, Qty, Price and Total. I can manipulate RecordStore in this application. Now, I want to send this data to some other Remote Place, i.e server or through SMS. Is there any way to do this?

Member Avatar
Member Avatar
+0 forum 1

hi all, I developed j2me, android and blackberry based applications. I need to showing the demo for clients through my own website. Is this possible for showing the demo using micro emulator through my website?. For example user can choose the both type of mobile and type of application and then see the demo on website. Like see this link, [url]http://www.microemu.org/demo.html[/url]. Give me some idea or any alternative ways for this?

Member Avatar
+0 forum 0

Hi all, I am stucked at this problem - net to let user set string as byte eg. "0xFF", And parse it to byte. Problem is, that using... [CODE] byte byteVar = (byte) "0xFF"; [/CODE] ...is incompatible. Nice page about this is [URL="http://www.herongyang.com/Java/Byte-Data-Type-Implicit-Casting.html"]there[/URL]. Any idea how solve this? Thx for your help..

Member Avatar
Member Avatar
+0 forum 4

Hello All, I have confusion in command Class. Its constructor has 3 parameters. First 2 parameters I can understand. but [CODE]Command.Screen[/CODE] and priority parameter I could not understand. I tried to Google also, and refer different kind of ebooks, but still i cant understand. So please help me.

Member Avatar
Member Avatar
+0 forum 4

I want to implement a file lock using j2ME for mobile files...Can you please help me how to get started with? Can i get files in the emulator? I am using sun wireless toolkit 3.0 to implement it. I am designing it for symbian.

Member Avatar
Member Avatar
+0 forum 5

Hi Everybody, I am a new joinee as an Android Application Developer. Now I have a duobt that "Does the Android Application Development uses the J2ME platform, I mean can we call the Android Programming as the J2ME programmimg or the Android Programming has nothing to do with J2ME or it has any kind of connection with the J2Me. The doubt has raised because basically the J2Me is regarding the small Mobile Applications and Android is also related to only Mobile programming. If anybody has any relevant knowloedge then please do let me know. Thank you. john

Member Avatar
Member Avatar
+0 forum 4

The End.