Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,150 Members 36,855 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE]Adding Extra Pages in Settings

Tip us?
 
shadman0
Old
#1  
Account currently disabled - OP
Thanks Meter 117
Posts: 348
Join Date: Nov 2013
Location: Delhi
Post [GUIDE]Adding Extra Pages in Settings

Hello Today I Have Bring {GUIDE}.All the Credits goes to PineappleOWL.So I have Modify Some Things.

Downloads-Link in Attachment

Instructions:
Pull Setting from Your Phone
apktool d Settings.apk
Downloads the File and extract
Open AndroidManiFiest
find
HTML Code:
 <uses-library android:name="touchwiz" />
below add this
HTML Code:
<activity android:name="ExtraPages" />
recomnile settings
decomnile its again
open Pubic.xml from for values/public
find extra_pages note ids code
open smali/com/shadman0/ExtraPages
Find
[HTM]L0x7f04003b[/HTML]
change it to accroding to your Public.xml
open string add this
HTML Code:
<string name="extra_pages">Extra Pages</string>
befor </resources>
open res/xml/settings.xml
paste this before Resources
HTML Code:
<com.android.settings.IconPreferenceScreen android:title="@string/extra_page"         settings:icon="@drawable/milkshake_bar">
        <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.shadman0.ExtraPages" />
    </com.android.settings.IconPreferenceScreen>

Credits:
PineappleOWL
Attached Files
File Type: zip Extra Pages.zip - [Click for QR Code] (3.0 KB, 40 views)
The Following User Says Thank You to shadman0 For This Useful Post: [ Click to Expand ]
 
shadman0
Old
#2  
Account currently disabled - OP
Thanks Meter 117
Posts: 348
Join Date: Nov 2013
Location: Delhi
Reserved
Tags
tutorial
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes