Slashdot Mirror


Programming BREW Phones

jrmbadger writes "I just purchased a BREW enabled phone (a Motorola T720...very cool) from Verizon Wireless. BREW is sort of a competitor to J2ME, but I won't bore you with the details. I was very encouraged that Qualcomm (BREW's developer) has put the SDK on the web for free. However, to compile for the mobile, you need an ARM compiler, which runs $1,500. I think it would be really cool to be able to develop apps for my phone, but I'm not going to spend $1,500 on the compiler alone! Does anyone know how you can create BREW apps on the cheap?"

8 of 28 comments (clear)

  1. gcc by leviramsey · · Score: 3, Informative

    Doesn't gcc compile for ARM?

    The next question is, is the BREW SDK gcc-clean?

  2. gcc? by e8johan · · Score: 3, Informative

    You'll need to know the format of the binaries, calling conventions etc. but except from that, I think that you can use gcc.
    The guys working with uClinux (the uClinux directory, uCdot and an Arm emulator) has a precompiled toolchain and lots of tips. Imagine glibc + gcc on a cell phone... Now I can play xbill on the train!

  3. T720 A Bit Disappointing by CritterNYC · · Score: 5, Informative

    I've had the T720 for about 5 days, myself, and have been a bit disappointed with it. BREW is one of the reasons. Apparently, BREW apps can only be loaded through Verizon. And, it seems that Verizon only has apps that make them money in their Get It Now service. It also seems they disabled the ability to get ringtones into the phone through SMS... and instead you must use their Get It Now service and pay to load them (2 bucks each). Also, that handy color screen won't be able to display any of your own pictures... there's currently no way to load your own (Verizon says to use pictavision... but it doesn't support the T720).

    In the end, you get this cool phone with a nice color screen, polyphonic ringtones and BREW app support... but no way to put any of your own stuff onto the phone. I checked this out with Verizon and Motorolla today. I'm going to check with Motorolla to see if the firmware is at least upgradeable tomorrow (to fix the bugs like custom rings on numbers locking up the phone). Most likely, this phone will be going back.

    1. Re:T720 A Bit Disappointing by zwoelfk · · Score: 3, Informative

      Your phone needs to be flashed as a development version in order for you to install application directly.

      You might be able to convince a Verizon store to do this for you (if you say you're developing brew apps).

      However, the phone becomes much less stable in general. Don't use it as your only phone!

      I don't think there's a practical way around dropping cash to get into brew development.

      However the ARM compiler is available for a 30 day trial, so you should be able to get all the tools together (for free) just to see if it's something you're interested in.

      Of course the best source for information is Qualcomm's Brew Development Page

  4. So you're looking for a home BREW solution? by tunah · · Score: 3, Funny

    Please... stop pelting me...

    --
    Free Java games for your phone: Tontie, Sokoban
  5. Umm by Screaming+Lunatic · · Score: 3, Informative
    * To develop applications using the SDK, the additional requirement is: Microsoft Visual Studio (Visual C++) 6.0 (or above)

    Visual C++ produces win32/x86 code. But, you don't wannna spend money getting VC++. Not even the educational version that comes pretty cheap. So why can't you use any other compiler that produces win32/x86 code? Such as say, gcc.

    There's sample apps that come with the SDK. Why don't you try to compile it with gcc.

    At the expense of sounding like a troll. It seems you haven't done your homework. Google is your friend. Usenet is your friend. Such as this thread

  6. GCC mystery by msponer · · Score: 4, Informative

    I talked to the Qualcomm folks about this at the BREW developers conference in June. They said they have GCC working and would post the details to their developer site. I haven't seen this yet, so I guess they ran into trouble or this is a low priority.

    Some folks on the BREW developer discussion board have tried to figure out for themselves how to get GCC to work. According to them, GCC will not work because it does not compile position independent code that uses the ARM procedure call standard (ie: it doesn't implement the -mapcs-reentrant command line option).

    Harvey Mudd College had a student project last year to get GCC working for BREW. Unfortunately they never posted their results to the web.

  7. Will no one think of the children? by cthugha · · Score: 3, Funny

    From Qualcomm's page linked to by the poster:

    In a webinar hosted by Big Talk/Wireless Week

    Webinar!? Since when did this monstrosity enter the English language? Who was responsible?