Re: how do I move java ME app to phone



opalpa@xxxxxxxxx opalinski from opalpaweb wrote:
I got NetBeans with ME plugin. Compiled and ran app in emulator.

How do I move app to phone? I have a USB cable to phone. The
particular phone is Motorola RAZR.

does the phone support phone <--> pc data transfer by Bluetooth?

(be careful, some phones "support Bluetooth", but only for the
"voice", like to use you cellphone in your car [say if you've got
a "Bluetooth stereo" in your car])

I can't give you a definitive answer here, so I only post a few
random thoughts. I hope it can help a little bit.

I've used infra-red, bluetooth and provisionning servers to send
J2ME (JME if you prefer) apps to cellphones. It doesn't mean
the cable won't work in your case. Simply I've never done
it that way.

I think I already used Bluetooth to transfer an app to an
RAZR V3 but I can't guarantee it (I don't have the phone
here to test).

I think there may be free provisionning servers out there to
which you can send your midlet (JAR and JAD) then you
can d/l with your phone for free (if you've got a cellphone
subscription allowing you to transfer data).

Another way to do it would be to write your own small
J2ME provisioning server (only half-kidding :)

More seriously, the easiest way for quick'n'dirty testing
is to send the midlet using Bluetooth (note however that
this is not representative of the problems potential customers
may encounter while trying to d/l the applications, as they'd
more than probably be using a J2ME provisioning server
and *many* problems surface when delivering the app OTA).

USB Bluetooth device can be bought for less than $20 if
I'm not mistaken.

Also note that most J2ME devices/implementations contains
nasty nasty bugs (the quality is many lightyears behind the
quality of a J2SE JVM and it'll probably always be that way,
seen how all the phonemakers rushes phone to market, with
always kinkier bell & whistles and with always, apparently,
less and less time to test/debug and fix the many issues) and
their way of "respecting the specs" are usually quite creative.

Some companies keep track of all these bugs, but their
information is not easily available (if at all). The only open
source project tracking the J2ME bugs is J2ME Polish.

For example:

http://www.j2mepolish.org/devices/Motorola/V3.html

Don't hesitate to post a message or send me an email
when you succeed, explaining which way(s) worked,

Alex

.



Relevant Pages

  • Re: Mobile phones, J2ME and Java Enabled Phone
    ... Look out for Java support. ... J2ME or Is a Java Enabled? ... if you plan to sell that app the only ...
    (comp.lang.java.programmer)
  • Event handling
    ... I am currently writing an app for a mobile phone. ... this, I have for example, a class that talks to the bluetooth device. ... private void CollectDataHandler ... sender and e are not valid here. ...
    (microsoft.public.dotnet.framework)
  • Re: Mobile phones, J2ME and Java Enabled Phone
    ... 1)I need help on finding a mobile phone that support j2me. ... Look out for Java support. ... if you plan to sell that app the only ...
    (comp.lang.java.programmer)
  • Re: J2SE Bluetooth and java comm API
    ... Eta wrote: ... bluetooth. ... port than the phone BTserial port. ... On the phone, you need an application (J2ME or native code like C, C++) ...
    (comp.lang.java.programmer)
  • Re: Java Messaging Or Webservice....
    ... > and want to extend it using J2ME. ... Your J2ME app has little memory, ... Use simple XML over HTTP/Servet which is Good Enough for many ...
    (comp.lang.java.programmer)

Loading