Originally Posted by poria1999
If you take look at Themes fourm you Can see a lot of sttings applications that sets values(colors,sizes and etc) to Some apps(like status bar)...
I want know how To get values from on app and set them to other app.
I tried decompiling apps and look trough them but i couldn't get any thing Cuz Im not good in smali at all
If anyone Can help me with java code i will be Thankful to.
And of course I would give him Credit In my mods.
Sorry for this but your SystemUI (thats really Awesome
) is just what i mean.
Can you help me?
Sent from my LT18i using Tapatalk 2
The answer is: BroadcastReceiver
With Xposed Framework life became easier, and to implement it inside apps is a piece of cake!! But if you want to do the same without Xposed, you need to go into "smali bowels"!
You mentioned my SystemUI mods with external settings app. How did I managed to make this scenario work? BroadcastReceiver once again!
1th - I've registered a custom BroadcastReceiver inside PhoneStatusBar.smali in which receives known intents from my external settings app!
2th - After intent received and filtered, the right job is done!
I don´t know if this short explanation will help you as you want, but that´s the concept!! I can provide you java and smali examples (for both, java and eclipse skills are necessary)!!
I have paced these forests for so long
I don`t know, if I am a man or I am beast
I though hold deep within me, a quest for revenge
Then I must be a man as much as I can be
I have learned to speak the tongue of animal
I have learned to read the signs in bark and snow
I have taken within myself the spirits of my fathers long time gone
In this short time, far from home
A man of iron I`ve grown...
...A man of iron I have grown
(Hail Quorthon... RIP)
If you like my work and consider me worthy, consider DONATE
me too. Thanks in advance!