Adding Swipe to Remove Notification - JUST A SHARE! DEVS HAVE A LOOK - Galaxy 3 Themes and Apps

Hello Guys,
I was just browsing through Forums and found THIS USEFUL THING!!
This is a guide to enable Swipe to Remove Notification as in CM7 and ICS. I tried this. I successfully was able to compile the twframework-res.apk with the mods for systemui.apk but then I couldn't find the smali and I don't have much time. So I am sharing the link. Any Dev if you can give your time in this would be awesome. It can work for, if no one does this I will port it after my exams
twframework-res.apk did compile but then these stupid smali codes I don't know where to browse and I gotta study so cant decompile all JARs. I am sure this can work on g3. Just need little diffn mods for xml and smali as from guide.
Now Study Time

PPPS --I take no credit for it.
ALL CREDITS TO hansip87! DO THANK HIM..

k then m gonna try this out......hope i get success

Related

[Q] How to compile .apk?

I'm a graphic designer and I'd love to start making themes for the SGS2 but I don't know how to create the APKs, specifically, the SystemUI.apk. I've read up about it but haven't found anything helpful.
Could someone write a guide on how to do it or give me a link to one?
Could i recomend looking at VRTheme, see this post and this post, this way you dont have to build apks in the traditional sense.
You will want apktool to decompile apks, then edit, then use it again to recompile.

[Q]Tutorial on how to make CM10 theme?

I know to to make a theme, but was wondering how to make use of the theme chooser in CM10. It looks like I need to build an apk but I haven't found any guides on how to go about that. Any pointers?
Try the easy way while you wait for help
Well I've been building a theme for months and there's the easy way and the impossible way, one is to extract a template theme or any theme for that matter and replace all the images with your own as long as you don't touch the .9s and use the apk multi tool (googleable) to extract optimise and sign it for you. Thats the easy way
The other is to decompile which lets you edit XML files and .9s but I haven't managed to get that to work and no amount of internet can help me. Which means no changing the name of the theme and no uploading to the market. Which is what I planned to do. But give the easy way a go if you just want it for yourself and friends etc.
I had also posted another question here on the forums trying to figure out why I couldn't theme MMS.apk and Phone.apk; one_love_420 was kind enough to respond and mentioned the same thing you did, which is to utilize theme chooser. So that is what I ended up doing. I found a template for CM10 theme chooser and added in some lines so I could also theme MMS.
one_love_420 also provided me a link to this forum post, which helps with learning how to modify the xml files and personalize the theme.
http://forum.xda-developers.com/showthread.php?p=11545308
I have actually edited .9.png files before, with my old Samsung Moment. granted that was on Android 2.2 but still applies right?
Personally I preferred to use Draw9Patch and xUltimate (http://forum.xda-developers.com/showthread.php?t=700904) and Photoshop.
Here are some guides that I have looked at previously:
http://forum.xda-developers.com/showthread.php?t=605662
http://forum.xda-developers.com/showthread.php?t=1638978
Thank you for your response SimBol10! Also, let me know if you have any questions about .9.png editing and I'll try to return the favor!

decompile SystemUI.apk

Hi guys,
I have a problem with my System.UI. I can't decompile it because I obtain always an error...in every programs (Tickle,Multitool...). I want to edit lines in .xml for my custom ROM.
However, with the Framework-res.apk or settings-apk it works perfectly. I don't understand...
So If someone could help me decompiling System-UI.apk with other method, I'd be very grateful to him
Of course I join two files (framework-res.apk and systemUI.apk) in attachment.
Thanks really
Bests regards
Nobody... ?
PLease
MAnopi said:
Hi guys,
I have a problem with my System.UI. I can't decompile it because I obtain always an error...in every programs (Tickle,Multitool...). I want to edit lines in .xml for my custom ROM.
However, with the Framework-res.apk or settings-apk it works perfectly. I don't understand...
So If someone could help me decompiling System-UI.apk with other method, I'd be very grateful to him
Of course I join two files (framework-res.apk and systemUI.apk) in attachment.
Thanks really
Bests regards
Click to expand...
Click to collapse
I have same problem. Hope to someone can help.????
Post the error log and maybe someone will help you. Posting the apks does nothing really.
Also if your making a custom rom but cant fix a simple error then you might want to rethink things.
Also if your building a custom rom then just edit the source before to compile the build.
Finally it works. Why ? I don't know lol
Maybe it is :
-I took systemUI.apk from stock ROM (yes i changed apk from stock ROM to try)
-or I deleted mediatek-res.apk of folder names ''other'' of APKmultitool

Custom Tiles to pretty stock ROM

Hi there guys and girls
I have stock Lollipop Rom, rooted with TWRP installed; I would like to add a few tiles to the very few available at the moment, also if possible reorder them..
I searched and searched, here and on Google, but the only things I found were: old old and useless method for JB, xposed module (cannot install Xposed here, it's an x86_64 CPU) and the Custom Quick Settings app, which doesn't work good for me..
So, I unpacked the framework of the ROM, de-compiled SysteUI.apk but now I'm basically lost because I don't know what to edit to achieve my goal! I can't even understand what to look for: I'm pretty sure my stuff should be in qs* xml and smali files, but it's a mess there
Do you please have any tips for me, any how-to, guide, suggestions, whatever? I take everything!!
Thanks a lor, see you!
brainvision said:
So, I unpacked the framework of the ROM, de-compiled SysteUI.apk but now I'm basically lost because I don't know what to edit to achieve my goal! I can't even understand what to look for: I'm pretty sure my stuff should be in qs* xml and smali files, but it's a mess there
Do you please have any tips for me, any how-to, guide, suggestions, whatever? I take everything!!
Thanks a lor, see you!
Click to expand...
Click to collapse
Will this do, I would look in your SystemUI first. - http://forum.xda-developers.com/galaxy-s5/development/mod-t3005222
thanks but I'm already looking at SystemUI but it's plenty of stuff there and it's difficult to change tiles.. Also the thread you linked is only for Samsung Touchwiz, you can see from the attached screenshot that shows the dialog where to pick which tiles/Quick Settings to include.. There the OP just unlock the limited number, but the rest of the stuff is already there..

Help with smali coding

Hi guys hope you are all safe and well.
I have been looking at many guides and cant for the life of me work out what to put where, you guys have helped me out in the past with themeing queries and i was hoping you could help me with a smali issue.
I would like to hide a button/option in an app that is called from a smali file, would it be at all possible that you could help me add the nessasery lines to the smali to give me a better understanding of smali in general. Hope you can help, if you can i will attatch the smali file and explain what i am trying to achive.
Thanks in advanced.

Categories

Resources