David Price

Ranch Hand
+ Follow
since Jan 22, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by David Price

Phones like Nokia's come with software for synchronizing the address book, calendar, etc. between the phone and the PC, using e.g. USB cable, infra-red or Bluetooth. But this has nothing to do with J2ME: the synchronization is a native application, not a J2ME application, and J2ME applications' own data (i.e. data in the phone's MIDlets' RMS record stores) is not synchronized with the PC, since the native synchronization application doesn't know which PC application to synchronize with the MIDlet.

If you want to implement synchronization in your MIDlet, probably the best choice would be using the JSR-82 Bluetooth API, if your target phone supports that (see this thread about Bluetooth for some useful information). Alternatively some phones allow MIDlets to access the serial port or infra-red, though not many (no Nokia models) and often using a non-standard approach, since this was only standardized in MIDP 2.0 (and even there it's optional) - see interface javax.microedition.io.CommConnection.
14 years ago

Originally posted by Michael Yuan:
Nokia's cheap mass market phones (Series 40) have just come out to support MIDP 2 (6310 and 5410, I do not think either is available now)



Just a note: the phones Michael had in mind are probably Nokia 6230 and 5140. The 6230 is shipping already, but it's not cheap, it costs as much as the 6600. I usually check this Finnish mobile phone shop web site: Makitorppa to keep track of what's shipping (in Europe) and what their unsubsidized market prices are.
I'm afraid that Nokia 6600 does not support accessing the infra-red port from J2ME. If you're trying to exchange data with a computer, you could look at using Bluetooth instead (Nokia 6600 supports the JSR-82 Bluetooth API).
14 years ago
Actually, Robin's Nokia 3650 doesn't support audio capture in the MMAPI implementation, only video snapshot (i.e. still photo) capture. The more recent Nokia 6600 supports audio capture (but still not live video capture) in its MMAPI implementation.
Check out Forum Nokia's recent document Mobile Media API Implementation in Nokia Developer Platforms for details of this.
14 years ago
(Please excuse that I only have information about Nokia phones - you can no doubt find very suitable phones from other manufacturers too, but I don't know enough about them to help).
From Nokia India's phone model page you can find a list of phone models that are available in India. The following phones from that page's 'current models' support MIDP 1.0: Nokia 7650, 7600, 7250i, 7210, 7200, 6820, 6800, 6610, 6220, 6100, 5100, 3660, 3650, 3586, 3585, 3530, 3300, 3200, 3120, 3100. And the following support MIDP 2.0: Nokia 6600, 6230. From Forum Nokia's device specifications page you can find out which Java APIs each model supports.
Some models I'll call your attention to:

Nokia 3530 - probably the cheapest Nokia Java MIDP 1.0 phone for you, 96x65 colour screen
Nokia 3100/3120 - probably the cheapest 'Series 40' phones: MIDP 1.0 and 128x128 colour screen
Nokia 6600 - supports 'Series 60', Symbian OS, MIDP 2.0 & JSR-82 Bluetooth API
Nokia 6230 - supports MIDP 2.0 & JSR-82 Bluetooth API, physically smaller than 6600
14 years ago
I guess you mean: "How can I change the text colour in MIDP high-level UI screens (Form, List, TextBox)?". The simple answer is: you can't - these screens use the phone's native fonts and colour settings.
You can only change the text colour in MIDP low-level UI screens (Canvas, MIDP 2.0 GameCanvas) and in MIDP 2.0 'CustomItems' (items on a form which are each like a little Canvas). These all use that 'Graphics g'.
14 years ago
If your MIDlet running in your phone makes an HTTP or TCP/IP connection over the phone network (e.g. GPRS) to your server computer, you will be charged by your operator according to their normal rates for phone data connections. Usually your operator doesn't know (or care) whether the data connection is being made by your MIDlet, the phone's internal browser, or your PC using the phone as a modem, and will charge all of these the same.
As Lasse says, the Nokia 6600 is not one of Nokia's cheapest phones, but it is one of the best - it's the one I chose, when I was able to choose any Nokia phone. Which phone is best for you depends on where you are: e.g. many phones sold in Europe will not work in USA. Can you tell us where you are?
If you're in the part of the world that uses normal GSM (e.g. Europe, most of Asia), the cheapest Nokia J2ME MIDP 1.0 phone is perhaps the Nokia 3510i (or its Asian variant, the Nokia 3530). For a little more you can get a Series 40 phone (better screen resolution), the Nokia 3100. If you need a Nokia J2ME MIDP 2.0 phone (e.g. so you can use TCP/IP sockets instead of HTTP for your network connections) then the Nokia 6600 and Nokia 6230 are the phones to look at.
If you want to quickly compare the prices of Nokia's phones (and find which ones are already for sale), this Finnish phone shop's Nokia page is a good place to look.
14 years ago
The method 'getDisplay' is a static method of the class 'Display' - you don't need to call it through an object reference. So:

is correct.
Perhaps this makes things a little clearer:
14 years ago
Here in Nokia most people (but not all) say Mid-Pee.
14 years ago
The final release of JSR-205 is not quite yet available, so you won't find any phones that support it yet. Therefore for phones available in shops today, it's not possible to send MMS with J2ME.
14 years ago
To limit the text field to numeric input, use the NUMERIC constraint in its constructor.
To convert its value to an integer, use method Integer.parseInt(String).
To check each value the user enters, add an ItemStateListener to the text field's enclosing Form, and in the itemStateChanged method, check if it's the text field that changed, and if so, whether the new value is OK. If not, display an Alert, and probably set the text field back to the preceding valid value. (Note: I've not used ItemStateListener myself - this is just from reading the JavaDocs).
14 years ago
The only proprietary API in either the Nokia 3650 or Nokia 6600's MIDP implementation is the 'Nokia UI API' (which allows control of sound, vibration & lights and better graphics, and is mostly rendered obsolete in Nokia 6600 by features of MIDP 2.0). This API doesn't cover the features that Arun is looking for.
14 years ago
As I answered in another message, the Nokia 6600 uses the multi-tasking Symbian operating system, and hence you can switch between applications and run several applications (e.g. a MIDlet and a native application, or two MIDlets) at the same time.
To switch between applications on a Nokia 6600, hold down the Application key (the one on the left with the strange blue icon) until icons for the active applications appear on the left of the screen. Using the joystick, scroll to the application you want to switch to, and click to select it. (You can also kill an application this way, by scrolling to it and pressing the 'C' key).
14 years ago
It depends on the phone. Nokia 6600 uses the multi-tasking Symbian operating system, and hence you can run several applications at the same time, e.g. a MIDlet and the voice recorder, or two or more MIDlets. Obviously this is ultimately limited by the amount of memory available.
14 years ago
Although no devices today have implementations of the standard JSR-75 FileConnection API, some devices may have an implementation of a similar, non-standard, manufacturer-specific API.
Unless someone else here has more information, you'll have to check the manufacturers' developer web sites for information about such manufacturer-specific APIs. I can tell you now that you won't find any manufacturer-specific file APIs on Nokia's phones, but I know little about the other manufacturers.
14 years ago