[Android] Ticklefish:
I'm trying to find a way to launch an app from my pull-down notifications screen. I'm on ICS and I can already start the settings app from there so I should, in theory, be able to start anything else.

The trouble is, I'm a bit lost as to how to do it. I've found lots of tutorials about launching an app from one you've made yourself but I'm trying to launch one from SystemUI.apk so I don't have any java code available to play around with. And I don't really understand smali yet.

This is the code for my status_bar_expanded.xml if it helps:

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="[URL]http://schemas.android.com/apk/res/android[/URL]"
xmlns:systemui="[URL]http://schemas.android.com/apk/res/com.android.systemui[/URL]">
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/carrieranddate">
<com.android.systemui.statusbar.phone.CarrierLabel android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/carrierlabel" android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.policy.DateView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/date" android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:singleLine="true" android:layout_alignParentLeft="true" />
</LinearLayout>
<ImageView android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/settings_button" android:paddingLeft="8.0dip" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/carrieranddate" android:contentDescription="@string/accessibility_settings_button" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:src="@drawable/ic_sysbar_recent" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<AnalogClock android:paddingRight="8.0dip" android:layout_width="52.0dip" android:layout_height="52.0dip" android:id="@id/clock1" android:gravity="center" android:paddingLeft="8.0dip" android:layout_alignParentRight="true" />
<ImageView android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:src="@drawable/clear" android:contentDescription="@string/accessibility_clear_all" android:layout_alignParentRight="true" />
</RelativeLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/noNotificationsTitle" android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:padding="8.0dip" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/scroll" android:fadingEdge="none" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/latestItems" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>

Can anyone help me?