5,597,647 Members 32,376 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How to use MNS/default.xml to add home screen app link?

Tip us?
 
RiPiGs
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Dec 2013
Default [Q] How to use MNS/default.xml to add home screen app link?

Alrighty . . .

Some background on my project :: I completely removed SPRINT stuff from a stock rom successfully.

So . . .

All that I need is some help with the MNS/default.xml file so that I can place icons and widgets on the home screen by default.

Mainly need to know how or where do I find an apps shortcut link / class?

Code:
      <function name="default_quicklaunch">
        <set name="plenty">
          <item name="package">com.android.htccontacts</item>
          <item name="class">com.android.htccontacts.DialerTabActivity</item>
          <item name="screen">0</item>
          <item name="x">0</item>
          <item name="y">0</item>
          <item name="itemtype">0</item>
        </set>
        <set name="plenty">
          <item name="package">com.google.android.gm</item>
          <item name="class">? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</item>
          <item name="screen">0</item>
          <item name="x">1</item>
          <item name="y">0</item>
          <item name="itemtype">0</item>
        </set>
        <set name="plenty">
          <item name="package">com.android.mms</item>
          <item name="class">com.android.mms.ui.ConversationList</item>
          <item name="screen">0</item>
          <item name="x">2</item>
          <item name="y">0</item>
          <item name="itemtype">0</item>
        </set>
        <set name="plenty">
          <item name="package">com.android.camera</item>
          <item name="class">com.android.camera.CameraEntry</item>
          <item name="screen">0</item>
          <item name="x">3</item>
          <item name="y">0</item>
          <item name="itemtype">0</item>
        </set>
      </function>
 
RiPiGs
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Dec 2013
Angry [SOLVED]

Well, I did a lot of RnD . . . and found out what I needed to know.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes