So I started playing with parsing Java class files, creating a cross compiler capable of converting Java class files into Objective C files. I even had a sufficient amount of Apache Harmony running so I could use a good part of the java.lang and java.util classes; roughly in parity with the GWT cross compiler that [...]
Filed under: Android, Java, Papers, iphone | Posted on September 6th, 2010 by William Woody | No Comments »
On Android, it appears android.graphics.Region (which is used internally for clipping against a Path) is not anti-aliased. This means if you set a clipping path that is not rectangular, such as a rounded rectangle, then the interior clipping path will have jaggies. My workaround for my rounded rectangle clipping with a border is to draw [...]
Filed under: Android | Posted on October 19th, 2009 by William Woody | No Comments »
One recent trend is to use HTTP in order to send data between a client and server. Between protocols built on top of SOAP and XML/RPC (and yes, I’ve built code on top of XML/RPC, and have a Java XML/RPC library), it’s not all that uncommon to send text commands over HTTP. And it makes [...]
Filed under: Android, Commentary, iphone | Posted on September 8th, 2009 by William Woody | 2 Comments »
John Gruber: Google’s Microsoft Moment It makes no sense to me why Chrome OS isn’t based on Android. Maybe there’s a good answer to this, but Google hasn’t given it. While I don’t understand why Google has two completely separate operating systems, one based on Davlik (a Java VM clone) and another based on Javascript [...]
Filed under: Android, Commentary, iphone | Posted on July 11th, 2009 by William Woody | No Comments »
While chasing down a usability bug, I discovered something interesting about the hardware for the Google developer phone, which I also suspect plagues the release G1 and G2 phones. The problem is an issue with the touch screen technology used by HTC. The bottom line is this: there is a border to the left and [...]
Filed under: Android, Hardware, Things To Remember | Posted on July 10th, 2009 by William Woody | No Comments »
I ran into a weird crashing bug on our application: when we closed an Activity containing a WebView display, on occasion we’d get a SIGSEGV crash. This reliably happened about one in a half-dozen times. The fix appears to be to call WebView’s destroy() method on the view inside the Activity during the Activity’s onDestroy: [...]
Filed under: Android, Things To Remember | Posted on June 23rd, 2009 by William Woody | 1 Comment »
In a typical model/view/controller implementation (setting aside, of course, the debate over what MVC really is), we implement a model (which maps to a document, file, or database), a controller (which manages the views), and a collection of views, generally contained within a window. Now this model maps nicely into the iPhone API and the [...]
Filed under: Android, Commentary, Java, iphone | Posted on June 17th, 2009 by William Woody | No Comments »
One of the things that the company I’m working for has considered is creating a Netbook version of our location-based software. So I bought a Netbook (The MSI Wind 120) in order to understand what all the fuss is about. My observations: (1) This is not a new product category. To me, a new product [...]
Filed under: Android, Commentary, iphone | Posted on June 3rd, 2009 by William Woody | No Comments »
On Windows Mobile 5 (and I assume the same is true of 6 and 7), the small bar at the bottom which shows the current meaning of the two smart buttons is not a separate chunk of real estate taken away from the rest of the application; instead it is a floating HWND object. It [...]
Filed under: Android, Commentary, iphone | Posted on May 15th, 2009 by William Woody | No Comments »
This was driving me nuts all weekend, because I became misguided. On Google Android, I want to create a custom list view, and I want to handle context menus. Of course the right way to do this is: (1) In your activity that contains your list, call setOnCreateContextMenu with a class that will be handling [...]
Filed under: Android, Java, Things To Remember | Posted on May 4th, 2009 by William Woody | No Comments »