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
20
votes
4 answers

Image rotation algorithm

I'm looking for an algorithm that rotates an image by some degrees (input). public Image rotateImage(Image image, int degrees) (Image instances could be replaced with int[] containing each pixel RGB values, My problem is that i need to implement it…
Stefano Driussi
  • 2,241
  • 1
  • 14
  • 19
15
votes
7 answers

how to kill a thread which is waiting for blocking function call in Java?

I have a thread: Thread t = new Thread(){ public void run(){ ServerSocketConnection scn = (ServerSocketConnection) Connector.open("socket://:1234"); // Wait for a connection. SocketConnection sc =…
anupsth
  • 657
  • 1
  • 6
  • 18
13
votes
4 answers

How to deal with the most common classes missing on J2ME

I'm trying to code an application which runs un different java platforms like J2SE, J2ME, Android, etc. I already know that I'll have to rewrite most of the UI for each platform, but want to reuse the core logic. Keeping this core portable involves…
Lena Schimmel
  • 7,203
  • 5
  • 43
  • 58
11
votes
1 answer

Java - I need a very fast image scaling algorithm

I am working on a Midlet application. I am finding myself in the need to scale images very often. This has become a problem because some phones are pretty slow and scaling takes too long. Currently I'm using Image.createRGBImage(int, int, int,…
user445338
8
votes
4 answers

Getting Device IMEI

How to get the IMEI of a Java ME device in a common way that is applicable to all devices
Prabhu R
  • 13,836
  • 21
  • 78
  • 112
8
votes
2 answers

How to make a J2ME application run in Background?

I have a written a J2ME application which uses Bluetooth and search a file within the peer mobile and download it. I would like to make my application run in background , whenever I get a call , or message and later resume after few seconds , Has…
Srinivas M.V.
  • 6,508
  • 5
  • 33
  • 49
7
votes
3 answers

HTTP authentication in J2ME

I'm trying to create a J2ME app, which talks to webserver using HttpConnection connector. When I am talking to the WebServer, I have to authenticate using Basic HTTP auth, which normally goes…
Alagu
  • 2,864
  • 3
  • 26
  • 40
7
votes
3 answers

Can A Midlet invoke another Midlet?

I been looking around and at sources like this one they say that a Midlet can invoke another if they are in the same suite, or if they are in the same namespace and in the same jar file. I do not understand what a Midlet-Suite is? Also after…
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
7
votes
1 answer

Start MIDlet automatically when device reboots?

I am working in J2ME. I want that my application must be automatically started when my device reboots. I have made Nokia-MIDlet-auto-start: yes entry in my JAD file as suggested in…
Pushpendra Kuntal
  • 6,118
  • 20
  • 69
  • 119
6
votes
2 answers

Gameloop for j2me "turn-based" game

Edit: This makes alot more sense to me now that i've taken a step away from the code, thanks for the help. Just found stack overflow the other day through Coding Horror and it looks awesome. Figure that i'd ask the community about a problem i'm…
LoginError
  • 95
  • 1
  • 8
6
votes
1 answer

Bluetooth client/server communication between computer and mobile phone

I need just a basic example or tutorial of making a mobile phone and a computer communicate via Bluetooth. A good link/website to start from is also appreciated. Server part (computer part) can be made on many programming languages (Java, C++,…
Oleh Prypin
  • 33,184
  • 10
  • 89
  • 99
6
votes
4 answers

Is there a good HttpClient library for J2ME/MIDP?

I want to call some RESTful web services from a J2ME client running on a MIDP enabled mobile device. I read the MIDP api for HTTPConnections and thought this is just crying out for a simple wrapper to hide all those unpleasant byte arrays and such…
Freakent
  • 869
  • 8
  • 7
6
votes
3 answers

How can I code Android with J2ME?

As for as I know that android application can be developed in core java only. But is it possible to code android with J2ME? Please give some example codes if possible.
Kumar
  • 5,469
  • 20
  • 64
  • 87
5
votes
5 answers

How to keep RMS after installing a new version?

I have an j2me application installed on a Nokia S40. Some configuration data is stored in the RMS. Is it possible to overwrite the installed app with a new version? How to keep RMS in the new version? If it is possible can it be set as a default…
Daniel Moura
  • 7,816
  • 5
  • 35
  • 60
5
votes
2 answers

reading from/writing to a file in J2ME without continually pestering the user

I'm writing a simple J2ME phone app and I want to save the status of the app when I exit it. Googling around led me to the FileConnection class: FileConnection filecon = (FileConnection)…
Kevin Buzzard
  • 537
  • 4
  • 11
1
2 3
39 40