Questions tagged [midp]

Mobile Information Device Profile is a set of Java ME specifications. Known versions are 1.0 (JSR 37), 2.0 and 2.1 (JSR 118) and 3.0 (JSR 271)

592 questions
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

tell me what happens with this code?

I am trying to understand J2ME code Thread aaa = new Thread(pb) { private final ProgressBar val$pb; public void run() { while (this.val$pb.getValue() < 100) { try { this.val$pb.setValue(this.val$pb.getValue() + 1); …
Rahul Virpara
  • 1,209
  • 1
  • 12
  • 24
3
votes
1 answer

You must include the platform port before the LWUIT in the classpath: How to solve this run time exception?

Possible Duplicate: You must include the platform port before the LWUIT in the classpath runtime exception I am just now started the LWUIT use in J2ME. I don't have more knowledge of LWUIT but I know better J2ME. I have added library of LWUIT in…
Mr. Sajid Shaikh
  • 7,051
  • 4
  • 21
  • 35
3
votes
2 answers

Download Images in loop java me

In my application we have to download around 10 Images from server and display it in mobile. How can I do this? Can I use same HttpConnection for full download? Is any other way for download?
Rajesh M P
  • 477
  • 1
  • 10
  • 21
3
votes
2 answers

Making http request in J2ME

I'm maintaining a J2ME application where I found a http request to http://www.google.com in application initialization. I asked the developer why there is a request to google. He said that this way the other requests that the application makes would…
Daniel Moura
  • 7,816
  • 5
  • 35
  • 60
3
votes
2 answers

How to get the size of sprite in a sprite "Sheet"?

my problem is getting the Sprite in a Sprite "Sheet". public class Blocks extends Sprite{ public Blocks() throws IOException { super(Image.createImage("/blockSprite.png"),20,30); } } …
Christian Eric Paran
  • 980
  • 6
  • 27
  • 49
3
votes
1 answer

Understanding synchronization needs for RecordStore in J2ME

Reading up on the RecordStore documentation, one can read the following: Record store implementations ensure that all individual record store operations are atomic, synchronous, and serialized, so no corruption will occur with multiple accesses. and…
Bimp
  • 494
  • 2
  • 5
  • 14
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
2 answers

How to read and write data into same file simultaneously

I have read many a posts where-in they speak about reading and writing into the file NOT simultaneously using JavaME. I have a special use case scenarios where-in my log file (maybe full file or just portion of the file) is uploaded to the server on…
Vimal
  • 1,266
  • 1
  • 9
  • 16
3
votes
1 answer

Reading Content from File in J2ME

I am trying to read the content of a file but it seems not to work. I surfed the net and found different implementations as shown(read(), read2(), readLine()) but each time a run the codes they all give a NullPointer exception. Please what can I do…
nnanna
  • 287
  • 4
  • 12
3
votes
1 answer

Using boolean var for stopping threads

I have a Java book I'm learning from and in one of the examples, I saw something suspicious. public class ThreadExample extends MIDlet { boolean threadsRunning = true; // Flag stopping the threads ThreadTest thr1; ThreadTest thr2; …
closer
  • 43
  • 1
  • 6
3
votes
1 answer

How can I make my midlet send an SMS message to multiple recipients

I am currently working on a midlet for sending SMS messages. I made use of a textfield and specified the Input constraints as phone numbers (this constraints allow for automatic search for numbers in a phone for a Nokia platform). But the…
nnanna
  • 287
  • 4
  • 12
3
votes
1 answer

How to set caret position in textField in j2me?

Is it possible to set caret position in TextField in J2ME? There's a method getCaretPosition(), but I need to set it.
Sergey
  • 11,548
  • 24
  • 76
  • 113
3
votes
3 answers

Is it possible to upload data as a background process in j2me?

Even with a poor network connection? Specifically, I've written code which launches a separate thread (from the UI) that attempts to upload a file via HTTP POST. I've found, however, that if the connection is bad, the processor gets stuck on…
Rowena
  • 33
  • 4
3
votes
2 answers

Are there any MIDP 3.0 based devices?

It's been while for release of MIDP 3.0 spec. But is there any device which supports this specifications ?
Tushar
  • 1,607
  • 1
  • 16
  • 27