Native Data Usage app data file for Tasker - One (M8) Q&A, Help & Troubleshooting

I want to developers some logic in Tasker using the current data used for my phone . I cannot find any files related to the data usage app to import this Info Into tasker. Could someone please help me find where this info resides in the system files?

To add more clarity to the request.
I have already been working with the system files that monitor rx and tx bytes and packets . The problem is they reset to 0 after reboot. I noticed that the data usage app in HTC sense 6 has a running trend with month end reset setpoint and data usage alarm trigger. These are some great variables to use for my purposes if i canget them into Tasker. I will be doing a running linear prediction for end of month usage by analyzing my current usage toatal and days passed in my billing cycle and then toggling a bit if I am over or under the setpoint so I know if I need to curb my usage to be good until months end.

Well I decided to tackle this one from scratch

I have fully completed the logic for an app that will calculate the minutes from the beginning and to the end of the current billing cycle. With this info and the data usage statistics being collected (thanks to bdanders from Google groups for the file locations.)
I am calculating the estimated usage by the end of the billing cycle based on the current usage (using the naive forecasting method). With this I am toggling a bit that represents if I am using two much data at this point in my billing cycle, based on a data usage setpoint. Currently this bit is used to change the color of a zooper widget icon from green to red, telling me I need to back off of the data. This bit could also be used to turn off cellular data or any other thing and be pretty reliable as it will be re analyzed every two minutes.
I have tested this logic pretty well and it works through whatever I throw at it. All profiles are running on two minute intervals except for one handling reboots(which I plan to migrate to the two minute method also).
I am making this work with nested if statements and some latching bits to prevent running certain logic more than once when called. I will be releasing this program soon as I am still taking some time to look for bugs.
Please send any ideas or requests as the hard work is now done. I would love to further develop this program.

Working on tutorial

Please let me know if you would like this file as it is too large to paste the xml text here

Lancaster84 said:
Please let me know if you would like this file as it is too large to paste the xml text here
Click to expand...
Click to collapse
Can You help me sending me the file to my mail? please?, I really apreciate it......

[/COLOR]
archer001 said:
Can You help me sending me the file to my mail? please?, I really apreciate it......
Click to expand...
Click to collapse
Could you send me too? I really need this. Thanks . email

archer001 said:
Can You help me sending me the file to my mail? please?, I really apreciate it......
Click to expand...
Click to collapse
Sorry for the late response. Here is the contents of the project XML.
This project takes some tweaks to get running on your system. Such as data cycle date. I also pretty much lost this file last year only to find a backup hidden in my Google drive just now. If you need help, let me know. You will need to configure some front end object to to observe the overusage bit. I will try and find my Zooper object.
Best regards.
Data_Usage.prj.xml
<TaskerData sr="" dvi="1" tv="4.4u3m">
<Profile sr="prof18" ve="2">
<cdate>1410208911369</cdate>
<clp>true</clp>
<edate>1410758394888</edate>
<id>18</id>
<mid0>16</mid0>
<Event sr="con0" ve="2">
<code>411</code>
<pri>0</pri>
</Event>
</Profile>
<Profile sr="prof19" ve="2">
<cdate>1410208933704</cdate>
<clp>true</clp>
<edate>1410758402294</edate>
<id>19</id>
<mid0>15</mid0>
<mid1>4</mid1>
<Time sr="con0">
<fh>-1</fh>
<fm>-1</fm>
<rep>2</rep>
<repval>2</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Profile sr="prof22" ve="2">
<cdate>1410391700517</cdate>
<clp>true</clp>
<edate>1411089468058</edate>
<id>22</id>
<mid0>14</mid0>
<mid1>13</mid1>
<Time sr="con0">
<fh>-1</fh>
<fm>-1</fm>
<rep>2</rep>
<repval>2</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Profile sr="prof23" ve="2">
<cdate>1410391700517</cdate>
<clp>true</clp>
<edate>1411089467571</edate>
<id>23</id>
<mid0>12</mid0>
<mid1>11</mid1>
<Time sr="con0">
<fh>-1</fh>
<fm>-1</fm>
<rep>2</rep>
<repval>2</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Profile sr="prof24" ve="2">
<cdate>1410391700517</cdate>
<clp>true</clp>
<edate>1411089467130</edate>
<id>24</id>
<mid0>10</mid0>
<mid1>8</mid1>
<Time sr="con0">
<fh>-1</fh>
<fm>-1</fm>
<rep>2</rep>
<repval>2</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Profile sr="prof25" ve="2">
<cdate>1410391786872</cdate>
<clp>true</clp>
<edate>1411089468546</edate>
<id>25</id>
<mid0>17</mid0>
<mid1>5</mid1>
<Time sr="con0">
<fh>-1</fh>
<fm>-1</fm>
<rep>2</rep>
<repval>2</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Profile sr="prof28" ve="2">
<cdate>1410208933704</cdate>
<clp>true</clp>
<edate>1410381359093</edate>
<id>28</id>
<mid0>26</mid0>
<mid1>27</mid1>
<Time sr="con0">
<fh>-1</fh>
<fm>-1</fm>
<rep>2</rep>
<repval>2</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1410208682548</cdate>
<name>Data Usage</name>
<pids>22,24,23,25,18,19,28</pids>
<tids>4,13,15,26,12,11,17,5,8,27,14,10,16</tids>
<Kid sr="Kid">
<launchID>8</launchID>
<pkg>overusage.test</pkg>
<vnme>1.0</vnme>
<vnum>2</vnum>
</Kid>
</Project>
<Task sr="task10">
<cdate>1410384164617</cdate>
<edate>1412143347546</edate>
<id>10</id>
<nme>This Month GOT</nme>
<pri>10</pri>
<Action sr="act0" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%This_month_GOT_full_date</Str>
<Str sr="arg1" ve="3">%This_month_month-%Data_got_sp_day-%This_month_year 00:00</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="6">
<code>596</code>
<Str sr="arg0" ve="3">%This_month_GOT_full_date</Str>
<Int sr="arg1" val="3"/>
<Str sr="arg2" ve="3">%this_month_got_full_date_sec</Str>
</Action>
<Action sr="act2" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%This_month_GOT_full_date_min</Str>
<Str sr="arg1" ve="3">%this_month_got_full_date_sec/60</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task11">
<cdate>1410384971330</cdate>
<edate>1412028209327</edate>
<id>11</id>
<nme>Last Month GOT</nme>
<pri>10</pri>
<Action sr="act0" ve="6">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%This_month_month</lhs>
<op>8</op>
<rhs>1</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_year</Str>
<Str sr="arg1" ve="3">%This_month_year-1</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act10" ve="6">
<code>38</code>
</Action>
<Action sr="act11" ve="6">
<code>38</code>
</Action>
<Action sr="act12" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_GOT_full_date</Str>
<Str sr="arg1" ve="3">%Last_month_month-%Data_got_sp_day-%Last_month_year 00:00</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act13" ve="6">
<code>596</code>
<Str sr="arg0" ve="3">%Last_month_GOT_full_date</Str>
<Int sr="arg1" val="3"/>
<Str sr="arg2" ve="3">%last_month_got_full_date_sec</Str>
</Action>
<Action sr="act14" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_GOT_full_date_min</Str>
<Str sr="arg1" ve="3">%last_month_got_full_date_sec/60</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act2" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_month</Str>
<Str sr="arg1" ve="3">12</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="6">
<code>43</code>
</Action>
<Action sr="act4" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_year</Str>
<Str sr="arg1" ve="3">%This_month_year</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act5" ve="6">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%This_month_month-1</lhs>
<op>6</op>
<rhs>10</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act6" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%last_month_month</Str>
<Str sr="arg1" ve="3">%This_month_month-1</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act7" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_month</Str>
<Str sr="arg1" ve="3">0%last_month_month</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act8" ve="6">
<code>43</code>
</Action>
<Action sr="act9" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Last_month_month</Str>
<Str sr="arg1" ve="3">%This_month_month-1</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task12">
<cdate>1410388989371</cdate>
<edate>1412143353102</edate>
<id>12</id>
<nme>Next Month GOT</nme>
<pri>10</pri>
<Action sr="act0" ve="6">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%This_month_month</lhs>
<op>8</op>
<rhs>12</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_year</Str>
<Str sr="arg1" ve="3">%This_month_year+1</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act10" ve="6">
<code>38</code>
</Action>
<Action sr="act11" ve="6">
<code>38</code>
</Action>
<Action sr="act12" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_full_date</Str>
<Str sr="arg1" ve="3">%Next_month_month-%Data_got_sp_day-%Next_month_year 00:00</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act13" ve="6">
<code>596</code>
<Str sr="arg0" ve="3">%Next_month_full_date</Str>
<Int sr="arg1" val="3"/>
<Str sr="arg2" ve="3">%next_month_full_date_sec</Str>
</Action>
<Action sr="act14" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_GOT_full_date_min</Str>
<Str sr="arg1" ve="3">%next_month_full_date_sec/60</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act2" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_month</Str>
<Str sr="arg1" ve="3">01</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="6">
<code>43</code>
</Action>
<Action sr="act4" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_year</Str>
<Str sr="arg1" ve="3">%This_month_year</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act5" ve="6">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%This_month_month+1</lhs>
<op>6</op>
<rhs>10</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act6" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%next_month_month</Str>
<Str sr="arg1" ve="3">%This_month_month+1</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act7" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_month</Str>
<Str sr="arg1" ve="3">0%next_month_month</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act8" ve="6">
<code>43</code>
</Action>
<Action sr="act9" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Next_month_month</Str>
<Str sr="arg1" ve="3">%This_month_month+1</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task13">
<cdate>1410390849237</cdate>
<edate>1410991569628</edate>
<id>13</id>
<nme>Minutes Untill GOT</nme>
<pri>10</pri>
<Action sr="act0" ve="6">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%This_month_day</lhs>
<op>6</op>
<rhs>%Data_got_sp_day</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Min_to_GOT</Str>
<Str sr="arg1" ve="3">%This_month_GOT_full_date_min-%This_month_time_now_min</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act2" ve="6">
<code>43</code>
</Action>
<Action sr="act3" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Min_to_GOT</Str>
<Str sr="arg1" ve="3">%Next_month_GOT_full_date_min-%This_month_time_now_min</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act4" ve="6">
<code>38</code>
</Action>
</Task>
<Task sr="task14">
<cdate>1410390849237</cdate>
<edate>1412028246788</edate>
<id>14</id>
<nme>Minutes Since GOT</nme>
<pri>10</pri>
<Action sr="act0" ve="6">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%This_month_day</lhs>
<op>6</op>
<rhs>%Data_got_sp_day</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Min_since_GOT</Str>
<Str sr="arg1" ve="3">%This_month_time_now_min-%Last_month_GOT_full_date_min</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act2" ve="6">
<code>43</code>
</Action>
<Action sr="act3" ve="6">
<code>547</code>
<Str sr="arg0" ve="3">%Min_since_GOT</Str>
<Str sr="arg1" ve="3">%This_month_time_now_min-%This_month_GOT_full_date_min</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act4" ve="6">
<code>38</code>
</Action>
<Action sr="act5" ve="6">
<code>31664</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>#TMin_since_GOT# = %Min_since_GOT</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>org.zooper.zw.tasker.var.extra.STRING_TEXT</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
<org.zooper.zw.tasker.var.extra.INT_VERSION_CODE>1</org.zooper.zw.tasker.var.extra.INT_VERSION_CODE>
<org.zooper.zw.tasker.var.extra.INT_VERSION_CODE-type>java.lang.Integer</org.zooper.zw.tasker.var.extra.INT_VERSION_CODE-type>
<org.zooper.zw.tasker.var.extra.STRING_TEXT>%Min_since_GOT</org.zooper.zw.tasker.var.extra.STRING_TEXT>
<org.zooper.zw.tasker.var.extra.STRING_TEXT-type>java.lang.String</org.zooper.zw.tasker.var.extra.STRING_TEXT-type>
<org.zooper.zw.tasker.var.extra.STRING_VAR>Min_since_GOT</org.zooper.zw.tasker.var.extra.STRING_VAR>
<org

latestz said:
[/COLOR]
Could you send me too? I really need this. Thanks . email
Click to expand...
Click to collapse
Just posted it in the thread

Related

SGXU WM 6.5 Bliss Theme & Titanium Remix

How Titanium Should Be... click image to download
special thanks to drkfngthdragnlrd for the titanium icon tutorial
i love it its possible to show only icons in standby?
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
How do you get top and bottom bar so transparent ?
I am tryhing a lot of mods (HDWall included), but none works on my Xperia.
I'm on a 23569 ROM.
Thanks
S
Thanx again chef
spikegotti said:
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
Click to expand...
Click to collapse
thanx again, i will try
Nice,I'll try it

ported Sgs3 clockpackage.apk work in progress

Hello,
I've already posted this in --> Android Development and Hacking --> Android Apps and Games>
but it hasn't had any replies there so I thought I'd post it here too.
I've been working on porting the sgs3 clockpackage.apk
I've gotten to a point where all the touchwiz dependencies are removed/internalized and it should install (in theory) but it doesn't. I'm wondering if it is because of hardware limitations on my i9000 as I've noticed that the world clock is now a 3d model on the sgs3.
Maybe if there is someone with a Sgs2 or another phone a little bit more powerful might be able to try it out please.
I was wondering if someone with a bit of knowledge in apks and smali might be able to look at it for me, or if anyone is willing to work together to get this to work.
Just so you know I've been working by following this thread by Tortel1210 http://forum.xda-developers.com/show...php?p=21540104 his instructions are here http://epiccm.blogspot.fr/2012/01/po...s-for-cm7.html
And before you ask, yes, I have tried contacting Tortel1210 but he hasn't responded to any of my messages or thread replies.
Like I said, it is not yet working for me, so please don't post "It's not working" because I already know that.
The goal is to find out WHY it isn't working and to fix it.
Here is a link to the apk. It is CWM flashable, but if you have any trouble with the package, take out the apk and push it across manually and set your permissions.
http://www.mediafire.com/download.php?v6183n77n6xn336
and if anyone is having trouble decompiling ICS apks there is a program here I've been using http://forum.xda-developers.com/show....php?t=1577025 AutoAPKTool 2.0.4 by xavierjohn22 and edited by agat63 to work more successfully with ICS apks
Here is the android manifest if anyone wants to take a look at that too. Maybe there is something obvious that I missed...
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" package="com.sec.android.app.clockpackage"
xmlns:android="http://schemas.android.com/apk/res/android">
<permission android:label="READ_WCCONTENT" android:name="com.sec.android.app.clockpackage.per mission.READ_WCCONTENT" androidrotectionLevel="normal" />
<permission android:label="WRITE_WCCONTENT" android:name="com.sec.android.app.clockpackage.per mission.WRITE_WCCONTENT" androidrotectionLevel="normal" />
<permission android:label="READ_ALARM" android:name="com.sec.android.app.clockpackage.per mission.READ_ALARM" androidrotectionLevel="normal" />
<permission android:label="WRITE_ALARM" android:name="com.sec.android.app.clockpackage.per mission.WRITE_ALARM" androidrotectionLevel="normal" />
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:theme="@style/Theme.CustomTheme" android:label="@string/app_name" android:name=".ClockPackage" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name=".TIMER_ACTION" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/alarm" android:name=".alarm.Alarm" android:configChanges="orientation|screenSize" android:windowNoTitle="true">
<intent-filter android:label="alternativelistCreate">
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALT ERNATIVE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" android:host="com.sec.android.app.clockpackage" androidath="/alarmlist/" />
<data android:scheme="content" android:host="com.sec.android.app.clockpackage" androidath="/alarmcreate/" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/set_alarm" android:name=".alarm.AlarmDetail" android:taskAffinity="" android:excludeFromRecents="true" android:configChanges="keyboardHidden|orientation| screenSize" android:windowSoftInputMode="stateAlwaysHidden|adj ustPan" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".alarm.AlarmAlert" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="keyboardHidden|orientation| screenSize" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".alarm.AlarmSmartAlert" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="orientation|screenSize" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".alarm.AlarmBriefingAlert" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="orientation|screenSize" />
<activity android:label="@string/alarmrepeat" android:name=".alarm.AlarmRepeat" />
<activity android:theme="@style/ClockTheme" android:label="@string/snooze" android:name=".alarm.AlarmSnooze" android:configChanges="keyboardHidden|orientation| screenSize" />
<activity android:theme="@style/ClockTheme" android:label="@string/alarm_smartalarm" android:name=".alarm.AlarmSmartAlarm" android:configChanges="keyboardHidden|orientation| screenSize" />
<activity android:theme="@style/ClockTheme" android:label="@string/delete" android:name=".alarm.AlarmDelete" />
<activity android:label="@string/alarm_setting_title" android:name=".alarm.AlarmSetting" />
<activity android:label="@string/alarm_setting_title" android:name=".alarm.SettingsActivity" android:taskAffinity="" android:excludeFromRecents="true" android:configChanges="orientation|screenSize" />
<activity android:label="@string/auto_power_up_setting" android:name=".alarm.AutoPowerupSetting" />
<activity android:theme="@android:style/Theme.Translucent" android:name=".alarm.HandleSetAlarm" androidermission="com.android.alarm.permission.S ET_ALARM" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.SET_ALARM" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.NOTIFY_ALARM_DIRECTSAVED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name=".alarm.AlarmReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED " />
<action android:name="android.intent.action.TIME_SET" />
<action android:name="android.intent.action.TIMEZONE_CHANG ED" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.ALARM_ALERT" />
<action android:name="android.intent.action.SET_ALARM" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.NOTIFY_ALARM_DIRECTSAVED" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.START_INFO_ALARM" />
<action android:name="com.sec.android.clockpackage.ALARM_A PPWIDGET_EDIT" />
<action android:name="android.intent.action.LOCALE_CHANGED " />
<action android:name="com.android.calendar.preference.CscR eceiver" />
</intent-filter>
</receiver>
<provider android:name=".alarm.AlarmProvider" android:authorities="com.samsung.sec.android.clock package" />
<service android:name=".alarm.AlarmAlertInCallService" />
<service android:name=".alarm.AlarmSmartAlertInCallService" />
<service android:name=".alarm.AlarmBriefingAlertInCallServi ce" />
<receiver android:label="@string/alarm" android:name=".alarmwidget.AlarmWidgetProvider">
<meta-data android:name="android.appwidget.provider" android:resource="@xml/alarmwidget_info" />
<meta-data android:name="com.sec.android.appwidget.widgetinfo " android:resource="@xml/alarmwidget_provider_info" />
<intent-filter>
<action android:name="com.sec.android.widgetapp.APPWIDGET_ RESIZE" />
<action android:name="android.appwidget.action.APPWIDGET_U PDATE" />
<action android:name="com.sec.android.clockpackage.ALARM_A PPWIDGET_UPDATE" />
<action android:name="com.sec.android.clockpackage.ALARM_A PPWIDGET_SELECT" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.NOTIFY_ALARM_CHANGE" />
</intent-filter>
</receiver>
<service android:name=".alarmwidget.AlarmWidgetService" androidermission="android.permission.BIND_REMOTE VIEWS" android:exported="false" />
<receiver android:name=".alarmwidget.AlarmWidgetProxy" android:exported="false" />
<activity android:label="@string/worldclock" android:name=".worldclock.WCMain">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
<meta-data android:name="com.samsung.3dlist.disable" android:value="true" />
</activity>
<activity android:theme="@android:style/Theme.NoTitleBar" android:name="com.samsung.stri.s1worldclock.Ui3dMa inActivity" android:screenOrientation="portrait" android:configChanges="locale" />
<activity android:theme="@style/ClockTheme" android:name=".worldclock.WCCities" android:configChanges="orientation|screenSize" android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALT ERNATIVE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" android:host="com.sec.android.app.clockpackage.wor ldclock" androidath="/worldclock/" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/wc_delete" android:name=".worldclock.WCDelete" android:configChanges="orientation|screenSize">
<meta-data android:name="com.samsung.3dlist.disable" android:value="true" />
</activity>
<activity android:label="@string/wc_dst_settings" android:name=".worldclock.WCDST" android:configChanges="orientation|screenSize" />
<activity android:theme="@style/ClockTheme" android:label="@string/wc_reorder" android:name=".worldclock.WCReOrder" android:configChanges="orientation|screenSize">
<meta-data android:name="com.samsung.3dlist.disable" android:value="true" />
</activity>
<provider android:name=".worldclock.common.DataContentProvid er" android:readPermission="com.sec.android.app.clockp ackage.permission.READ_WCCONTENT" android:writePermission="com.sec.android.app.clock package.permission.WRITE_WCCONTENT" android:authorities="com.sec.android.provider.stri _s1_worldclock" />
<activity android:label="@string/stopwatch" android:name=".stopwatch.Stopwatch" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/timer" android:name=".timer.Timer">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/setting" android:name=".timer.TimerDetail" android:configChanges="orientation|screenSize" android:windowSoftInputMode="stateAlwaysHidden|adj ustPan" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".timer.TimerAlarm" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="keyboardHidden|orientation| screenSize" />
<service android:name=".timer.TimerService">
<intent-filter>
<action android:name=".timer.popup" />
<action android:name=".timer.playsound" />
</intent-filter>
</service>
<receiver android:name=".timer.TimerReceiver">
<intent-filter>
<action android:name=".timer.popup" />
<action android:name=".timer.playsound" />
</intent-filter>
</receiver>
<activity android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:label="@string/desk_app_name" android:name=".deskclock.CradleMain" android:launchMode="singleTask" android:configChanges="orientation|screenSize">
<meta-data android:name="android.dock_home" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:theme="@android:style/Theme.Wallpaper" android:label="@string/desk_app_name" android:name=".deskclock.CradleMainTab" android:launchMode="singleTask" android:configChanges="orientation|screenSize">
<meta-data android:name="android.dock_home" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/cradle_home_settings" android:name=".deskclock.CradleHomeSettingsTab" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/cradle_home_settings" android:name=".deskclock.CradleHomeSettings" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/setting_weather" android:name=".deskclock.CradleWeatherSettings" android:launchMode="singleTask" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:label="@string/pick_wallpaper" android:name=".deskclock.CradleWallpaperChooser" android:screenOrientation="nosensor" android:configChanges="locale" android:finishOnCloseSystemDialogs="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
</application>
<permission android:label="READ_CLOCK" android:name="com.sec.android.permission.READ_CLOC K" androidrotectionLevel="normal" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMP LETED" />
<uses-permission android:name="android.permission.STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCAT ION" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOC ATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_ST ATE" />
<uses-permission android:name="com.sec.android.daemonapp.ap.accuwea ther.permission.ACCU_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_PROV IDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_INTE NT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.kweathe r.permission.KW_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_PROVIDE R" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinawea ther.permission.SINA_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_PROVID ER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_INTENT " />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="15" />
</manifest>
if anyone wants the original clockpackage.apk from the Sgs3 so they can see what things I've edited, let me know and I'll post a link
ps. here is a link to my other thread where I have the touchwiz clockpackage working from a GB build on any ICS rom
http://forum.xda-developers.com/show....php?t=1558337
I just noticed that I overlooked something in the manifest.
It is asking for some permissions for some outside widgets and stuff
<uses-permission android:name="com.sec.android.daemonapp.ap.accuwea ther.permission.ACCU_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_PROV IDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_INTE NT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.kweathe r.permission.KW_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_PROVIDE R" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinawea ther.permission.SINA_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_PROVID ER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_INTENT " />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_INTENT" />
I'll try to either port those over too, or to remove any references from the apk, manifest and smali.
It is already a pretty large size app (20mb) I'm worried that if it needs these other widgets and stuff it will be too big to fit into the /system/app folder of some roms
I'll take a look at these permissions when I get some spare time and see if I can get this thing working
I've been doing a little bit more work on porting this apk and yesterday I removed the lines from the manifest linking to the various touchwiz widgets, I also disabled the smart alarm from the menus (which is wanting to use the TW widgets).
The apk installs and is visible in the app drawer, I ran a logcat to see what was going on and I got this.
Code:
I/dalvikvm( 4088): Could not find method com.sec.android.app.CscFeature.getInsta
nce, referenced from method com.sec.android.app.clockpackage...
So I managed to search and find this thread I noticed a response from wanam saying that it was looking for things in the framework.jar
So I added the missing CscFeature stuff from the framework.jar from the Sgs3, but now I'm getting new errors in the logcat results...
Code:
I/ActivityManager( 223): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sec.android.app.clockpackage/.ClockPackage} from pid 660
I/ActivityManager( 223): Start proc com.sec.android.app.clockpackage for activity com.sec.android.app.clockpackage/.ClockPackage: pid=2450 uid=10011 gids={}
D/OpenGLRenderer( 660): Flushing caches (mode 1)
D/dalvikvm( 2450): GC_CONCURRENT freed 162K, 6% free 8323K/8839K, paused 2ms+3ms
D/dalvikvm( 2450): GC_CONCURRENT freed 154K, 6% free 8704K/9223K, paused 1ms+2ms
D/OpenGLRenderer( 660): Flushing caches (mode 0)
I/ActivityThread( 2450): Pub com.sec.android.provider.stri_s1_worldclock: com.sec.android.app.clockpackage.worldclock.common.DataContentProvider
I/ActivityThread( 2450): Pub com.samsung.sec.android.clockpackage: com.sec.android.app.clockpackage.alarm.AlarmProvider
D/dalvikvm( 2450): GC_FOR_ALLOC freed 33K, 7% free 9030K/9607K, paused 28ms
D/dalvikvm( 2450): GC_CONCURRENT freed 439K, 10% free 9030K/9927K, paused 1ms+2ms
D/dalvikvm( 2450): GC_FOR_ALLOC freed 53K, 10% free 9006K/9927K, paused 17ms
I/dalvikvm-heap( 2450): Grow heap (frag case) to 10.361MB for 1280016-byte allocation
D/dalvikvm( 2450): GC_CONCURRENT freed <1K, 9% free 10255K/11207K, paused 2ms+2ms
D/dalvikvm( 2450): GC_FOR_ALLOC freed 0K, 9% free 10256K/11207K, paused 16ms
I/dalvikvm-heap( 2450): Grow heap (frag case) to 10.887MB for 552316-byte allocation
D/dalvikvm( 2450): GC_FOR_ALLOC freed 0K, 9% free 10795K/11783K, paused 18ms
D/Alarm ( 2450): onResume called
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
E/dalvikvm( 2450): Could not find class 'com.sec.android.touchwiz.widget.TwAbsListView$4', referenced from method com.sec.android.touchwiz.widget.TwAbsListView.<init>
W/dalvikvm( 2450): VFY: unable to resolve new-instance 911 (Lcom/sec/android/touchwiz/widget/TwAbsListView$4;) in Lcom/sec/android/touchwiz/widget/TwAbsListView;
D/dalvikvm( 2450): VFY: replacing opcode 0x22 at 0x0064
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
E/dalvikvm( 2450): Could not find class 'com.sec.android.touchwiz.widget.TwAbsListView$4', referenced from method com.sec.android.touchwiz.widget.TwAbsListView.<init>
W/dalvikvm( 2450): VFY: unable to resolve new-instance 911 (Lcom/sec/android/touchwiz/widget/TwAbsListView$4;) in Lcom/sec/android/touchwiz/widget/TwAbsListView;
D/dalvikvm( 2450): VFY: replacing opcode 0x22 at 0x00cd
I/dalvikvm( 2450): Could not find method com.sec.android.touchwiz.widget.TwAbsListView.CheckStatusBarHide, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.initAbsListView
W/dalvikvm( 2450): VFY: unable to resolve virtual method 5829: Lcom/sec/android/touchwiz/widget/TwAbsListView;.CheckStatusBarHide ()Z
D/dalvikvm( 2450): VFY: replacing opcode 0x6e at 0x0054
I/dalvikvm( 2450): Could not find method android.hardware.motion.MotionRecognitionManager.registerListenerEvent, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.registerMotionListener
W/dalvikvm( 2450): VFY: unable to resolve virtual method 487: Landroid/hardware/motion/MotionRecognitionManager;.registerListenerEvent (Landroid/hardware/motion/MRListener;I)V
D/dalvikvm( 2450): VFY: replacing opcode 0x6e at 0x000f
I/dalvikvm( 2450): Could not find method android.hardware.motion.MotionRecognitionManager.unregisterListener, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.unregisterMotionListener
W/dalvikvm( 2450): VFY: unable to resolve virtual method 489: Landroid/hardware/motion/MotionRecognitionManager;.unregisterListener (Landroid/hardware/motion/MRListener;)V
D/dalvikvm( 2450): VFY: replacing opcode 0x6e at 0x000d
I/dalvikvm( 2450): Could not find method android.hardware.motion.MotionRecognitionManager.setMotionAngle, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.onTouchEvent
W/dalvikvm( 2450): VFY: unable to resolve virtual method 488: Landroid/hardware/motion/MotionRecognitionManager;.setMotionAngle (Landroid/hardware/motion/MRListener;I)V
D/dalvikvm( 2450): VFY: replacing opcode 0x74 at 0x001e
I/dalvikvm( 2450): Could not find method com.sec.android.touchwiz.widget.TwAbsListView.getVelocityPolynomialType, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.onTouchEvent
W/dalvikvm( 2450): VFY: unable to resolve virtual method 5972: Lcom/sec/android/touchwiz/widget/TwAbsListView;.getVelocityPolynomialType ()I
D/dalvikvm( 2450): VFY: replacing opcode 0x74 at 0x0711
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
D/dalvikvm( 2450): DexOpt: unable to opt direct call 0x164e at 0x66 in Lcom/sec/android/touchwiz/widget/TwAbsListView;.<init>
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
D/dalvikvm( 2450): DexOpt: unable to opt direct call 0x164e at 0xd1 in Lcom/sec/android/touchwiz/widget/TwAbsListView;.<init>
D/AndroidRuntime( 2450): Shutting down VM
W/dalvikvm( 2450): threadid=1: thread exiting with uncaught exception (group=0x40a5c1f8)
E/AndroidRuntime( 2450): FATAL EXCEPTION: main
E/AndroidRuntime( 2450): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.clockpackage/com.sec.android.app.clockpackage.ClockPackage}: java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.clockpackage/com.sec.android.app.clockpackage.alarm.Alarm}: android.view.InflateException: Binary XML file line #15: Error inflating class com.sec.android.app.clockpackage.alarm.CustomListView
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2444)
E/AndroidRuntime( 2450): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2472)
E/AndroidRuntime( 2450): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1986)
E/AndroidRuntime( 2450): at android.app.ActivityThread.access$600(ActivityThread.java:123)
E/AndroidRuntime( 2450): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
E/AndroidRuntime( 2450): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2450): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2450): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 2450): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2450): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2450): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 2450): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 2450): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2450): Caused by: java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.clockpackage/com.sec.android.app.clockpackage.alarm.Alarm}: android.view.InflateException: Binary XML file line #15: Error inflating class com.sec.android.app.clockpackage.alarm.CustomListView
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2444)
E/AndroidRuntime( 2450): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:178)
E/AndroidRuntime( 2450): at android.app.LocalActivityManager.dispatchResume(LocalActivityManager.java:523)
E/AndroidRuntime( 2450): at android.app.ActivityGroup.onResume(ActivityGroup.java:61)
E/AndroidRuntime( 2450): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1154)
E/AndroidRuntime( 2450): at android.app.Activity.performResume(Activity.java:4539)
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2434)
E/AndroidRuntime( 2450): ... 12 more
E/AndroidRuntime( 2450): Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class com.sec.android.app.clockpackage.alarm.CustomListView
E/AndroidRuntime( 2450): at android.view.LayoutInflater.createView(LayoutInflater.java:606)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 2450): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:251)
E/AndroidRuntime( 2450): at android.app.Activity.setContentView(Activity.java:1835)
E/AndroidRuntime( 2450): at com.sec.android.app.clockpackage.alarm.Alarm.InitAlarmList(Alarm.java:240)
E/AndroidRuntime( 2450): at com.sec.android.app.clockpackage.alarm.Alarm.onResume(Alarm.java:738)
E/AndroidRuntime( 2450): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1154)
E/AndroidRuntime( 2450): at android.app.Activity.performResume(Activity.java:4539)
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2434)
E/AndroidRuntime( 2450): ... 18 more
E/AndroidRuntime( 2450): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2450): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2450): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.createView(LayoutInflater.java:586)
E/AndroidRuntime( 2450): ... 30 more
E/AndroidRuntime( 2450): Caused by: java.lang.NoClassDefFoundError: com.sec.android.touchwiz.widget.TwAbsListView$4
E/AndroidRuntime( 2450): at com.sec.android.touchwiz.widget.TwAbsListView.<init>(TwAbsListView.java:7436)
E/AndroidRuntime( 2450): at com.sec.android.touchwiz.widget.TwListView.<init>(TwListView.java:160)
E/AndroidRuntime( 2450): at com.sec.android.touchwiz.widget.TwListView.<init>(TwListView.java:156)
E/AndroidRuntime( 2450): at com.sec.android.app.clockpackage.alarm.CustomListView.<init>(CustomListView.java:26)
E/AndroidRuntime( 2450): ... 33 more
W/ActivityManager( 223): Force finishing activity com.sec.android.app.clockpackage/.ClockPackage
W/ActivityManager( 223): Activity pause timeout for ActivityRecord{41981430 com.sec.android.app.clockpackage/.ClockPackage}
I/ActivityManager( 223): No longer want com.android.vending (pid 2146): hidden #16
I/Process ( 2450): Sending signal. PID: 2450 SIG: 9
W/InputManagerService( 223): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 223): Process com.sec.android.app.clockpackage (pid 2450) has died.
if anyone has any ideas let me know...
I am also stuck on similar errors regarding android/hardware/motion/ classes that are missing (specifically MotionRecognitionManager). This is not part of the Android SDK and I can't actually find this class on the Internet.
I am trying to port a Samsung app (Music Player) to CM10.1 because it has SoundAlive equalizer and CM10.1 sound sucks on i9100.
Let me know if you find that class somewhere, even as part of a framework.

[REQUEST] Honeycomb Launcher

Hello world!
I was testing and messing everything with my old tablet (ViewSonic gTablet), I was running ICS on it and, I've pulled my old Honeycomb stock launcher of and older rom on it, put on system/apps and chaged permissions, voi'la! It was running amazingly fast and without bugs, i was surprised at first time so I've decided to try it on my Galaxy s3.
Put on SGS3 the history was diferent, I am on CM10.1 too, and when I pushed it to system/apps and changed its permissions, when I try to launch it via 'home' key, it gives me an error. It would not run, so I've decompiled it, but as a noobie user I can't identify the problem with it.
So I've uploaded the honeycomb stock launcher from my old tablet rom here, and maybe someone who understands it may help me!
A Brief explanation of why I like too much the honeycomb stock launcher:
Honeycomb Stock Launcher has a beautiful animation when you go to your Apps drawer or just try to add icons and widgets to your homescreen, the launcher fly around your wallpaper, and it is super smooth, like the newest JB launchers.
So, please, someone help me! =))
Also, if someone wants it, i've made a honeycomb clock (google sourcers), it is exactly the same as the stock.
==/ UPDATE \==
Here is the Android Manifest, maybe the problem is here, I would expect bugs with xmls res values, with orientation bugs of course, but it should've run first.
<?xml version="1.0" encoding="utf-8"?>
<manifest android:sharedUserId="@string/sharedUserId" android:versionCode="13" android:versionName="3.2-140714" package="com.android.launcher"
xmlns:android="http://schemas.android.com/apk/res/android">
<original-package android:name="com.android.honey" />
<permission android:label="@string/permlab_install_shortcut" android:name="com.android.launcher.permission.INSTALL_SHORTCUT" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_install_shortcut" />
<permission android:label="@string/permlab_uninstall_shortcut" android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_uninstall_shortcut" />
<permission android:label="@string/permlab_read_settings" android:name="com.android.launcher.permission.READ_SETTINGS" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_read_settings" />
<permission android:label="@string/permlab_write_settings" android:name="com.android.launcher.permission.WRITE_SETTINGS" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_write_settings" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="com.android.launcher2.LauncherApplication" androidrocess="@string/process" android:hardwareAccelerated="true" android:largeHeap="true" android:allowTaskReparenting="true" android:enabled="true">
<activity android:theme="@style/Theme" android:name="com.android.launcher2.Launcher" android:clearTaskOnLaunch="true" android:stateNotNeeded="true" android:launchMode="singleTask" android:windowSoftInputMode="adjustNothing">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MONKEY" />
</intent-filter>
</activity>
<activity android:theme="@style/Theme.WallpaperPicker" android:label="@string/pick_wallpaper" android:icon="@drawable/ic_launcher_wallpaper" android:name="com.android.launcher2.WallpaperChooser" android:finishOnCloseSystemDialogs="true" style="@style/config_orientation">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="android.wallpaper.preview" android:resource="@xml/wallpaper_picker_preview" />
</activity>
<receiver android:name="com.android.launcher2.InstallShortcutReceiver" androidermission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<receiver android:name="com.android.launcher2.UninstallShortcutReceiver" androidermission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<provider android:name="com.android.launcher2.LauncherProvider" android:readPermission="com.android.launcher.permission.READ_SETTINGS" android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" android:authorities="com.android.launcher2.settings" />
</application>
</manifest>
Click to expand...
Click to collapse
No luck for me? (and for another users who will install it if they could)
='(
Android honeycomb was the best android
Sent from my GT-I9300 using xda app-developers app
Possible to port so you don't need to push to system/app?
Sent from my super rare, old Scroll Excel running Android 2.3 using the offical app.
DOES DAT APP RUN ON DEVICES SSTILL ROCKIN 2.3?

(Guide)How to add Fab In your app (2.3+)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi friends . today i am going to share my new guide .How to add fab button in your application. I already saw that many developers able to do this by editing Pngs in Photoshop or gimps etc. but that take time and much experience too so here i am going to help you in xml for creating fab Drawable.
So let Start.
Decompile that application in which you want to add fab Button.
Now we need to create a fab button drawable
just create new xml name it fab_ic_add_btn.xml
then put this code in it.
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<layer-list>
<!-- Shadow -->
<item android:top="1dp" android:right="1dp">
<layer-list>
<item>
<shape android:shape="oval">
<solid android:color="#08000000"/>
<padding
android:bottom="3px"
android:left="3px"
android:right="3px"
android:top="3px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#09000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#10000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#11000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#12000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#13000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#14000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#15000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#16000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
</layer-list>
</item>
[COLOR=RoyalBlue] <!-- Blue button pressed -->[/COLOR]
<item>
<shape android:shape="oval">
<solid android:color="#90CAF9"/>
</shape>
</item>
</layer-list>
</item>
<item android:state_enabled="true">
<layer-list>
<!-- Shadow -->
<item android:top="2dp" android:right="1dp">
<layer-list>
<item>
<shape android:shape="oval">
<solid android:color="#08000000"/>
<padding
android:bottom="4px"
android:left="4px"
android:right="4px"
android:top="4px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#09000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#10000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#11000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#12000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#13000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#14000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#15000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#16000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
</layer-list>
</item>
[COLOR=DeepSkyBlue] <!-- Blue button -->[/COLOR]
<item>
<shape android:shape="oval">
<solid android:color="#03A9F4"/>
</shape>
</item>
</layer-list>
</item>
</selector>
Now You will have to download the icons which will be displayed on fab. You can download Plus Icons FAB from this link. Fab_icon_res.zip
Copy these icons into your drawable files.
Now we want to place this Fab button in our layout.
Place the FAB in a FrameLayout and add your layouts above the FAB view. For best results, keep the FAB height and width at 72dp and in the bottom right of the FrameLayout.
Code:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!--
Your layouts here. Do not put anything below the FAB layout
-->
<com.Droidbuster.materialfab.fab_btn
android:id="@+id/fabbutton"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="bottom|right"
android:layout_marginBottom="16dp"
android:background="@drawable/fab_ic_add_btn"
android:src="@drawable/fab_ic_add"
android:layout_marginRight="16dp" />
</FrameLayout>
Now i will demonstrate how to add target in our fab button. so that our smali editing part . haha ! dont worry its simple. its just like adding shortcut of any activity .
so now download this zip. then extract this Fab_smali.zip. Copy all smali to your \smali\com folder
Now go to com\Droidbuster\materialfab folder Now open fab_btn$1.smali with Notepad++
Search for <!-- android:targetPackage --> Now change this your desired target package name.dont know what is this? targetPackage Name? I will explain in another post .haha!
and Now Search for <!-- android:targetClass --> Change this code to your desired target Class Name.
For example here is my my Targetpackage Name and targetClass name
Code:
android:targetPackage="com.android.mms"
android:targetClass="com.android.mms.ui.Conversati onList
Now every thing done. compile your apk now push to your system.so now you can see your working fab button in Frame layout :fingers-crossed:
I am here attaching my source of app where i added fab button so you can get pngs and example of layouts.:fingers-crossed:
I want to make my work aosp so i will upload my codes to Github:highfive:​
​
​
Developers Behinds this fab
Awesome job
great guide
awesome..:good:
welcome
veneetsingh said:
awesome..:good:
Click to expand...
Click to collapse
thanks Now i need sugestion what should i need to add.so i can work hard to it too
welcome
pritish sahoo said:
great guide
Click to expand...
Click to collapse
pritish sahoo i saw you adding fAB BY USING pngs now i made work easy for all haha
Droidbuster said:
thanks Now i need sugestion what should i need to add.so i can work hard to it too
Click to expand...
Click to collapse
My point is that you should make Search botton on ActionBar..
great idea to think
veneetsingh said:
My point is that you should make Search botton on ActionBar..[/QU
haha bro let see it will related to fab menu
Click to expand...
Click to collapse
Ohh ok
Sent from my Karbonn A1+ Duple using XDA Free mobile app
@Droidbuster hi sir.. i put this in my SystemUI.. i want to collape my systemUI/expanded, what code should i add? thanks for the guide
layout work
Punkzappa09 said:
@Droidbuster hi sir.. i put this in my SystemUI.. i want to collape my systemUI/expanded, what code should i add? thanks for the guide
Click to expand...
Click to collapse
sir you need to work with layout only . just give me example or layout of your work where you want to add fab button so i will help to put it :fingers-crossed:
@Droidbuster here are my screenshot sir and layout.. tnx for helping out
Droidbuster said:
Hi friends . today i am going to share my new guide .How to add fab button in your application. I already saw that many developers able to do this by editing Pngs in Photoshop or gimps etc. but that take time and much experience too so here i am going to help you in xml for creating fab Drawable.
So let Start.
Decompile that application in which you want to add fab Button.
Now we need to create a fab button drawable
just create new xml name it fab_ic_add_btn.xml
then put this code in it.
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<layer-list>
<!-- Shadow -->
<item android:top="1dp" android:right="1dp">
<layer-list>
<item>
<shape android:shape="oval">
<solid android:color="#08000000"/>
<padding
android:bottom="3px"
android:left="3px"
android:right="3px"
android:top="3px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#09000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#10000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#11000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#12000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#13000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#14000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#15000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#16000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
</layer-list>
</item>
[COLOR=RoyalBlue] <!-- Blue button pressed -->[/COLOR]
<item>
<shape android:shape="oval">
<solid android:color="#90CAF9"/>
</shape>
</item>
</layer-list>
</item>
<item android:state_enabled="true">
<layer-list>
<!-- Shadow -->
<item android:top="2dp" android:right="1dp">
<layer-list>
<item>
<shape android:shape="oval">
<solid android:color="#08000000"/>
<padding
android:bottom="4px"
android:left="4px"
android:right="4px"
android:top="4px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#09000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#10000000"/>
<padding
android:bottom="2px"
android:left="2px"
android:right="2px"
android:top="2px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#11000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#12000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#13000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#14000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#15000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#16000000"/>
<padding
android:bottom="1px"
android:left="1px"
android:right="1px"
android:top="1px"
/>
</shape>
</item>
</layer-list>
</item>
[COLOR=DeepSkyBlue] <!-- Blue button -->[/COLOR]
<item>
<shape android:shape="oval">
<solid android:color="#03A9F4"/>
</shape>
</item>
</layer-list>
</item>
</selector>
Now You will have to download the icons which will be displayed on fab. You can download Plus Icons FAB from this link. Fab_icon_res.zip
Copy these icons into your drawable files.
Now we want to place this Fab button in our layout.
Place the FAB in a FrameLayout and add your layouts above the FAB view. For best results, keep the FAB height and width at 72dp and in the bottom right of the FrameLayout.
Code:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!--
Your layouts here. Do not put anything below the FAB layout
-->
<com.Droidbuster.materialfab.fab_btn
android:id="@+id/fabbutton"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="bottom|right"
android:layout_marginBottom="16dp"
android:background= [user=299966]@dr[/user]awable/fab_ic_add_btn"
android:src= [user=299966]@dr[/user]awable/fab_ic_add"
android:layout_marginRight="16dp" />
</FrameLayout>
Now i will demonstrate how to add target in our fab button. so that our smali editing part . haha ! dont worry its simple. its just like adding shortcut of any activity .
so now download this zip. then extract this Fab_smali.zip. Copy all smali to your \smali\com folder
Now go to com\Droidbuster\materialfab folder Now open fab_btn$1.smali with Notepad++
Search for <!-- android:targetPackage --> Now change this your desired target package name.dont know what is this? targetPackage Name? I will explain in another post .haha!
and Now Search for <!-- android:targetClass --> Change this code to your desired target Class Name.
For example here is my my Targetpackage Name and targetClass name
Code:
android:targetPackage="com.android.mms"
android:targetClass="com.android.mms.ui.Conversati onList
Now every thing done. compile your apk now push to your system.so now you can see your working fab button in Frame layout :fingers-crossed:
I am here attaching my source of app where i added fab button so you can get pngs and example of layouts.:fingers-crossed:
I want to make my work aosp so i will upload my codes to Github:highfive:​
​
​
Click to expand...
Click to collapse
@ Droidbuster Thank you for this tutorial is very undrastable can tell me or how to add 3 more small button with fab like new chat | Brodcast |or New gruops
sorry for my bad english
submenu fab
i_4_u89 said:
@ Droidbuster Thank you for this tutorial is very undrastable can tell me or how to add 3 more small button with fab like new chat | Brodcast |or New gruops
sorry for my bad english
Click to expand...
Click to collapse
i got it bro
i making guide for it
Yeah. Funaly added fab , thanks to you
Sent from my GT-S6102 using Tapatalk 2
welcome
thotupala said:
Yeah. Funaly added fab , thanks to you
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
welcome
The link is dead…
Sorry for my bad English.
来自华为荣耀畅玩4C CHM-TL00H -天生急性子 Android 小楼阁

LG Game Pad on Surface Duo

I was able to get a hold of the LG Game Pad apk but I'm unable to get it to install so I wanted to put it here if anyone wants to take a crack at getting it installed.
Game Pad APK:
https://drive.google.com/file/d/1H0hpGShg43uH5ORicvqbYE815R_LCy9d/view?usp=sharing
or here is the full LG Velvet Apps backup (2.5gb):
https://drive.google.com/file/d/10gwZ3CKxyqckgoo2FN4oB8IW1LAQGKme/view?usp=sharing
The install error I am seeing is
[INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Reconciliation failed...: Package com.lge.gamepad has no signatures that match those in shared user android.uid.system; ignoring!]
I installed apktool and decoded the app. I assume something needs to changed in the manifest file, but I googled around a bit and I'm out of my depth. For anyone else looking at this thread, here is the manifest.xml:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" package="com.lge.gamepad">
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" android:protectionLevel="development|privileged|signature"/>
<meta-data android:name="android.allow_multiple_resumed_activities" android:value="true"/>
<application android:allowBackup="false" android:appComponentFactory="android.support.v4.app.CoreComponentFactory" android:icon="@drawable/lg_iconframe_game" android:label="@string/lg_game_pad" android:maxAspectRatio="2.4" android:resizeableActivity="false" android:supportsRtl="true" android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen">
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.lge.gamepad.GamePadActivity" android:theme="@style/GamePadTheme">
<intent-filter>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="com.lge.gamepad"/>
</intent-filter>
</activity>
<meta-data android:name="com.lge.app.forceHideImmersiveConfirm" android:value="true"/>
<meta-data android:name="com.lge.special_display" android:value="true"/>
<service android:exported="true" android:name="com.lge.gamepad.GamePadService">
<intent-filter>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD"/>
<action android:name="com.lge.gamepad.intent.action.END_GAMEPAD"/>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD_SERVICE_ONLY"/>
<category android:name="android.intent.category.MONKEY"/>
</intent-filter>
</service>
<provider android:authorities="com.lge.provider.gamepad" android:exported="false" android:name="com.lge.gamepad.database.GamePadProvider"/>
<activity android:configChanges="orientation" android:excludeFromRecents="true" android:exported="false" android:launchMode="singleTop" android:name="com.lge.gamepad.EditorSubActivity" android:taskAffinity="com.lge.gamepad.sub" android:theme="@style/Theme.AppCompat.Light.NoActionBar.Translucent"/>
</application>
</manifest>
Can't wait to see a fully ported version
I am no expert but I would start by changing these two lines:
<meta-data android:name="com.lge.app.forceHideImmersiveConfirm" android:value="true"/>
<meta-data android:name="com.lge.special_display" android:value="true"/>
Maybe try false on both see if that works.
Did anyone get this to work?
Hello any news about?

Categories

Resources