[GUIDE]How to Animate PNGS - Galaxy Y GT-S5360 General

THIS IS A SAMPLE ANIMATION:
https://www.youtube.com/watch?v=nCBdxxLtgCg&feature=youtu.be
I cannot provide the pngs I used on that animation because I mod it long time ago. I already lost the files.
Click to expand...
Click to collapse
STEPS:
1.) Download animate.zip. Extract and put animate.xml in drawable folder.
2.) Create png/images that will be animated, (like bootanim, .gif)
3.) Put in drawable-ldpi. (or mdpi, hdpi, depends on your device)
4.) Open animate.xml
5.) Duplicate and edit the lines depending on how many pngs will you animate.
Code:
<item android:duration="1000" android:drawable= [user=3944923]@drawab[/user]le/YourSamplePng1" />
<item android:duration="1000" android:drawable= [user=3944923]@drawab[/user]le/YourSamplePng2" />
<item android:duration="1000" android:drawable= [user=3944923]@drawab[/user]le/YourSamplePng3" />
(NOTE: YourSamplePng must be the name of your png that you will animate.)
(PS: As you can see inside animate.xml, there's android: oneshot="false". )
false = infinitely show the png you list/looping.
true = show the png you list and will end on the bottom/last <item png you list.
PPS: 1000 duration = 1 second. (1000 milliseconds)
6.) Save.
7.) How to use? go to ImageView or android:background lines and put the @drawable/animate.
CREDITS:
Sniper Killer
Macmoon
Lenox devs
Potato Inc
Click to expand...
Click to collapse

Nice one sir !

Interesting
Reserved.

tentenponce said:
Nice one sir !
Click to expand...
Click to collapse
Thanks sir

Charging battery lockscreen
Great work..
This can be done on charging battery icon on lockscreen??

M47H!AS said:
Great work..
This can be done on charging battery icon on lockscreen??
Click to expand...
Click to collapse
You can try sir. :good:

Related

Q: how to change the settings.apk background color

Hi
I I want to change the background color of the settings .apk because I don't like the ugly white color
Any idea
sharjackmission said:
Hi
I I want to change the background color of the settings .apk because I don't like the ugly white color
Any idea
Click to expand...
Click to collapse
You can’t do it on a stock unrooted phone. You need to install a custom ROM and then replace some of the system files with modified ones. I have seen a mod to make it look like AOSP for (ARHD, ViperX and other custom sense ROMs).
sharjackmission said:
Hi
I I want to change the background color of the settings .apk because I don't like the ugly white color
Any idea
Click to expand...
Click to collapse
Default [TUTORIAL] How to change Android's black background
If you ever get bored with the black background in Android, now you can change it by making a few small edits to framework-res.apk/res/values/styles.xml
This will affect MOST of the black background you see in Android (e.g. settings, contacts, mms, installer etc.) with the exception of certain apps that use their on backgrounds (e.g. contacts logs, email etc.).
Difficulty level: Medium
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>
9. Create a 480x800 png to your liking, name it mybackground.png and place it in drawable-hdpi folder
9. Recompile framework-res.apk
DONE!
Always create a backup before making any modifications!!!
if i helped you please click thanks!!!
the link is here:http://forum.xda-developers.com/showthread.php?t=1343484

[GUIDE] [Advanced] How to make an IconPack for Samsung Touchwiz [JellyBean]

Hi
I found the simple way to change the icons and names of applications on Samsung's TouchWiz UI.
you need to know about how to edit an apk and also how to find the application's package and activity names.
0-Download my attached file.
1-Decompile CSCAppResource.apk
2-add all your favorite icons to drawable folder.
2a= if you want to change the application's name too, check this post! [updated 1st august 2013 ]
3-Compile and Sign it.
already , you have CSCAppResource.apk with all icons , you added from above steps.
now , you need to decompile your edited CSCAppResource.apk file, after decompiling, goto Values folder and open the public.xml file vith Notepad++.
now you will find it like this one,, this is an example;
PHP:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="drawable" name="amestris_test" id="0x7f020000" />
</resources>
------------------------------------------------------
4-now create a xml file and paste below lines into it.
PHP:
<?xml version="1.0"?>
<cscappresource>
</cscappresource>
save it with CSCAppResource.xml file name.
------------------------------------------------------
5-now we want to add Icon for specific application. for example we want to change the icon for Browser.
the Browser application activity name is " com.android.browser ".
now we will define the Icon for Browser activity. see below example.
back to "CSCAppResource.xml" file and add this line between cscappresource tag.
PHP:
<item name="com.android.browser" iconid="7f020000"/>
at final we have the "CSCAppResource.xml " like this one.
PHP:
<?xml version="1.0"?>
<cscappresource>
<item name="com.android.browser" iconid="7f020000"/>
</cscappresource>
--------------------------------------------
save the file and copy CSCAppResource.xml and CSCAppResource.apk to this folder:
Code:
/system/csc/appresource
** you need to create "appresource" folder, if not exists.
give permissions to folder and files then reboot your phone.
i will share some samples in post #two.
Best Regards.
original thread
http://www.pda-planet.com/forum/forum127/thread5929.html
CUSTOM ICON PACKS
1-Sence5 Icon Pack by wildstang83​--------------------------------------------------------
How to apply this iconpack from custom recovery mod? [CWM Update.zip file]
Download the attached file "IconPack_Sample_CWM.zip"
Extract it via WinRar or 7Zip, copy your edited files into " \system\csc\appresource" folder and zip it.
now you can install it from recovery.
it is compatible with all phones.
**custom recovery is need.
​--------------------------------------------------------
Icon Pack Convertor by LegendM
Click to view the post
​--------------------------------------------------------
This is an sample:
PHP:
<?xml version="1.0"?>
<cscappresource>
<item name="com.android.browser" iconid="7f020012"/>
<item name="com.android.settings" iconid="7f02004f" />
<item name="com.android.phone" iconid="7f020046" />
<item name="com.android.mms" iconid="7f02003a" />
<item name="com.android.email" iconid="7f02001d" />
<item name="com.android.providers.downloads.ui" iconid="7f02001c" />
<item name="com.android.provider.smemo" iconid="7f020045" />
<item name="com.sec.android.widgetapp.diotek.smemo" iconid="7f020045" />
<item name="com.android.contacts" iconid="7f020018" />
<item name="com.android.contacts.activities.DialtactsActivity" iconid="7f020046" />
<item name="com.android.contacts.activities.PeopleActivity" iconid="7f020018" />
<item name="com.sec.android.app.dialertab.calllog.CalllogTipsActivity" iconid="7f020034" />
<item name="com.sec.android.app.camera" iconid="7f02000f" />
<item name="com.sec.android.app.camera.Camera" iconid="7f02000f" />
<item name="com.sec.android.gallery3d" iconid="7f020024" />
<item name="com.sec.android.app.launcher" iconid="7f020003" />
<item name="com.sec.android.app.controlpanel" iconid="7f02002e" />
<item name="com.sec.android.app.videoplayer" iconid="7f02005d" />
<item name="com.sec.android.app.voicerecorder" iconid="7f020061" />
<item name="com.sec.android.app.music" iconid="7f02003f" />
<item name="com.sec.android.app.myfiles" iconid="7f02001f" />
<item name="com.sec.android.app.fm" iconid="7f020021" />
<item name="com.sec.android.app.popupcalculator" iconid="7f020008" />
<item name="com.sec.android.app.clockpackage" iconid="7f020015" />
<item name="com.android.vending.AssetBrowserActivity" iconid="7f02004a" />
<item name="com.android.vending" iconid="7f02004a" />
<item name="com.google.android.finsky.widget.recommendation.RecommendedWidgetProvider" iconid="7f02004a" />
<item name="com.google.android.finsky.FinskyApp" iconid="7f02004a" />
<item name="com.android.vending.MarketWidgetProvider" iconid="7f02004a" />
<item name="com.google.android.finsky.widget.consumption.NowPlayingWidgetProvider" iconid="7f02004a" />
<item name="com.opera.mini.android" iconid="7f020043" />
<item name="com.noshufou.android.su" />
<item name="com.sds.android.ttpod" iconid="7f020059" />
<item name="net.cactii.flash2" iconid="7f020020" />
<item name="com.android.calendar.launchactivity" iconid="7f02000b" />
<item name="com.android.calendar.LaunchActivity" iconid="7f02000b" />
</cscappresource>
I have a couple of quick questions first though. Does it matter what the icons are named? Like ic_launcher.png, etc...
Also, I see where you say place both the .apk and the .xml into /system/csc/appresource, but I don't have an appresource folder on my Note II. What should I do?
Looks interesting, can't wait to try it out after your reply
wildstang83 said:
I have a couple of quick questions first though. Does it matter what the icons are named? Like ic_launcher.png, etc...
Also, I see where you say place both the .apk and the .xml into /system/csc/appresource, but I don't have an appresource folder on my Note II. What should I do?
Looks interesting, can't wait to try it out after your reply
Click to expand...
Click to collapse
1- it doesn't matter about the names, you just link the icon's ID from public.xml to activity. also you can see the example from second post.
2-you need to create appresource folder manually, it doesn't exists on any firmware.
M_J_Nazari said:
1- it doesn't matter about the names, you just link the icon's ID from public.xml to activity. also you can see the example from second post.
2- if not exists , then create appresource folder manually.
Click to expand...
Click to collapse
Appreciate that. Gonna try it out right now :good:
wildstang83 said:
Appreciate that. Gonna try it out right now :good:
Click to expand...
Click to collapse
you're welcome , you can test the sample from second post.
M_J_Nazari said:
you're welcome , you can test the sample from second post.
Click to expand...
Click to collapse
Yea thats what I am doing, just having a look at how you did it and everything. It works btw. You did a good job with this bud.
EDIT: I have the VZW Samsung Galaxy Note II i605 and it works perfectly.
Trust me I'm searching for this long time
I try create an small windows app that read apex ,go launcher icons and convert them to touchwiz
wildstang83 said:
Yea thats what I am doing, just having a look at how you did it and everything. It works btw. You did a good job with this bud.
EDIT: I have the VZW Samsung Galaxy Note II i605 and it works perfectly.
Click to expand...
Click to collapse
:good: its my pleasure.
LegendM said:
Trust me I'm searching for this long time
I try create an small app that read apex ,go launcher icons and convert them to touchwiz
Click to expand...
Click to collapse
I'll hope you find it perfect.
we are waiting for your job.
i searching a long time for this method and finally find this way is working. it seems an hidden Touchwiz feature.
Edit:Here you go small tool ( may be buggy,report bugs via pm)
LegendM said:
Ok,I made a small app,It extract apk files
Read from xml file and create new one
Now main problem is how can I sign zip?
Click to expand...
Click to collapse
how you edit apk file?
How to setup APKTool & Decompile, Recomile, Sign, and Zipalign APKs
[Guide] [Apktool] [Drag2sign] guide for decompiling apks to edit xml files & sign apk
[GUIDE] Signing and zipaligning your app
LegendM said:
Ok,I made a small app,It extract apk files
Read from xml file and create new one
Now main problem is how can I sign zip?
Click to expand...
Click to collapse
Basically you will need to create a key to sign the apk with. Assuming you have the android sdk and the JDK installed and in your path, you need to open terminal and run a command to create a key:
Code:
keytool -genkey -v -keystore android-test.keystore
Now that that is created you need to create a directory in which to sign your apk. I created mine on my desktop and called it sign_apk. So then I moved my key to that sign_apk folder on my desktop, along with my unsigned apk. After that you need to run another terminal command to sign the apk:
Code:
cd [path to sign_apk]
jarsigner -verbose -keystore android-test.keystore CSCAppResource.apk mykey
It will ask for the password you used while you were setting up your key. After you enter your password, it will sign the apk and all will be good.
Keep in mind, I am an OSX user so certainly not all things may be the same for all users, but this should get you closer at least
wildstang83 said:
Basically you will need to create a key to sign the apk with. Assuming you have the android sdk and the JDK installed and in your path, you need to open terminal and run a command to create a key:
Code:
keytool -genkey -v -keystore android-test.keystore
Now that that is created you need to create a directory in which to sign your apk. I created mine on my desktop and called it sign_apk. So then I moved my key to that sign_apk folder on my desktop, along with my unsigned apk. After that you need to run another terminal command to sign the apk:
Code:
cd [path to sign_apk]
jarsigner -verbose -keystore android-test.keystore CSCAppResource.apk mykey
It will ask for the password you used while you were setting up your key. After you enter your password, it will sign the apk and all will be good.
Keep in mind, I am an OSX user so certainly not all things may be the same for all users, but this should get you closer at least
Click to expand...
Click to collapse
Check my post and report bugs please :laugh:
I skip sign zip,people can do that manually,it just create xml file
LegendM said:
Edit:Here you go small tool ( may be buggy,report bugs via pm)
Click to expand...
Click to collapse
could you please explain it better?
it will convert icon packs from another Launchers to Touchwiz?
:good::good::good::good::good: yaaaay amazing guide bro
Got my Note ll looking like Sense 5
M_J_Nazari said:
could you please explain it better?
it will convert icon packs from another Launchers to Touchwiz?
Click to expand...
Click to collapse
Yep
You have to read other launcher apk file
It automaticly read xml file and create new one for touchwiz
Also you can find extracted apk file in my documents/touchwiz icon converter folder
LegendM said:
Yep
You have to read other launcher apk file
It automaticly read xml file and create new one for touchwiz
Also you can find extracted apk file in my documents/touchwiz icon converter folder
Click to expand...
Click to collapse
its an amazing tool :X:good:
Good,
Work perfec in s3mini
Sent from my GT-I8190 using Xparent Blue Tapatalk 2
this is the easiest apk decompiler i know as of now
http://www.youtube.com/watch?v=5-u0UI9LsrY

{Guide} How to change black background of all Android apps

How to change black background for all apps​
Hope you must have got boared of your default Black Android Backgrounds of almost all system application UIs. And If you really fed up of it...then let's change it by making a few small edits to framework-res.apk/res/values/styles.xml
This gonna affect MOST of the Black Background you see in Android (e.g. Settings, Contacts, Mms, Installer etc.)
It would be with the exception of certain apps that use their own backgrounds...!! so all newbies get ready to theme your own apps..
Click to expand...
Click to collapse
Difficulty Level : Medium
HOW TO DO IT
# just follow simple instruction..!!
Click to expand...
Click to collapse
1. Decompile framework-res.apk
[and please Dont ask me How to Decompile & Recompile an APK find a separate post on the same]
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
Code:
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark<item>
with
Code:
<item name="windowBackground">@drawable/mybackground</item>
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
Code:
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
Code:
<item name="windowBackground">@drawable/mybackground</item>
9. For MDPI Devices:Create a .png with resolution 320x480 as you like, rename it as mybackground.png and place it in drawable-mdpi folder
For HDPI Devices:Create a .png with resolution 480x800 as you like, rename it as mybackground.png and place it in drawable-mdpi folder
10. Recompile framework-res.apk and Push it using Adb or using some Flashable Zip.
Note:-
Always create a backup of your Application and ROM before Making any modifications!!!
Click to expand...
Click to collapse
Hit thanks to Motivate me​

[guide]How to add wifi and bluetooth toggles buttons in Settings like ics/jb

How to add wifi and bluetooth toggles button in Settings like ics
Click to expand...
Click to collapse
Tool you need:​1:apktool(apkmanager etc)
2:smali code and xml(look attached file)
3:notepad++
4:brain most important
Note:I am not gona teach you how to compile and decompile apk do it yourself And i am not gona responsible for any thing bad happened.
>>first Step:
Pull settings.apk from your phone and decompile it.
>>second Step:
download the attach file and open it there you will see res folder and smali folder now copy them and paste in your decompile settings apk folder.
>>Third Step:
now open id.xml (present in values folder of settings apk)
and add this lines in end just above this</resources>
Code:
<item type="id" name="toggle2">false</item>
<item type="id" name="toggle">false</item>
>>Forth Step:
compile the apk and sign it...now decompile new settings.apk
>>Fifth Step:
open public.xml file in notepad++ then goto smali/com/ion/settings/ and open the BTPreferencesScreen.smali and SwitchPreferenecScreen.smali notepad++.
firsts let play with BTPreferencesScreen.smali
now serach for this hexs value
Code:
"0x7f030056"--------and replace it with type="layout" name="preference_bt" ids value(hex value)
"0x7f0b0016"--------and replace it with type="id" name="icon" ids value(hex value)
"0x7f0b012e"--------and replace it with type="id" name="toggle2" ids value(hex value)
save,done and close...
now time to play with switchPreferenecScreen.smali
now serach for this hexs value
Code:
"0x7f030057"--------and replace it with type="layout" name="preference_switch" ids value(hex value)
"0x7f0b012f"--------and replace it with type="id" name="toggle" ids value(hex value)
Note:"0x7f0b012f" are use three times in smali code so replace it with type="id" name="toggle" ids three time at there respective place.
"0x7f0b0016"--------and replace it with type="id" name="icon" ids value(hex value)
>>Sixth Step:
Now open Settings.xmlin notepad++
now add this code in the <PreferenceScreen .....xxxx.... />
now add these two codes also where you want to place this codes this responsible for display wifi and bluetooth toggles button and string in settings menu
Code:
<com.ion.setting.SwitchPreferenceScreen android:title="wifi" android:key="wifi" />
<com.ion.setting.BTPreferenceScreen android:title="Bluetooth" android:key="btswitch" />
like this....just like i do and save the file
>>Seventh Step:
compile apk,sign it and push it on your phone and enjoy....
Screenshots:-
SETTINGS with ics toogle buttons:-
SETTINGS with ANDROID L toogle buttons :-
SETTINGS with kk/jb/twz style toogle button:-
Final SS?
samsoul16 said:
Final SS?
Click to expand...
Click to collapse
ss added sir...
if u want jb/kk/android l like toogle button u can replace :- switchon and switchoff png at drawable mdpi folder....
here is the whole tut for making ics settings for all gb devices
nice guide @OP
great guide
Superb guide...
i will also make my settings like "android L".... :highfive:

[GUIDE] [MOD] [LP/MM] [UPDATE :- 27.04.2016] How To Add Power Button To Lock Screen

Hello friends
Here is my latest simple tutorial for adding a power button in lock screen. With this you can acces ur power menu through Lock Screen.. Here you go ...
Things Needed :-
Latest Apktool
Notepad ++
PC
Deodexed SystemUI ( LP/MM )
Decompile SystemUI.apk
1) Go to res / values / ids.xml and add this line to last
<item type="id" name="lock">false</item>
Click to expand...
Click to collapse
Save it and close
2) Go to res / values / string.xml and add this line to last
<string name="accessibility_lock">Lock</string>
Click to expand...
Click to collapse
Save it and close
3) Go to res / layout / keyguard_bottom_area.xml and add this line before the last line
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="bottom|center" android:id="@id/lock" android:layout_width="@dimen/keyguard_affordance_width" android:layout_height="@dimen/keyguard_affordance_height" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" android:tint="#ffffffff" android:contentDescription="@string/accessibility_lock" systemui:keyCode="26" />
Click to expand...
Click to collapse
So it should be like this
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="bottom|center" android:id="@id/lock" android:layout_width="@dimen/keyguard_affordance_width" android:layout_height="@dimen/keyguard_affordance_height" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" android:tint="#ffffffff" android:contentDescription="@string/accessibility_lock" systemui:keyCode="26" />
</com.android.systemui.statusbar.phone.KeyguardBottomAreaView>
Click to expand...
Click to collapse
Save it and close
4) Move the attached png to res / drawable-hdpi-v4 or drawable-hdpi ( HERE )
Thats it. Done..
Recompile SystemUI and replace it by yours and enjoy...
No screen.??
johnsamte said:
No screen.??
Click to expand...
Click to collapse
Here u go. U can reduce the size of the png if u want...
Thank you. Do you know how to add power button menu to navi bar ?
devilmaycry2020 said:
Thank you. Do you know how to add power button menu to navi bar ?
Click to expand...
Click to collapse
There is one guide my friend.. U can get mine or spuri78..

Categories

Resources