Programming BREW Phones 28
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?"
Google is your God (Score:2)
gcc (Score:3, Informative)
Doesn't gcc compile for ARM?
The next question is, is the BREW SDK gcc-clean?
GCC mystery (Score:4, Informative)
Some folks on the BREW developer discussion board [qualcomm.com] 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.
gcc? (Score:3, Informative)
The guys working with uClinux [uclinux.org] (the uClinux directory [home.at], uCdot [ucdot.org] and an Arm emulator [uclinux.org]) has a precompiled toolchain and lots of tips. Imagine glibc + gcc on a cell phone... Now I can play xbill on the train!
Re:gcc? (Score:1)
Hmmm...
I've been looking for a good free ARM emulator/debugger combo (as UMass teaches assembly language using ARM). I've been stuck coding in vim through ssh, cp'ing it through samba to the lab boxen, and running it there. It's not optimal...
Re: (Score:2)
T720 A Bit Disappointing (Score:5, Informative)
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.
Re:T720 A Bit Disappointing (Score:3, Informative)
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 [qualcomm.com]
Re:T720 A Bit Disappointing (Score:2)
Now that I know how much it sucks, though, I think I'll wait. What the hell is up with Verizon's phone selection, anyway? It's got to be the worst of all the major providers.
- A.P.
So you're looking for a home BREW solution? (Score:3, Funny)
Umm (Score:3, Informative)
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 [google.ca]
Re:Umm (Score:2)
visual basic, visual C++ free for compiling ARM (Score:1)
BREW isn't really for hobbyists (Score:2, Informative)
Unfortunately, I think its current karma excludes hobbyist developers. The C++/C/Assembly vibe is wonderful and efficient, but it also gives you too much control over the phone for us to reasonably expect the device manufacturers and the carriers to open this up completely. This isn't J2ME where a JVM sticks your code in a sandbox and isolates it from the rest of the phone. You can screw the phone up, maybe even do bad things.
So there are few hoops to jump through if you want to see your application running in your hand. You need a business. That business needs a $400 Verisign certificate (to sign your applications with). You have to register with Qualcomm. You have to mail your phone to them to get reflashed. You need a $1500 compiler.
This is very reasonable process for a business that plans to write software for phones. But not hobbyists. Maybe it's better to think of BREW as a very open and relatively cheap game console platform, rather than a completely free and uncontrolled platform like PalmOS.
Re:BREW isn't really for hobbyists (Score:1)
Will no one think of the children? (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?
Re:Will no one think of the children? (Score:1)
Re:Will no one think of the children? (Score:2)
Basically, a conference call (for the audio) and then the speaker can go through slides or whatever which are placed in a web page application (with a few side things like a virtual conference room with seating, 'private messages' between participants, feedback indicators (go faster, go slower, have a question, need help).
Webinars are a bit better than conference calls and emailing out a PowerPoint presentation. The probably cost hella more, tho'.
Chasma! (Score:2)
Symbian OS? (Score:1)
Alex
Drink up (Score:1)