How To Edit Apk files ' Bottons Links - Java for Android App Development

hi fellaz....
i m working with Apk that very important to me..
So im editing that app...but There One Botton Have Deep Play Store Link...
So Anyone Plz tell me ...
How to Change Or Remove That Link
Sent from my SM-J700F using XDA-Developers mobile app

Randula Hemal said:
hi fellaz....
i m working with Apk that very important to me..
So im editing that app...but There One Botton Have Deep Play Store Link...
So Anyone Plz tell me ...
How to Change Or Remove That Link
Click to expand...
Click to collapse
There is a way by deleting the "androidnClick" in the button layout.
How to do that?
After decompiling the apk goto layout folder and search for the .XML file that contain that button (for ex. If the button where in about section you should open (for example) about_layout.XML)
And then search for the button and delete the "android: onClick" line .
Good luck

n78 shadow said:
There is a way by deleting the "androidnClick" in the button layout.
How to do that?
After decompiling the apk goto layout folder and search for the .XML file that contain that button (for ex. If the button where in about section you should open (for example) about_layout.XML)
And then search for the button and delete the "android: onClick" line .
Good luck
Click to expand...
Click to collapse
Many Many Thnks Dude..
i ll do that
Sent from my SM-J700M using XDA-Developers mobile app

Randula Hemal said:
Many Many Thnks Dude..
i ll do that
Click to expand...
Click to collapse
Test and report if it works cause some dev don't use this function.

Related

App name

I like customize rom in my way. i changed app icons but now i want to change app names. please someone guide me for this which file to be edited.
Try APK Edit
With this tool you can change every text that appears in that app and even add new languages...
For me it was also quite useful and it's not very complicated. Only open the APK (You must have the apk on your computer) and edit it
Mohanshbhr said:
I like customize rom in my way. i changed app icons but now i want to change app names. please someone guide me for this which file to be edited.
Click to expand...
Click to collapse
Isn't it manifest.xml ? I'm not sure... Look at it !
brigo said:
Isn't it manifest.xml ? I'm not sure... Look at it !
Click to expand...
Click to collapse
Thanks let me try
GalaxyDrei said:
Try APK Edit
With this tool you can change every text that appears in that app and even add new languages...
For me it was also quite useful and it's not very complicated. Only open the APK (You must have the apk on your computer) and edit it
Click to expand...
Click to collapse
Thanks, it worked

[Quiries] help from experts needed

All right I just finished my exams so I wanted to release my rom as promised
Almost everything is done but I have to do some bug fixes
So I ask my fellow Themers and devs some quiries regarding XML editing
1. How to change font colours
The blue text in settings and contacts perticularly (blue looks like crap with my theme I want complete detiles regarding this
Click to expand...
Click to collapse
2.how to rename apps (lidroid parts exactly I took a random rom and completely modified the lidroid parts but now I don't know how to rename it also I want to rename the wallpaper pack )
Click to expand...
Click to collapse
3.how to make apps not appear in drawer
Click to expand...
Click to collapse
4.how to add things to settings like rom name, dev name and also shortcuts to apps that I hide from launcher...
Click to expand...
Click to collapse
Pleez answer these questions these are all I need to complete my rom
Its an elegantly themed gaming rom
Also I am single handedly working on it from almost a month so pleez help me by answering my questions
My motivation
Sir Carl
Death notice and many more who encouraged me and made xda feel like a family (me new to root Techno tingu deadly 42d1l and many many more except avigith
Thanks in advance
Ubuntu themed apps and other stuff here
Click to expand...
Click to collapse
--->make phone faster and battery efficient
--->partition and link2sd for NOOBS?!?!?
--->3d games for galaxy y (no root no lag)
Thanks for your rom in advance bro !
Sent from my GT-S5360 using xda premium
You rename apps you need to edit smali files. I also didnt know how to rename my launcher but i searched a lot. To change color you need to edit xml files in res/layout or res/values.
Sent from my GT-S5570I using xda app-developers app
...
Here`s the tutorial on how to add option in settings[about phone]...
It worked for me...
http://forum.xda-developers.com/showthread.php?t=2061958
Press Thanx if I helped u...!!
2. The App Name is defined in the strings.xml in the res folder... But usually I get errors while compiling it back.. I dont know if this works for you
I dont know the rest... D-3V!L already gave you the tutorial about Rom name and dev name thingy
Changing text color http://forum.xda-developers.com/showthread.php?t=2151075
-respect older people-
To rename apps open androidmanifest . You might find something like 'android:label="@string/app_name" if u see some thing like this search for "app_name" (in this case ) and you will find the name of app in the strings.xml
if i hav accidently helped u, u can press that button,
colors are located in colors folder,
specifically
primary_text_****.xml
secondary_text_****.xml
etc. etc.
declared as hex codes,
please research the proper hex codes for your desired color,
and compile the apk properly to get best results,
preferably you could replace classes.dex with the previous unedited apk incase it does not install
...

[Q]how can I change app name...

Hello guys,
I just want to change the app name...
Like com.opera.mini.android to com.my.opera.android..
I tried it..by renaming..it gives error...
So what's the correct procedure? ?
How I can????
Plz help me
Sent from my GT-S5360 using xda app
Decompile apk with apktool
open AndroidManifest.xml
The first line change for example
package="com.android.settings"
to what you want to name package
marcussmith2626 said:
Decompile apk with apktool
open AndroidManifest.xml
The first line change for example
package="com.android.settings"
to what you want to name package
Click to expand...
Click to collapse
Ok..I will try bro...
Sent from my GT-S5360 using xda qpp
marcussmith2626 said:
Decompile apk with apktool
open AndroidManifest.xml
The first line change for example
package="com.android.settings"
to what you want to name package
Click to expand...
Click to collapse
Sorry dude ..
Not working ....
It gives error at the time of recompile ...
Sent from my GT-S5360 using xda.app
marcussmith2626 said:
Decompile apk with apktool
open AndroidManifest.xml
The first line change for example
package="com.android.settings"
to what you want to name package
Click to expand...
Click to collapse
It won't work that way anyhow!
@op u have to fully change its smali files in order to do so.....
OR u can simply
Use apktojava
1.Select opera mini.apk
2.Create eclipse workspace
3.Open eclipse/use existing projects
4.Select ur opera mini workspace
5.In the java file where there is com.opera.blabla
6.Rightclick over it/refractor/change name
7.Enter com.blabla.blabla
8.Select save/replace all the occerence
9.Finish the project,and you are done!
Have a nice day
D4rk
LetJect said:
Hello guys,
I just want to change the app name...
Like com.opera.mini.android to com.my.opera.android..
I tried it..by renaming..it gives error...
So what's the correct procedure? ?
How I can????
Plz help me
Sent from my GT-S5360 using xda app
Click to expand...
Click to collapse
Easy way
1.Decomplie it
2.Go to Values folder
3.And Find string.xml
4.Open it and change the app name
Do these where were you found string.xml
And at the time of recompile Delete the resource.arc and delete the modefied xml from keep folder...
Sent from my GT-S5830i using xda app-developers app
D4rkSh4dow said:
It won't work that way anyhow!
@op u have to fully change its smali files in order to do so.....
OR u can simply
Use apktojava
1.Select opera mini.apk
2.Create eclipse workspace
3.Open eclipse/use existing projects
4.Select ur opera mini workspace
5.In the java file where there is com.opera.blabla
6.Rightclick over it/refractor/change name
7.Enter com.blabla.blabla
8.Select save/replace all the occerence
9.Finish the project,and you are done!
Have a nice day
D4rk
Click to expand...
Click to collapse
Thanks dude .....
Sent from my GT-S5360 using xda..
i think must sign apk
<post deleted>
Minions_Army said:
i think must sign apk
Click to expand...
Click to collapse
I cant undestand what u say....
Sent from my GT-S5360 using xda app
sign apk

Help Req. Regarding Settings.apk Of Y Duos

I Want To Remove Some Of This Parts From My Settings.apk
Touchwiz parts inside which there are Adaway.apk
Cpucontrol.apk
Spareparts.apk
netbooster.apk
etc etc..For Which I Have To Install Those Apps
Have A Glance At My Attachment...You Will Surely Understnd
Himan Boro said:
I Want To Remove Some Of This Parts From My Settings.apk
Touchwiz parts inside which there are Adaway.apk
Cpucontrol.apk
Spareparts.apk
netbooster.apk
etc etc..For Which I Have To Install Those Apps
Have A Glance At My Attachment...You Will Surely Understnd
Click to expand...
Click to collapse
Try To Mod Your Settings.apk..By Decompiling It.There Is Many Guides In XDA To Do That....And Then Just Delete The Apks That You Want To Remove....With Any Root Explorer App...:thumbup:
[[Note:Search "How To Invoke An App From Settings" In Xda Or Google To Do That]]
TECHNO_THUNDER said:
Try To Mod Your Settings.apk..By Decompiling It.There Is Many Guides In XDA To Do That....And Then Just Delete The Apks That You Want To Remove....With Any Root Explorer App...:thumbup:
[[Note:Search "How To Invoke An App From Settings" In Xda Or Google To Do That]]
Click to expand...
Click to collapse
TY For D link...But I just wan2 remov tht Invokd app from my settings.apk...i.dont want to view that apps name/icons inside my settings.apk..
Himan Boro said:
TY For D link...But I just wan2 remov tht Invokd app from my settings.apk...i.dont want to view that apps name/icons inside my settings.apk..
Click to expand...
Click to collapse
remove it from the manifest xml and also remove any strings in strings xml then resign it
Open settings.xml under res/xml/here
Then find the preferencescreens and delete them.
And your problem will be solved.
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Open settings.xml under res/xml/here
Then find the preferencescreens and delete them.
And your problem will be solved.
Sent from my GT-S5360 using Tapatalk
Recompiling Gives Error..but the app is in dist foldr...
Click to expand...
Click to collapse
marcussmith2626 said:
remove it from the manifest xml and also remove any strings in strings xml then resign it
Click to expand...
Click to collapse
lil confusing 1
Himan Boro said:
lil confusing 1
Click to expand...
Click to collapse
you can locate some things in the androidmanifest.xml or as san said in settings.xml
depends where its locoted - just follow the path
marcussmith2626 said:
you can locate some things in the androidmanifest.xml or as san said in settings.xml
depends where its locoted - just follow the path
Click to expand...
Click to collapse
i dint find in Androidmanifest.xml..
i found in settings.xml
san122 said:
Open settings.xml under res/xml/here
Then find the preferencescreens and delete them.
And your problem will be solved.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Recompiling gives error ;(..but the new compild app is in dist folder.
Himan Boro said:
Recompiling gives error ;(..but the new compild app is in dist folder.
Click to expand...
Click to collapse
read the error that apk tool tells you - it will say in which file and what line the error is - you may have public values or strings that also need deleting - cant help if you just say its an error
Himan Boro said:
TY For D link...But I just wan2 remov tht Invokd app from my settings.apk...i.dont want to view that apps name/icons inside my settings.apk..
Click to expand...
Click to collapse
Just Do Reverse The Whole Process Bro....Delete The Layout Lines And The Apps....
marcussmith2626 said:
read the error that apk tool tells you - it will say in which file and what line the error is - you may have public values or strings that also need deleting - cant help if you just say its an error
Click to expand...
Click to collapse
Ok Bro....
TECHNO_THUNDER said:
Just Do Reverse The Whole Process Bro....Delete The Layout Lines And The Apps....
Click to expand...
Click to collapse
Ow K...
Himan Boro said:
Ow K...
Click to expand...
Click to collapse
Maybe you are getting language not found error.If yes then there is no problem.
Sent from my GT-S5360 using Tapatalk 2
TY all for d supports and guides
marcussmith2626 said:
you can locate some things in the androidmanifest.xml or as san said in settings.xml
depends where its locoted - just follow the path
Click to expand...
Click to collapse
@marcussmith2626
It is not located in manifest. (It will never will be located there)
It is in /res/xml/settings.xml
Himan Boro said:
Recompiling gives error ;(..but the new compild app is in dist folder.
Click to expand...
Click to collapse
You need to install framework-res.apk and twframework-res.apk before decompiling and before recompiling.
Himan Boro said:
TY all for d supports and guides
Click to expand...
Click to collapse
I think you want to remove them from xduos v3 rom(as per screenshoots)....So decompile Settings.apk and go to res/xml,and find "kenj1.xml" from there, edit them and delete preferences from there...and recompile,sign and push apk to system....enjoy for personal use only...:thumbup::thumbup:

(Q)How To Change CWM Install Script Text

Please help me I make a iconpack but ı'm dont know this thing please help me (
Deopolos14 said:
Please help me I make a iconpack but 03'm dont know this thing please help me (
Click to expand...
Click to collapse
I think you want to change the text that's shown in CWMR while flashing. For that you should edit the updater script present in META-INF/com/google/android/updater-script.
Sameer N. Soni said:
I think you want to change the text that's shown in CWMR while flashing. For that you should edit the updater script present in META-INF/com/google/android/updater-script.
Click to expand...
Click to collapse
Thanks man but what can i use for this thing i mean which tool
Sent from my e-tab4 using XDA Free mobile app
Deopolos14 said:
Thanks man but what can i use for this thing i mean which tool
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
you can just open the update script in notepad++ (different from windows notepad)
http://notepad-plus-plus.org/
marcussmith2626 said:
you can just open the update script in notepad++ (different from windows notepad)
http://notepad-plus-plus.org/
Click to expand...
Click to collapse
When i used this tool i see very different codes in script what can i do ?
Sent from my e-tab4 using XDA Free mobile app
Deopolos14 said:
When i used this tool i see very different codes in script what can i do ?
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
the updater-script in the meta-inf folder is plain text in a flashable zip and you can just open it
if you are trying to open up anything else for example an xml file in an apk you must decompile the apk first
marcussmith2626 said:
the updater-script in the meta-inf folder is plain text in a flashable zip and you can just open it
if you are trying to open up anything else for example an xml file in an apk you must decompile the apk first
Click to expand...
Click to collapse
Okey thanks i will upload my icon pack in two days good night sir
Sent from my e-tab4 using XDA Free mobile app
((
marcussmith2626 said:
the updater-script in the meta-inf folder is plain text in a flashable zip and you can just open it
if you are trying to open up anything else for example an xml file in an apk you must decompile the apk first
Click to expand...
Click to collapse
I Cant do it true man :crying: now zip gives status 6 error Can you do it true on pm ? i'm give credits to you on my thread
Deopolos14 said:
I Cant do it true man :crying: now zip gives status 6 error Can you do it true on pm ? i'm give credits to you on my thread
Click to expand...
Click to collapse
status 6 means incorrect update script - you have made an error and there is incorrect syntax
I suggest you look at other icon packs and compare updater scripts so you get an understanding on what it should look like
for example here is an icon pack thread
http://forum.xda-developers.com/showthread.php?t=2470700
Its eurovision night here so theres no chance of me doing anything sorry!

Categories

Resources