XBMC as launcher

XBMC as launcher



Now that XBMC is useful as a media player for my MELE (see HW acceleration thread), I also use it as a launcher.

Basic instructions

Download the APK from here.
And if you want to use an external player, check the previous post.

Advanced instructions

Important: Theres already a modified manifset file uploaded here

To make xbmc work as launcher and make it persistent (this means it doesnt close when you watch a movie,and it doesnt need to load everything again when you finish a movie) you have to modify the file: "$XBMC_FOLDER/tools/android/packaging/xbmc/bin/AndroidManifest.xml".

Inside the file you can find the "intent-filter" node, we need to add an Intent for the home action.
....
<intent-filter>
    <action android_name="android.intent.action.MAIN" />
    <category android_name="android.intent.category.HOME" />
....

If you want to xbmc appear in the default launcher as an application, dont replace the line:
<category android_name="android.intent.category.LAUNCHER" />

If you replace LAUNCHER with DEFAULT the application wont be listed anywhere but in the "All" section of the Android application manager.

To make it persistent:
(WARNING this will make XBMC constantly consume resources, so if you have low memory everything will be slower, this doesnt seem to be the case with MELE, but if you are using emulators or other applications with high memory usage this may impact on the performance).

You need to modify the "Application" Node:
"<application android_icon="@drawable/ic_launcher" android_debuggable="true" android_label="@string/app_name" android_hasCode="true">"

add the option:
android:persistent="true"

When this file was modified, the following file got modified also 
$XBMC_FOLDER/tools/android/packaging/xbmc/bin/AndroidManifest.xml.
I believe you should also modify this file with the desired options.


After modifying the xml, you have to build the apk, and install it normally.



visit to link download