Ubuntu for Android – Is this the ultimate all in one device?

I haven’t been as excited about a new announcement in the Linux world since Google came out with Android. Canonical just announced ‘Ubuntu for Android’ – its a release that will enable a full desktop computing experience on a docked Android smartphone.

It will work like a normal Android phone when not docked, but once its docked, you can have the complete Ubuntu experience. This means common storage – contacts, bookmarks, documents. And it can handle calls and smses when docked! Continue reading

Get Android Remote Notifier to work with Unity on Ubuntu Natty (11.04) and Oneiric (11.10)

Ubuntu Natty onwards, the default desktop manager is Unity. Unity has disabled the default system tray, and applications which wish to show up on the Unity panel should support Ubuntu Application Indicators. Unfortunately Android Remote Notifier doesn’t support App Indicators yet and hence doesn’t show up in the Unity panel on being executed. Luckily for us, there’s a way to get around this issue. Continue reading

Detect Mobile Browser using Server Side Includes (SSI)

There’s a website dedicated for open source code in various programming languages to detect mobile browsers. However they didn’t have any code to detect a mobile browser using SSI. Thats what I needed to make the HTML pages on my website mobile friendly. Using the <!--#if expr SSI conditional expression, I wrote up a small code snippet to detect the most common smart phones and set a variable when a mobile phone is detected. I use this variable in other parts of HTML to control what is show and what is not to make it suitable for a mobile browser. Continue reading

Adsense Client – Simple Adsense Application for your Android Phone

Introducing “Adsense Client” – a new Android application I have created to help you track your Adsense Earnings on the go. I have been look for a decent application to track my Adsense Earnings. However all the free applications are severely limited and do not offer even the basic functionalities and hence I decided to make one of my own. This is my first attempt at making a full fledged Android application. I have tested this application across all Android software versions greater than 1.5. This application won’t work for Android s/w versions less than 1.5. Continue reading

Redirect WordPress XMLRPC Clients to a Custom Post Type

Lets say you want to post from your Android or Iphone WordPress clients to a custom post type instead of the the defualt ‘post’ type. Paste the code below in your functions.php and you should be good to go 🙂

function redirect_xmlrpc_to_custom_post_type ($data, $postarr) {
    $p2_custom_post_type = 'custom_post_type'; //Change this to the custom post type you are using for your blog
    if (defined('XMLRPC_REQUEST') || defined('APP_REQUEST')) {
        $data['post_type'] = $p2_custom_post_type;
        return $data;
    }
    return $data;
}

add_filter('wp_insert_post_data', 'redirect_xmlrpc_to_custom_post_type', 99, 2);

Change $p2_custom_post_type = 'custom_post_type' to the custom post type you are using for your blog.

Now I can post from my Android Phone to my custom P2 micro-blog 🙂