Questions tagged [java-me]

1

votes
0

answer
44

Views

Java ME SDK doesn't work

I have installed Java ME 8.0 platform on Windows 8, Windows 7 and Ubuntu. Each time that I start device-manager (contained in bin), it appear for a second on the screen and then it ends. There is no possibility to connect devices and test apps. Someone has the same problem or know how to solve it?
P.ru
1

votes
1

answer
24

Views

How to replace JDK standard library with a custom library in Gradle “compile” task?

I'm building a Java Micro Edition (ME) application which comes with it's own standard library (Cinterion Mobility Toolkit). When compiling my application class files with Gradle, I would like to replace JDK standard library with my own set of JAR files. Most likely I'll have to write a custom Gradle...
Neeme Praks
1

votes
0

answer
36

Views

How can i convert gif to byte array and byte array to gif image in JavaME?

I have byte array of gif image and i'm using something like this import javax.microedition.lcdui.Image; byte[] picBytes = (byte[])obj; Image.createImage(picBytes, 0, picBytes.length)); I want to show image on javax.microedition.lcdui.Form; this is working fine for JPEG and PNG images but when i try...
Nitin Upadhyay
1

votes
2

answer
468

Views

Better preverifiers than Sun WTK

I'm currently using the sun preverifier to preverify my MIDlet. I'm finding that it can be a bit slow, doesnt give any decent error messages and is only available as a windows exe. Are there any better preverifiers around that will work cross platform (linux specifically)
edsumner
1

votes
1

answer
263

Views

How to debug multithreaded midlet app in EclipseMe?

When debugging multithreaded midlet in the EclipseMe, the breakpoints work for me only in the main thread but not I other threads. Any ideas?
1

votes
2

answer
662

Views

j2me service discovery and discoverable same time

I try to write a simple client/server application (all application is a bluetooth service and client). The client code find the bluetooth devices and register in to the local db. But when the inquiry running, it's not discoverable. (The server code run on another thread). I the emulator it's work (t...
b0c1
1

votes
1

answer
3.5k

Views

Parsing data from txt file in J2ME

Basically I'm creating an indoor navigation system in J2ME. I've put the location details in a .txt file i.e. Locations names and their coordinates. Edges with respective start node and end node as well as the weight (length of the node). I put both details in the same file so users dont have to dow...
CSFYPMAIL
1

votes
1

answer
2.7k

Views

How to reduce Image color-depth/ Compress Image size in Java ME?

I need to transmit the image from the mobile phone to the server. I am able to reduce the image screen size but not the memory size. I understand i have to deal with the color depth. J2ME does not seem to offer any scaling method which is available in J2SE: image rescaled = image.getScaledInstance(t...
user43076
1

votes
2

answer
1.3k

Views

How to create transparent images in Java ME

How can I create an editable but transparent image in Java ME?
1

votes
2

answer
4k

Views

Capturing video from the front camera on any mobile platform

I am in the middle of a project targeting mobile phones (more like pocket PCs). I have searched far and wide, but couldn't find a way to (reliably) access the front camera on any platform (I've tried Android, J2ME and Windows Mobile), let alone capture video from said camera. Can anyone provide any...
Remoun
1

votes
2

answer
1.2k

Views

Logic for Searching *.* from text file using J2ME Application

I have a one textField in J2ME. I want to search from a textfile using that textField Value then what will be the logic for that ? Suppose if i enter abc in textField then logic should return abc by comparing it from textfile field.
1

votes
2

answer
209

Views

Is it possible for JME app to modify default form on your mobile?

I have been asked to find out if its possible to modify the default screen on a mobile phone with jme. Basically the screen that the phone shows when its on but doing nothing but which usually shows the network and nearest tower info. My understanding of JME is that this is not possible. One would...
mel
1

votes
1

answer
2.3k

Views

Run j2me jar file

I have downloaded Opera mini from http://www.opera.com/mini/download/nokia/nokia_6600/ I downloaded both the jad and jar files, opera-mini-4.2.13918-advanced-en.jad opera-mini-4.2.13918-advanced-en.jar and copied them to the bin directory of Sun java wireless toolkit, [C:\j2me emulator\emulator\bin]...
1

votes
3

answer
1.2k

Views

Why does my J2ME DateField not display the correct date?

I am storing values and date values in a record store. I have my date field set up like this: StartDate = new DateField('Start Date ', DateField.DATE); cal1 = Calendar.getInstance(); cal1.set(Calendar.YEAR, 2009); cal1.set(Calendar.MONTH, 0); cal1.set(Calendar.DAY_OF_MONTH, 1); StartDate.setDate(ca...
1

votes
4

answer
3.2k

Views

BlackBerry external jar

I am using JDom jar and I want to add to my blackberry project. I am using eclipse plugins for blacberry. while building blackberry app from eclipse the error is displayed on the console as 'JDOMAbout$info:error!missing stack map @label.... ' rapc falied for the project along with this several wa...
Sam97305421562
1

votes
1

answer
914

Views

How to remove header from XML document using org.w3c.dom classes?

I want to remove tag from the xml. I have used XMLWriter for string representation of class. It is generating the above tag by default. Now I want to remove it. Is there any standard way of doing it in org.w3c.dom for Blackberry ?
iOSDev
1

votes
2

answer
471

Views

detect power interruption from J2ME app

I'm involved in yet another application . this time, it's about developing a J2ME application. the mobile the application will run on is going to be connected to an electrical socket . and whenever the mobile is unplugged (interruption of electrical energy supply in the battery), the application sho...
Attilah
1

votes
1

answer
543

Views

On Samsung Omnia, a Java MIDLet cannot connect after the GPRS connection is shut down by the phone

i have an Java J2ME application that does (at user request) create HttpConnections to a server. The application works properly on most phones, including Samsung Omnia. The problem on this (Omnia) is that at some point, the phone disconnects from the GPRS network. The application is still in use but...
jluis
1

votes
1

answer
863

Views

Which codec + encryption method makes it easy for streaming J2ME video playback?

I want to transport video files from a desktop system to my mobile device, but I want the videos to be encrypted so the mobile video files cannot be viewed elsewhere. This means I can't decrypt the whole file, I need to decrypt it as a stream. Question: What's the best codec and encryption method...
Farhan Thawar
1

votes
5

answer
2.2k

Views

Adding a WCF reference to a j2me project

I have a wcf serivce I want to consume from a j2me application (blackberry). I have been going crazy since the tools that work fine for the j2SE used for consuming web services do not work all that well for j2me. At least not with my service. I found a useful tutorial at http://www.netbeans.org/kb...
1

votes
1

answer
451

Views

Developing for the Nokia 3120?

I want to develop an application for Nokia 3120. It is said that the developer platform is 'Series 40 Developer Platform 1.0' but from the 'Series 40 Platform SDKs' page, no SDK Series 40 for Platform 1.0 is available, I can just see Series 40, Developer Platform 2.0 and so on. Can I develop an appl...
Attilah
1

votes
1

answer
1k

Views

Set authentication request prop in j2me works?

I have followed the answer to HTTP authentication in J2ME by setting the request property for HttpConnection object with setRequestProperty('Authorization', 'Basic '+ encodedUserAndPass) but it didn't work. When make request to Http protocol -> 401 Unauthorized When make request to Https protocol -...
1

votes
1

answer
322

Views

Profiling doesn't work on WTK emulator

It used to work, so I know what's meant to happen. You run the emulator and once you're done with it and close it a profiling window pops up and gives you a summary of time spent in different methods. It seems to have stopped working for me. I run my app in the emulator, close it and get this on the...
izb
1

votes
1

answer
1.2k

Views

client server socket based communication

I recently tested a socket based communication between a J2ME app and a local computer, the J2ME app was running on a emulator in NetBeans 6.7 and the server socket was also running on the same computer in Netbeans. Now I would like to move the serversocket onto the internet and test the app first o...
Kevin Boyd
1

votes
1

answer
1.9k

Views

j2me 2d graphics engine

For J2ME I found a number of GUI frameworks like LWUIT, J2ME Polish, Twuik etc however, I am looking out for a 2d Graphics Engine for the Java ME platform preferably lightweight < 50K, I came across TinyLine this supports reasonable features for a mobile device. On similar lines do we have an open s...
Kevin Boyd
1

votes
3

answer
759

Views

J2ME Read ID3 Tags From Walkman (Sony Ericsson)

Is there any way to read the currently playing song title/artist (id3 tags) in walkman on sony ericsson (w series) phone?
user
1

votes
2

answer
465

Views

Alternative ways to open a file for writing on J2ME?

I've inherited a bit of J2ME code where a single class has the following two methods in it: public DataOutputStream getOutputStream(String filePath) throws IOException { return Connector.openDataOutputStream(filePath); } public DataOutputStream createOutputStream(String filePath) throws IOException...
izb
1

votes
1

answer
722

Views

accessing Inner class while creating BitmapField & adding it in HorizontalFieldManager

I'm creating a inner class in a method. After that I am accessing some statements like, public class Test extends MainScreen { HorizontalFieldManager hfm; Bitmap bitmap[] = new Bitmap[100]; BitmapField[] bitmapField = new BitmapField[100]; int countBitmap = 0; Test() { VerticalFieldManager vfm_Main...
Shreyas
1

votes
1

answer
2.4k

Views

net_rim_cldc not found

I am getting error as : module net_rim_cldc not found while debugging application on real device. I am using device Pearl 8100 with v4.5.0.81 and eclipse JDE plugin with component pack 4.5. I have read on forum that if there is difference between device software and development ide then this error...
iOSDev
1

votes
1

answer
414

Views

Are Hecl scripts as powerful as native J2ME midlets?

Looking over Hecl, the scripting language with a J2ME runtime, I wonder about its capabilities: Assuming my base Midlet has methods and variables that I've written Can the Hecl interpreter run within my Midlet, and side-by-side with my classes? Can the Hecl script call any of my methods within the M...
Robinicks
1

votes
2

answer
1.1k

Views

Accessing system clipboard in J2ME (Sony Ericsson)

Recent mobile phones have a clipboard where text can be copied from one application to another (E.g. from address book to file manager). Is there an API for placing things on this clipboard? I am targeting Sony Ericsson phones (including G705), so a Sony specific API would be acceptable if no portab...
Reuben Peeris
1

votes
2

answer
826

Views

j2me post data limit

is there any limit to send data from j2me device to server. I coded a application to send big data to server from j2me client. it works fine in wtk and sonyericsson emulator. but when i tried same code in real device, I can send only 6K data. then, app throws IOException. every 2K, I run flush funct...
Adem
1

votes
2

answer
584

Views

Indexing a set of key pair values for use in J2ME Application

I have some 1000 key-pair values that I will use in my j2me application, reading it from a resource file. However I will be using only a few of those values at any time, say 10, based on the record number being generated inside the application logic. Loading all the values into memory and then looki...
Prabhu R
1

votes
2

answer
518

Views

Problem with ChoiceGroup, strings don't fit in screen

I'm developing a J2ME application, and I need to show a .png picture, then right beneath it, a list of strings from which the user can select one. Since you can't append an image to a List, I tried using a Form, appending an ImageItem to it, then appending an ChoiceGroup with the options. This works...
1

votes
1

answer
144

Views

Does a LDAP library exist for JME?

I would like to know if a LDAP library exists for JME. Does anyone know ? Best regards, Quentin
Quentin
1

votes
2

answer
157

Views

Can you port any kind of a Database into a J2ME application ?? or Is ther any jar file available to perform database operations in any type of phone?

I was looking for some kind of a library that could perform database operations on my phone alongwith storing the database itself into my phone using J2ME. ( other than the RecordStore class )
Tushar Ahirrao
1

votes
1

answer
574

Views

Receiving SMS sent from the WTK emulator in a custom application

I'm using Sun WTK to run a midlet that needs to send and optionally receive SMS. WMA console can be used to send and receive messages to the midlet but I'd like to do the same thing using my own application. I have done some sniffing, and noticed that the messages are sent by UDP from the WMA conso...
jassuncao
1

votes
2

answer
3k

Views

mobile receipt printing with J2ME via Bluetooth

I need to make an app in J2ME that can be able to read a SMS and then print it on an epson tm-p60 printer(ESC/POS emulation) via bluetooth. i looked at the epson supprt site but the only ADK/drivers they provide are for: 1.Sun Java2 SDK Standard Edition Version 1.4.2_10 2.Sun Java2 SDK Standard Edit...
Jemuel Dalino
1

votes
1

answer
185

Views

Can blackberry App World apps run in the background?

I roughly remember blackberry apps being able to run in the background and add itself to a list of startup programs and even add in hooks for various OS events (network event etc) and have a background thread handle these events. Question 1) Is this true? 2) Are these kind of apps allowed in the app...
erotsppa
1

votes
1

answer
661

Views

Java ME out of memory

I'm making a Java ME application for Symbian S60 5th edition and I have problem with the memory. After some time of running the app I recieve the out of memory exception. I'm getting images from Google Maps (by the integrated GPS in Nokia 5800) and showing them. I have this implemented like this: cl...
Milan

View additional questions