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
4
votes
1 answer

allow users to switch between input languages inside a j2me java midlet keyboard qwerty E71 and such

We have a midlet that needs to allow the user to switch input languages on the fly (its a dictionary type app) between several languages (say English to Arabic etc). All was charming in the "old days" with the numeric keypad, we handled the input…
Tzur
  • 180
  • 2
  • 12
4
votes
2 answers

Synchronize data from JavaME mobile locally

I would like to write a litte data-entry app for mobile phones using JavaME (MIDP/CLDC). How do I best synchronize the data with a local application on my PC (resp. just transfer the data to the PC)? Is there any standard way to connect to the PC if…
MartinStettner
  • 28,719
  • 15
  • 79
  • 106
4
votes
1 answer

J2ME Image Item slideshow

I have tried with image slideshow in j2me. Below is my code for image slideshow. But will it execute image don't slideshow and not displayed. If I click play button then image will slideshow automatically from image 0.jpg until image 7.jpg. this…
4
votes
5 answers

Loading image in Java J2ME

I have a problem with loading image with java 2ME. I have a image file "picture.png" in location drive "C:". After that I wrote my like this to show image from this location. import javax.microedition.midlet.*; import…
Sopolin
  • 576
  • 5
  • 15
  • 26
4
votes
2 answers

J2ME does not find my implementation of java.util.TreeMap

What I'm trying I'm trying to use java.util.TreeMap in a J2ME application. I know that TreeMap is present on J2SE but not on J2ME, so I've made some efforts to port the J2SE 6.0 TreeMap to J2ME 1.2 and included it in my Midlet Jar. This involved…
Lena Schimmel
  • 7,203
  • 5
  • 43
  • 58
4
votes
2 answers

MIDP Java implementation of SQLite DB

Are there any MIDP implementation of SQLite db available for use of sqlite db within a MIDlet, rather than using RMS. Of course, there are Floggy and OpenBaseMovil, however they are based on RMS, but are there any implementations that allows to…
Prabhu R
  • 13,836
  • 21
  • 78
  • 112
4
votes
1 answer

Getting an exception when recording audio in J2me

I am getting a exception when I am recording a audio in Nokia C1. Below is the following exception I am getting: Error2: javax.microediting.media.MediaException: MUS Can anyone help me in removing this exception or where am I going wrong? Below, I…
sam
  • 51
  • 5
4
votes
2 answers

how to Implement a MIDlet that gets invoked when a SMS is sent to port 50000....the code is not working

How to Implement a MIDlet that gets invoked when a SMS is sent to port 50000? The code is not working. SMS can't be received on the phone, SMS is sent through the emulator (JAVA Me SDK). What settings should be done to receive the SMS ? my…
matko
  • 41
  • 1
4
votes
2 answers

I'm getting LinkageError: bad major version at offset=6, while deploying app on S60 Emulator

I actually developing J2ME project using S60 SDK, my project gives me the error, Uncaught exception! com.ibm.oti.error.LinkageError: (com/yoke/symbian/YokeApp) bad major version at offset=6 at java.lang.Class.forNameImpl(Native Method) at…
MobileEvangelist
  • 2,583
  • 1
  • 25
  • 36
4
votes
3 answers

Midlet must not closed even press cut button of device

I am working in J2ME. I want that my MIDlet must run for infinite time. It must not close even I press any of key from my device. Please help me what should I do for this?
Pushpendra Kuntal
  • 6,118
  • 20
  • 69
  • 119
4
votes
2 answers

Cannot replay sound in J2ME

I have problem restart sound in J2ME. I want to create player in constructor, then call playExplosion() to play it, but it only plays once. I'm using Wireless Toolkit. Sound class public class Sound () { private Player playerExplosion; …
Hung Vu
  • 41
  • 1
3
votes
1 answer

Getting different output while running the same code in j2me & NetBeans

Run below code in both j2me & NetBeans: This code is for record filtering(search the records). The problem is that while we running this code in j2me it performs search from the beginning and in NetBeans is search from reverse. import…
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
3 answers

Get zoom and center to fit all markers in a google static map

I'm working in a Java Me application that uses google static maps. The problem is that I need to get the zoom and center that fits all markers, and I need to add some labels in some coordinates on the map. How can I do this? I need a function in the…
Laura Isabel
  • 209
  • 4
  • 10
3
votes
2 answers

J2ME coverage tools

I need to estimate the code coverage of a test set. The tests are run on a J2ME application, on a physical device. MIDP 2.1, CLDC 1.1 and JSR-75 FileConnection are available. As J2ME is (roughly) a subset of J2SE, tools using java.io.File (like…
jschultz
  • 146
  • 5
1 2
3
39 40