[Sony Cross-Device Development Themes and Apps] juanpirulo:
[MENTION=5097981]abo hani[/MENTION] [MENTION=4503187]iedafarha[/MENTION]

So i follow with same problem, i got the icon on category but when i press i ve got an fc. folow is the lines an content i add. if someone can help . cheers.

personal_settings.xml

?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@id/personal_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.sonymobile.settings.preference.IntentPreference android:title="@string/supersu_title" android:summary="@string/supersu_desc_txt" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="eu.chainfire.supersu" android:action="android.intent.action.MAIN" android:targetClass="eu.chainfire.supersu.MainActivity" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:title="@string/adway_title" android:summary="@string/adway_desc_txt" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="org.adaway" android:action="android.intent.action.MAIN" android:targetClass="org.adaway.ui.BaseActivity" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:title="@string/servicemenu_title" android:summary="@string/servicemenu_desc_txt" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.android.servicemenu" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.android.servicemenu.ServiceMainMenu" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:title="@string/cpu_control" android:summary="@string/cpu_desc_txt" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="it.sineo.android.noFrillsCPUClassic" android:action="android.intent.action.MAIN" android:targetClass="it.sineo.android.noFrillsCPUClassic.activity.MainActivity" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:title="@string/cpu_stats" android:summary="@string/cpu_stats_summary" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.bvalosek.cpuspy" android:action="android.intent.action.MAIN" android:targetClass="com.bvalosek.cpuspy.ui.HomeActivity" />
</com.sonymobile.settings.preference.IntentPreference>
</PreferenceScreen>

mysettings.smali

public hex <public type="xml" name="personal_settings" id="0x7f080087" />

.class public Lcom/android/settings/linuxrom/mysettings;
.super Lcom/android/settings/SettingsPreferenceFragment;
.source "mysettings.java"

# direct methods
.method public constructor <init>()V
.locals 0

.prologue
.line 7
invoke-direct {p0}, Lcom/android/settings/SettingsPreferenceFragment;-><init>()V

return-void
.end method

# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
.locals 1
.param p1, "savedInstanceState" # Landroid/os/Bundle;

.prologue
.line 11
invoke-super {p0, p1}, Lcom/android/settings/SettingsPreferenceFragment;->onCreate(Landroid/os/Bundle;)V

.line 13
const v0, 0x7f080087

invoke-virtual {p0, v0}, Lcom/android/settings/linuxrom/mysettings;->addPreferencesFromResource(I)V

.line 14
return-void
.end method

dashboard_category.xml

<dashboard-category android:id="@id/system_section" android:title="@string/header_category_system" android:key="@string/category_key_system">
<dashboard-tile android:icon="@drawable/ic_settings_personal" android:id="@id/personal_settings" android:title="@string/header_category_advanced" android:fragment="com.android.settings.linuxrom.mysettings" />
<dashboard-tile android:icon="@drawable/ic_settings_date_time" android:id="@id/date_time_settings" android:title="@string/date_and_time_settings_title" android:fragment="com.android.settings.DateTimeSettings" />
<dashboard-tile android:icon="@drawable/ic_settings_language" android:id="@id/language_settings" android:title="@string/language_settings" android:fragment="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
<dashboard-tile android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.accessibility.AccessibilitySettings" />
<dashboard-tile android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
<dashboard-tile android:icon="@drawable/ic_settings_about" android:id="@id/about_settings" android:title="@string/about_settings" android:fragment="com.android.settings.DeviceInfoSettings" />
</dashboard-category>
<dashboard-tile android:id="@id/nfc_payment_settings" />
<dashboard-tile android:id="@id/print_settings" />
</dashboard-categories>