Slashdot Mirror


Cell Phones and Services for Java Developers?

Xi asks: "My cell phone recently died, forcing me to start looking for another cell/provider. I want one which will allow me to do some simple client/server Java programming but I'm perplexed by the array of choices. Some providers let you pay to download Java apps but do they let you create your own? Several providers can utilize phones on which Java runs but do they have to host some sort of software on their side? For instance can I use a Java enabled phone with T-mobile? Nokia, Nextel, Motorola (who shipped a Developer's CD with my October copy of Java Developers Journal) and its recent acquisition, AT&T, Sprint (new pricing), and others are all claiming Java this and Java that but what am I really 'getting' and what are fellow Slashdot-reading Java developers really using?"

18 comments

  1. What? by kzadot · · Score: 0, Offtopic

    Why would you want Java on a phone? Its already a pain in the ass that so many websites require it. If you really want to learn java I suggest doing it on a pc. If you really want a flash trendy cell phone, get one of those ones with color screens and cameras that let you send pics and sounds to your mates.

    1. Re:What? by Komarosu · · Score: 2, Informative

      Java applications he means, not on the whole basis of webpages...jeeze. Some phones (Nokia i think) come with Java Games on there, fine they take ages to load but its giving the open development side to mobile phones that some people have wanted for ages

      I know that a small company i used to have contact with used a java app on a mobile to sync up information over WAP.

      Its interesting, for the normal user yes its out of place (bar for games) but business use, hell it could be interesting to see whats turned out

      --

      "What do you mean you have no ice? Do you expect me to drink this coffee hot?" - Random Customer, Clerks
    2. Re:What? by Anonymous Coward · · Score: 0

      How many websites require Java, really? "JavaScript", perhaps, but that's not Java in any syntactic or functional or API or security or performance sense.

  2. No real requirements by dakkar · · Score: 4, Informative

    AFAIK, the network operator has little (if any) to do with the usage of Java (J2ME) on your phone.

    You can always write you own programs, and copy them to your phone. You can (with some trickery, I'm sure) post them on the Web (WAP?) and let other people download them to their phones.

    The client/server part of J2ME is more-or-less URL-based HTTP/TCP transfers. I assume you're talking about GPRS (G2.5) phones: in that case, to use the networking from J2ME you just need that your phone provider allows you to connect to the Internet (as opposed to just their local network) via GPRS.

    The above is based on Nokia informations, Sun's J2ME API reference, and European networks.

    --
    dakkar - mobilis in mobile
  3. models and other resouces by jukal · · Score: 4, Informative
    Nokia 7650, 6310i, 6610, 7210, 3410, Motorola Accompli 008, 009, V60i, V66i, Siemens SL45i, M50 (others planned), Sonyericsson Z700, P800.

    There are more, and if you look at the recently released phones - J2ME seems to be there in most devices (excluding the cheapest model-range). Get the J2ME toolkit (this one for windows), the page will tell what else (java related) you also need.

    Some operators might have for some odd reason disabled downloading some J2ME content although I don't know any such operators. Anyway, the operator choice should not affect your ability to start developing your own J2ME applications.

    1. Re:models and other resouces by Anonymous Coward · · Score: 1, Informative

      The main reason why operators want to disable J2ME application download is SECURITY. Just imagine what would happen if a J2ME virus could spread itself via SMS (or any other mean)...

    2. Re:models and other resouces by MaggieL · · Score: 3, Insightful

      Just like all the Java viruses that exist on all the other platforms, right? :-)

      --
      -=Maggie Leber=-
  4. Samsung A500 by DiscoOnTheSide · · Score: 3, Informative

    A friend of mine just got the new top of the line Sprint Vision phone and in the debug menu is a Java app launcher. I've been commissioned to see if I can write a SSH client for it. It can do SHTTP so I dont see a problem. Check www.a500hacking.com for more.

    --
    Viva La Revolucion! Buy a Mac!
  5. Avoid Verizon "Get It Now" by LazyBoy · · Score: 1
    My experience isn't first hand, but a lot of folks in alt.cellular.verizon are complaining about Verizon's new "Get It Now" service (with BREW phones). Not only can you not write s/w, but you can only download what Verizon is selling. This includes ringtones and background images!

    Checkout alt.cellular.* for more info.

    --

    If Chaos Theory has taught us anything, it's that we must kill all the butterflies.

  6. Sun by deflood · · Score: 3, Informative

    I suggest you check out Sun's Wireless Site. There are a ton of articles, documentation, and code examples from which to learn.

  7. Blackberry 5810 by davemabe · · Score: 1

    How about the Blackberry 5810? It runs J2ME and you can download an emulator and SDK from their developer's web site.

  8. Sprint Vision by still_nfi · · Score: 2, Informative

    Sprint's implementation is open and accessible. You can write plain MIDP1.0 apps and download them to the phone from any webserver. It also supports extension API's for sound and connectors for https, ssl & sockets to do virtually any type of network based stuff.

    --
    "I have been around the world and found that only stupid people are breeding" -- Harvey Danger
  9. Dont Go Motorola by Asicath · · Score: 3, Informative

    I was in a similar situation, I really wanted to program java apps on my cellphone (Dont ask me Y, im just a geek). Nextel was the only company in my area offering java-enabled phones, so I picked up one of their i85s models. Its a really nice phone, and the Java stuff works sweet on it.

    The only problem is getting the apps onto the phone. Motorola is being a nazi about controling the ability to distribute apps, if you arent in their developers program you can only download offical apps through their propritary download program. As far as getting into the development program, I have no idea, Ive applied for it through my work and as a student to no avial. Im even one of the few people running some J2ME projects on sourceforge.

    Im told other phones have the ability to simply point themselves at a .jad file on the web and download the app, not Motorola.

  10. Quite simple by Korgan · · Score: 2, Interesting

    I use a Nokia 7650 (which replaced a Nokia 6310). This phone is fully J2ME (in fact, I use a Java app to browse HTML pages coz the internal WAP browser doesn't cut it).

    (Disclaimer: My J2ME experience on cellphones is limited to the Nokia 7650 and the 6310i. Everything stated for here applies only to those platforms)

    When you download a J2ME application, 2 things need to be taken in to account. 1) Does the app use a resolution that will fit on your screen (same size or smaller that is). 2) Do you have enough storage space for it?

    Once you've answered those, there is no other hassles with a J2ME application (short of any programming or compatibility issues). Just install it and run it from the menu.

    You can download the J2ME applications from anywhere you choose. Download them to your PC and then transfer them across (via irda or bluetooth in my case), or download them directly from the net to the phone. With the Nokia 7650 you can even get them via POP3/IMAPv4 if you wanted.

    Anyway.... J2ME applications reside on the phone, run on the phone, and are controlled by you and the settings of your phone. Once you've downloaded the application, the Telco/ISP has no control over the application itself (outside of licensing issues).

    You do not need the Telco/ISP to write your own J2ME applications and run them on your J2ME capable phone.

  11. Here's what i did by steve.m · · Score: 3, Informative

    I've got a Nokia 3410, which is MIDP1.0 compliant, and this book from O'Reilly which i found helpful. I'm using the J2ME toolkit to help package and test the apps I write (it has an emulator).

    To get them onto my phone is a moderate pain. I have apache running on my machine, and added the following into mime.types:

    text/vnd.sun.j2me.app-descriptor jad

    application/java-archive jar

  12. Re:Here's what i did, cont.. by steve.m · · Score: 2

    oops...

    and then bookmark 'http:///App.jad' in my phone and then download it over WAP.