February 1, 2010 by Olav Rask
Recently i was in a hurry to grab some reading material and i accidently pulled out a book I’ve mentioned previously. David Platt’s “Why Software Sucks” is full of thoughts on how software could be made more user-friendly. One of his points is that users should not have to understand the internal workings of a computer or the particular piece of software, they are trying to use.
Reading this again made me absolutely sure we had come to the right decision in a recent discussion on how to deal with concurrency in an “occasionally disconnected” client / server system.
Read the rest of this entry »
Tags: Client Server, Concurrency, Occasionally connected, Software Architecture, User frendly
Posted in Architecture | Leave a Comment »
November 23, 2009 by Olav Rask
Whould it not be easier to just authenticate with a username and password like is done everywhere else?
Imagine:
- Getting a new phone
- Borrowing a friends phone when you run out of juice
- Using a public telephone
Rumours of an actual google-phone (as in hardware designed by google) predicts a dedicated VOIP solution. Thats one of those things that make me go “why is it not allready like that?” (and then “oh – one more area google is going to dominate in a couple of years”).
You have to wonder how long carriers will be able to charge for calls seperately and by the minute. And when can i have a phone that doesn’t rely on a 20 year old SIM card?
Tags: carrier, cellphone, Future, mobile phone, SIM, VOIP
Posted in Uncategorized | Leave a Comment »
November 15, 2009 by Olav Rask
Tags: Configuration, IIS, REST, WCF, XML
Posted in Uncategorized | Leave a Comment »
October 1, 2009 by Olav Rask
Fiddler2 is a great way to debug advanced HTTP communication and it can be very helpful in capturing and recreating SOAP messages. Getting up and running with the Android Emulator is pretty easy:
Read the rest of this entry »
Tags: Android, Android Emulator, Android SDK, Fiddler, HTTP Debugging
Posted in Uncategorized | 1 Comment »
September 21, 2009 by Olav Rask
Coming from C# I personally prefer the I+DescriptiveInterfaceName (e.g. IList) convention, but that “I” seems to be a bit of a sin within the java community.
Imagine my surprise when I came across android.os.IBinder.
Although I’m just a random hacker using a language like C#, one thing I would always adhere to over my own preference in regards to naming, is a standard. I thought java guys were real sticklers for this kind of thing.
Guess I was wrong
Tags: C#, Conventions, Interface, Java, Naming, Preferences, Standards
Posted in Uncategorized | Leave a Comment »
September 15, 2009 by Olav Rask
For my current project I needed access from my HTC Hero to a server that is not publicly visible. To my surprise it turns out that Android currently has NO VPN SUPPORT. Rumors say Donut will bring it and others are pointing to Google integrating a library from a company called Mocana. I did find some “workarounds” for enabling VPN. Common for all of them is the requirement of root access and a cooked ROM – not something that most users are going to be familiar with.
For me this puts a dent in the “enterprise readiness” of Android. And there are other things. Like the lack of support for Kerberos and NTLMv2 – in both the browser and the Java HTTP stack – and the previously mentioned unobtainable permissions.
I really hope that Google irons out these “kinks”. They make an otherwise promising OS hard to recommend.
Tags: Android, Enterprise, Mobile OS, Ready for business, VPN
Posted in Uncategorized | 1 Comment »
August 22, 2009 by Olav Rask
I really like the Android documentation – it’s quite comprehensive, there’s nice API samples and the getting started tutorials are simple and easy to follow. With each class description, the documentation lists direct and indirect descendants – this is mostly a nice feature, but I couldn’t help smiling when I looked up “Object”: http://developer.android.com/reference/java/lang/Object.html
Posted in Uncategorized | Leave a Comment »
August 21, 2009 by Olav Rask
I had to do some screenshots for a presentation on the Android project I’m currently working on and to my surprise I found that searching for “Screenshot” on the Android Marketplace turned up zero results actually related to taking a screenshot.
I thought to myself that I would do a “shake to screenshot” app, but quickly realized that it was too good to be true, that nobody had thought of this. So I decided to investigate…
Read the rest of this entry »
Tags: /dev/graphics/fb0, Android, AndroidManifest.xml, Dalvik Debug Monitor Service, DDMS, Manifest.permissions, READ_FRAME_BUFFER, Screenshot
Posted in Android, Architecture | Leave a Comment »
August 21, 2009 by Olav Rask
As a part of the Android project I just started, I need to access a service secured by NTLM. On Windows Mobile this is handled automatically by WebClient. For iPhone I had to make the move from the more modern and high level UrlConnection / UrlRequest API to the old school non object oriented C style CFNetwork API. Android turns out to be a bit of the same story as with the iPhone. I started out with HttpURLConnection, only to disappointed again and redirected to the Apache HttpClient. But unlike CFNetwork on iPhone, HttpClient actually does not support NTLM “out of the box”…
Read the rest of this entry »
Tags: Android, Authentication, AuthScheme, AuthSchemeFactory, CFNetwork, HttpClient, HttpPost, HttpURLConnection, JCIFS, NTLMEngine, NTLMScheme, NTML, UrlConnection
Posted in Android | 2 Comments »