I chuckle whenever I get an e-mail from a friend or colleague ending with the statement
Sent from BlackBerry
Does anyone care anymore? After nearly a decade, is anyone amazed that someone else has done e-mail from his Smartphone? This is just free, mass advertising. You acquired a Smartphone for the slim advantage that gives you in exchange for money and a promise of free advertising?
So, I've begun signing my e-mailed replies thus
Sent from my Intel i5 750 Desktop
Do you care? Nor do I. You got back a reply; that's what interested you. You could not possibly care less that I composed the reply on 1980s-era Macintosh, a Timex wrist watch or a XIIth century Chinese abacus.
As long as you get the reply.
If I were a campaign sort of person, I'd say let's get rid of those silly, default signatures from Smartphones.
But I'm not. I don't care. It's only something to blog about on a Monday morning.
Sent from my Intel i5 750 Desktop running Linux
I knew that sales of Android phones were already surpassing those of Apple's iPhone, but I had no idea that actual Android marketshare had overtaken all other types of smartphones!
Looks like I'm on the winning side. Well, okay, I'm on the winning side to the extent that I fancy myself an Android developer, which I've become of late, having a lot of spare time left over from my present employment debacle as Emerson Network Power closes down Avocent's offices in Salt Lake City. So very sad; but, as I say, an opportunity to learn something new and exciting!
If you've been following, I've also dabbled a wee bit in BlackBerry. (Be warned: I lapse into the arcane for the next few paragraphs.)
That platform is a great deal less exciting than Android because the Java support is constrained to what's referred to as J2ME or Java Platform, Micro Edition. It is super-restrictive, so tiny, there is a great deal missing from it that an ordinary Java programmer finds important. In my case, I need to write an XML parser that runs on BlackBerry because (so far) I haven't found one available. Not a huge task if I settle for just the functionality I need, which is very slight, but a difficult challenge without Java reflection, something missing from J2ME:
import java.lang.reflect.Method;
.
.
.
private void doThis( Class c )
{
Method[] methods = c.getMethods();
.
.
.
}
Sorry, mate: can't possibly do that!
Rolling separate code in the form of a library (JAR) into a BlackBerry application is another mountain I've not succeeded in climbing yet either. It appears to be a black art. Precious little of any code I write for Android will work on the poorer platform and none of it in the form of an external JAR.
Moral: buying BlackBerry is like buying a car sporting a hand crank, spark-advance control and a manual choke in our day.
Anyway, I'm having lots of fun on Android doing some cool things that seem to work well and I'll have an application out in distribution soon. Which is not to say that it will make me any money. It's a free part of a bigger product and money will only come in based on many other factors. Alas, there the planets and stars may never align. Nevertheless, the journey is the reward and I will not have sunk my entire life into it.
An annoying thing about Android development is that you can't easily penetrate down inside Android library code because of an inexplicably misguided decision by Google engineers who've all but disallowed it. I'll stop editorializing there because I'm trying to be kinder and gentler.
In the land of Eclipse, as long as you have the source, you can easily attach it (refer to it) from the IDE in such a way as to a) Ctrl-click an identifier to jump to its implementation or b) step down into it when running in debug mode.
I spent the greater part of today researching this problem. Much has been written about it, mostly bitter (and justifiable) complaining, but some have tackled the problem and tried to solve it. Maybe the solutions I read worked back a couple of years ago when they were inked on the Internet, but you could not prove it by my own experience following them.
I also found a lot of solutions required somewhat non-standard tools on your utility belt like git, Python and other stuff you might not ordinarily associate with Eclipse use and Java development. I'm no wimp, but my productive hours aren't ones I'll willingly spend on planet Geeky Prime just to show off my technical manhood.
In the end, I solved it (probably again 'cause I'm surely not the first) with help from a more recent website that graciously posts the source code in almost exactly the form I need it for association with Eclipse.
Pursuant to my great frustration and deep-seated desire for no one else to have to rack their brains over this, I've detailed it in my article on Android development on my Hot Chocolate site. See here.
I hope this solution saves more than one person a lot of time.