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. @serajr
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)!!