Note to self: To dump the low-level Android power management statistics, use
dumpsys power
from an adb shell.
Note to self: To dump the low-level Android power management statistics, use
dumpsys power
from an adb shell.
Apparently some people started experiencing a redirect loop when accessing Google Groups while being signed in to their Google (Apps) account. I also did and and started – well – googling for a solution. There were a couple of solution attempts documented, such as erasing your profile and clearing all your cookies, which seemed a little random and came with significant side-effects. This post is supposed to document the minimal set of changes required o get Google Groups working again (if Google does not fix the issue on their end):
Just delete all cookies for the groups.google.{com|de|<yourtld>} hostname and everything should be back to normal.
As Skype voice recording stopped working for me after upgrading from Karmic to Lucid, I thought I would document what I needed to do to fix it:
Apparently, PulseAudio had my microphone muted although KMixer did not show this. The mute could easily be removed using pavucontrol, though.
As much as I would like to completely switch over to Linux, for some tasks I am unfortunately still stuck with Microsoft Windows. This comes with the issue that Windows natively does not ship with the keyboard layout that I am routinely using under Linux: US International (No Dead Keys).
Fortunately, there is an easy solution available: Using the The Microsoft Keyboard Layout Creator it was a matter of seconds to remove the dead keys from the the stock US International keyboard layout.
The resulting keyboard layout file is available for download for your convenience. You can easily import this file into the Microsoft Keyboard Layout Creator and turn it into installable keyboard layout DLLs.
A couple of days ago I visited the UK and also took my Android smartphone with me. After accessing some loal .co.uk web sites I quickly noticed that Hash It! would not figure out the right site tag for them when it was invoked from the Android web browser via the “Share” intent.
So, I just rolled an update, Hash It! 1.1.0, which adds support for the most common ccSLDs (country code second-level domains), such as .co.uk, .ac.uk or .com.sg.
Hash It! 1.1.0 is available via the Android Market. Details are also available at: http://android.ginkel.com/
Enjoy!
Weeks have passed and still no update from HTC regarding the availability of the HTC Desire’s Linux kernel source code. Let’s take a look back at the history of the case: On April 3rd, I initially asked for the Desire’s Linux kernel source code in accordance with the GPLv2. A couple of mails and a few weeks later, HTC finally escalated the support ticket and eventually forwarded my request to R&D on April 16th. (more…)
As with any modern programming language that supports method overloading, Java uses name mangling to distinguish methods that share the same name, but only differ in their parameters. Now, actually figuring out the exact algorithm used by javac by googling the Internet turned out to be quite tricky. Eventually, I dug up the following description, which at least serves as a starting point:
P.S.: This would not even have been an issue if HTC would open-source their proprietary code for the HTC Desire…
It has been a while since I last worked on Hash It!, but thanks to the bug report of an attentive user I just uploaded a new version (1.0.2) of Hash It! to the Android Market. Bottom line: Hash It! now works correctly on Android 1.5.
Hash It! is licensed under the GPLv3 and as such comes with full source code for your entertainment.
Further details on how to download it to your mobile phone as well as the changelog are available at: http://android.ginkel.com/
Get it while it is still hot!
When using Google Maps from within your Android application you need to obtain an API key in order to be able to retrieve Maps data at run-time. This API key is derived from the fingerprint of the signature key used to sign the application’s APK. Consequently, if the signature key used by your application at a given point in time no longer matches the one used to register the Maps API key, using the MapView will silently fail (the map will just display a gray grid instead of the expected map data). So far, so good.
As it seems, the Android ADT Eclipse plug-in also comes with an undocumented “feature”: If no “Custom debug keystore” is set in the Android Build Preferences, it will apparently use a different key to sign the APK when deploying it to a phone connected via USB than when deploying it to the Emulator. So, all your Maps applications will suddenly start to fail displaying map data once they are deployed on a real device for testing purposes.
To work around this issue, set the “Custom debug keystore” setting (empty by default) to the same value as the “Default debug keystore”.
Well, Linux is not just free as in beer, but also free as in speech. As I wanted to dig a little deeper into HTC’s modifications applied to the Desire’s Linux kernel I did, what I am entitled to as per the GPLv2 the Desire’s Linux kernel is licensed under: I requested the source code via HTC’s support as the “HTC Developer Center” at http://developer.htc.com/, which usually hosts the Linux kernel source code drops for their Android phones, does not mention the Desire yet:
Dear HTC support,
I would hereby like to request the Linux Kernel source code for my HTC Desire phone according to section 3 of the GNU General Public License v2 under which the Linux kernel the Desire is based on is licensed. A download URL will be fine.
Thanks,
Thilo
The answer I received was somewhat unexpected, but I will leave the judgment up to the reader:
Dear Thilo-Alexander
Thank you for your enquiry about linux.
Sorry we don’t support Linux, even though linux and android have similarities they’re not made for eachother. But here is the link for our kernals http://developer.htc.com/, happy Easter!
Best regards,
xxxx x
HTC Tech Support
www.htc.com
Tel: +44 8458900xxx
Better luck next time… I replied through their ticketing system insisting on a source code copy (along with a short educational section about the true origins of the Android platform
). Let’s see what their next reply will look like…