Questions tagged [midlet]

MIDlet is an application that uses the Mobile Information Device Profile (MIDP) of the Connected Limited Device Configuration (CLDC) for the Java ME environment

263 questions
4
votes
0 answers

Unexpected JDWP Error 21

HttpConnection conn = (HttpConnection) Connector.open(strDefURL + strBloggersURL); I have this line throwing "InternalException: Unexpected JDWP Error: 21", I am using it to get some XML back from a servlet I have created. The odd thing is that the…
Stephen Murby
  • 1,407
  • 3
  • 17
  • 37
3
votes
1 answer

One itemStateChanged method for many Displayable objects in j2me

Can I have one itemStateChanged method to monitor changes triggered by user for many Displayable objects in a MIDlet (e.g. for a form and a list), using if clauses to decide what was changed, or do I have to create a different method for each…
nikos
  • 2,893
  • 11
  • 30
  • 39
3
votes
1 answer

Launch another midlet from midlet

I made the program Test.jar which there is a menu to run another program (Hello.jar). I've been looking for and get the following code…
3
votes
1 answer

what is basic difference between J2ME MIDlets and blackberry RIMlets

I just started with Blackberry application development. What are differences between J2ME MIDlets and Blackberry RIMlets? Which is better for GUI Applications for Blackberry?
sahil
  • 265
  • 1
  • 5
  • 15
3
votes
1 answer

Midlets execution problem

Using Java ME Platform SDK 3.0. I open a new project and it is executed, but if i try to do one since new project>midlet this is create with hello world and this work but if i build the code in a class >new project>class.. and i write extends midlet…
angel
  • 4,474
  • 12
  • 57
  • 89
3
votes
3 answers

J2ME and (open source) applet signing for Mobile Devices (esp. phones) - what can I do?

I've just discovered J2ME and I love the possibilities that it presents. I'm currently working on a simple application and I'd like to maybe release it as an open-source project sometime in the future. As part of my research into J2ME and mobile…
codeinthehole
  • 8,876
  • 3
  • 25
  • 34
3
votes
0 answers

How to hide the midlet icon on Nokia phones in J2ME?

I have developed a midlet that is supposed to be invoked using Push Registry only. The user must not be able to manually start the app. I have achieved this by checking if the midlet was not invoked through Push Registry, then exit the midlet…
Ashish Awaghad
  • 2,822
  • 3
  • 24
  • 33
3
votes
2 answers

why getAppProperty() is not static method?

getAppProperty(String key) is instance method in MIDlet class. Since all midlet in midlet suite share same manifest/jad file, so why cant it be a static method?
anupsth
  • 657
  • 1
  • 6
  • 18
3
votes
1 answer

Open file with MIDlet.platformRequest()

Is it possible to get a device to open a file on disk using the MIDlet.platformRequest(String url) method? I was hoping to use the following: midlet.platformRequest("file:///path/to/file/file.png"); But this just throws a ConnectionNotFound…
roryf
  • 29,592
  • 16
  • 81
  • 103
3
votes
2 answers

How do you organize your code in a j2me project?

Sorry if what I'm about to ask you is a silly question, but since I'm taking my first steps into j2me I have to do it. I know that you can have multiple screens in a single MIDlet, but that doesn't seem to be a good idea when you're going to have a…
eddy
  • 4,373
  • 16
  • 60
  • 94
3
votes
2 answers

J2ME Midlet exception :IOException reading reader invalid first byte

When i run my midlet with Java Wireless toolkit, midlet runs correctly, but when it try to parse a textfield, following error occurs; java.lang.RuntimeException: IOException reading reader invalid first byte 10010111 at…
Mp0int
  • 18,172
  • 15
  • 83
  • 114
3
votes
0 answers

Sending binary SMS using different phones

I have midlet application which sends binary SMSes. Part of code responsible for sending SMS (copied from some tutorial): MessageConnection smsConnection = (MessageConnection)Connector.open(destAddress); //Create binary message …
ignorant
  • 137
  • 1
  • 7
3
votes
2 answers

(J2ME) get the reference of the MIDlet from some other class?

I am trying to make a class that can set what is on the screen (Like set a Form to the Display, what ever.) outside the midlet (Main) class So I thought I have to enter and change the Main's variable display, but I went to an error. Here's the…
SmRndGuy
  • 1,719
  • 5
  • 30
  • 49
3
votes
5 answers

J2ME's extra annoying HTTP permission prompt

Some phones only prompt the user for permission the first time a connection is made. Others pop up the permission prompt whenever the MIDlet attempts to make a HTTP connection! What are the options if we want to suppress the prompt? Can we sign the…
Hans Malherbe
  • 2,988
  • 24
  • 19
2
votes
2 answers

J2ME getDisplay() method

In J2ME to create the Display class object we use private Display d; d=Display.getDisplay(this); What is this as parameter? I know this refers to the current instance but when I write the following I get errors d=Display.getDisplay(new…
Rameshwar.S.Soni
  • 630
  • 1
  • 8
  • 22
1
2
3
17 18