Just a reminder for myself. For unpacking .gz files on OS X unzip and tar won’t work. gunzip is the command you need. More information for other operating systems and more options...
Don’t open a sketch in Arduino on Ubuntu using the Recently Used Files link. On my machine this blocks the Arduino IDE with a java error! Same sketch can be opened from...
When your activities first focus on opening is on an input field (like editText) you will get the android software onscreen keyboard popping up blocking half of the screen for your activity...
This was the complete exception I encountered trying to post data to a https connection. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target I...
Again I got the opportunity to speak at an evening session. This time I talked about Android. Download Android presentation (PDF/13MB) The presentation exists of 2 parts. The first part being a...
The Eclipse Java compiler can be configured to produce warnings (or error message) for empty statements: Java > Compiler > Errors/Warnings > Empty statement.
via Java.net door mkarg op 29-12-10 After more than a decade in the Java universe, today I had just enough of remembering where my executable JARs are located and typing all the...
This is a GWT introduction I presented at a community event of my employer Ausy/DataFlow Consultancy. Many thanks for the opportunity and I’m looking forward to the next session. Download the presentation...
You can get the android google account from a device using the AccountManager like this: Account[] accounts = AccountManager.get(this).getAccounts();for (Account account : accounts) { // TODO: Check possibleEmail against an email regex...
The Android Calendar API is a bit tricky since it’s not official yet so it can and does change from time to time. I won’t explain the details on how to use...