Skip to content

Instantly share code, notes, and snippets.

<?php
function parseDescription($descr)
{
$prepared = array();
$result = array();
// prefill with empty values
for ($i = 0; $i <= 63; $i++) {
$prepared[$i] = null;
}
@Philipp91
Philipp91 / gist:4007071
Created November 3, 2012 11:23
Desire Z configure quicklaunch buttons
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import android.app.ListActivity;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Intent;
import android.os.Bundle;
import android.provider.Settings;
import android.view.KeyCharacterMap;