Category: Programming

  • Hide Android (software) buttons on Archos 101 internet tablet

    On the Android tablet Archos 101 internet tablet the Android buttons (Home, Menu, Back and Search) are software buttons, and not hardware buttons like on most other Android devices. To hide theses Android buttons in your app, one has to add the following permission to AndroidManifest.xml (none-Archos devices that do not know the permission will […]

  • Update MooTools Core from 1.2.5 to 1.3 breaks inheritance structures

    Update 2010-12-20: I created a bug report which was set to “wontfix”. As Christopher Pojer explained here there is no guarantee that this.parent is defined in classes that are used as interfaces. Some weeks ago, I wrote about two API breaks I found in MooTools Core 1.3 when I tried to upgrade from 1.2.5. After […]

  • SCORM 1.2 & Articulate ’09: Resuming SCO always resets progress to “incomplete”

    Today, I met the problem, that an Articulate 9 SCORM 1.2 SCO always resets the lesson status to “incomplete” when the learner resumes the learning content (even if the lesson status was completed before). I found several discussions (like this or this) concerning this issue. In general, the discussions are about whether the CMI or […]

  • Update MooTools from 1.2.5 to 1.3: API breaks with (inbuilt) compatibility layer

    Update 2010-10-20: The MooTools team decided that both API changes are not API breaks, but fixes. In detail, both functionalities I’ve used in 1.2.5 are undocumented and officially unsupported features (see Christoph Pojer’s comment and my bug report). The migration guide “Update from 1.2 to 1.3” now refers to the changes in the Request objects. […]

  • PHP 5: Send HTTP post request with file_get_contents

    The following code snippet shows an easy way how to send a HTTP post request using the PHP function file_get_contents: $url = ‘’; $data = array(‘key1’ => ‘value1’, ‘key2’ => ‘value2’) // use key ‘http’ even if you send the request to https://… $options = array(‘http’ => array( ‘method’ => ‘POST’, ‘content’ => http_build_query($data) )); […]

  • ActionScript 2: Copy MovieClips with BitmapData on runtime

    The flash.display.BitmapData class enables you to copy arbitrary movie clips on runtime, e.g. movie clips attached from the library or external loaded images or swf files. Here is a little helper function that does all the magic stuff: import flash.display.BitmapData; /** * @param sourceMovieClip Movie clip to copy * @param targetMovieClip (Empty) movie to past […]