I just noticed a strange thing in MIDP 2.0 API: The HttpConnection class apidocs make explicit references to methods GET, POST and HEAD, but no other methods. Does this mean that they are not supported?
http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/io/HttpConnection.html
I also tried checking the MIDP 2.0 spec, bu...
Hi all i've been having the worst time of my life trying to understand why this is happening, any input would be greatly appriciated.
The code in question runs in a diffrent thread then the midlet, although the thread starts after the connection is made, I've tried the other way around and i end up at the same spot..
when executing thi...
hi guys
i want to develop gtalk application for the mobile
please tell me the name of library that is used to access the gmail account thr J2ME
...
I have a MIDP application that I would like to run on BlackBerry devices. It's quite generic, the one gotcha is that when I override the Canvas keyPressed(int keyCode) method, I'm not capturing the trackpad click events.
Normally you would use getGameAction(keyCode) == FIRE to capture the center of the navigation pad button on MIDP devi...
How can I use trigonometry in CLDC 1.0 / MIDP 2.0 application? I need "sin cos tan asin acos atan atan2" functions from standart Math library.
Thanks
...
Java licensing model : When do I need to pay Sun for using their software?
...
How can I get the the superclass of a Class instance in Java ME. That is, fake the Class.getSuperclass() functionality with the limited functionality available in CLDC 1.1?
What I want to do is to let the abstract super class do something like this:
public Styler getStylerForViewClass(Class clazz) {
Styler s = stylers.get(clazz);
...
Hello
I am facing problem on playing recorded audio on S5233A.
As its supporting audio capture and encoding supported audio/amr.
From my application its successfully recording voice. but on play its not giving error but nothing happens.
I tried recording using following strings,
capture://audio
capture://audio?encoding=amr
capture:...
I have developed one Reminder application which will remind a user at specific date and time for that I want the application to remind user at the time they entered.so if I exit from MIDlet how can application remind user?
from Ashok Kateshiya India.
...
I have a TextField.PhoneNumber but I would like to filter out "+" character. Another words, I need a new constraint for TextField. Is there a way to define a new constraint with TextField?
How about preventing keys from cycling on a mobilephone within a midp?
Thanks in advance.
...
Hi guys, I am trying to develop a TCP client that runs on mobile devices using MIDP 2.0 and CLDC 1.1. I am trying some sample code, and I have the following problem:
I get a weird exception when I try to read the data back (From the MIDlet).
This is my code:
//Wait for an incoming message
firstByte = in.read();...
Hi,
I've written a MIDlet that does several "advanced" things: fetching images from the web, resizing them, saving them on the phone, displaying them.
This all works perfectly in the Nokia S60 3rd Edition FP1 emulator. This device has MIDP 2.0 and CLDC 1.1 support (also JSR75, which I need in order to save files). It also works as it s...
Is it possible to create a MIDP Application for Windows Mobile?
In other words, I want to create a MIDlet and run it on a Windows Mobile Simulator(any).
Thanks in Advance.
...
Hello everyone!
I'm developing a small J2ME application that displays bus stops timetables - they are stored as records in MIDP RecordStores.
Sometimes records can not fit a single RecordStore, especially on record update - using setRecord method - a RecordStoreFullException occurs. I catch the exception, and try to write the record to...
Is it possible to customise the title bar in Java ME?
...
Hello,
I'm writing a MIDlet using the Kuix UI toolkit, and I want to make changes to the toolkit depending on whether the current device is a touch screen device. (These changes include making buttons bigger, for easier tapping.)
Is there a way to detect whether the device has a touch screen using J2ME (MIDP 2)?
[edit] as a (crappy) w...
Is there a way to determine what kind of data plan a device has so an app provides a less rich experience if a data plan is not available? I imagine the connector factory would still be able to return me an HTTPConnection but it would cost the user serious money for lots of data, and I'd like to be nice and prevent that.
I thought ther...
I am developing a Java ME application for CLDC devices. I have a requirement where the questions are generated based on the previous response. I would start with one choicegroup and then based on the answer to this choices give another set of question to the user- Kind of Yes/No- If Yes this question or No this question. How do we do tha...
Hi
I signed the application and trying to install on Nokia 5000 giving error "Application not supported".
and failing download of application.
I used the MIDP 2.0 and have given following application permission
MIDlet-Permissions: javax.microedition.pim.ContactList.read, javax.microedition.io.Connector.http, javax.microedition.io.Conn...
I have developed a Java ME application for CLDC platform. It works fine when executed in an emulator. But when i deploy it to my N70 phone the application doesn't start at all in the phone. In my application there are some 14 classes and am creating an instance of each and putting them in the vector on application start. The classes just...