Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,481 Members 53,806 Now Online
XDA Developers Android and Mobile Development Forum

[Q] xml problem

Tip us?
 
JT1510365
Old
#1  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 459
Posts: 608
Join Date: Jan 2014
Location: Milford
Question [Q] xml problem

hey guys i want to edit twstatusbar.xml with notepad++ but every time I open the file i just get this weird wording or lettering is something wrong?

Note this also happens with other xml files too!

here is a screenshot:

Click image for larger version

Name:	151515.jpg
Views:	15
Size:	265.1 KB
ID:	2792773
 
gr8nole
Old
#2  
gr8nole's Avatar
Recognized Contributor
Thanks Meter 3,280
Posts: 2,121
Join Date: Oct 2010
Location: Lynchburg, VA

 
DONATE TO ME
Quote:
Originally Posted by JT1510365 View Post
hey guys i want to edit twstatusbar.xml with notepad++ but every time I open the file i just get this weird wording or lettering is something wrong?

Note this also happens with other xml files too!

here is a screenshot:

Attachment 2792773
You have to de-compile the apk first, then you can edit it in plain text; then you must re-compile the apk.
>>>>------;;;;----->
The Following User Says Thank You to gr8nole For This Useful Post: [ Click to Expand ]
 
JT1510365
Old
#3  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 459
Posts: 608
Join Date: Jan 2014
Location: Milford
Quote:
Originally Posted by gr8nole View Post
You have to de-compile the apk first, then you can edit it in plain text; then you must re-compile the apk.

okay i have been having trouble at getting apktool setup on my computer. i have looked at all the guides but still can't get it to work!

would you be so kind as to help me set it up on my computer via this messaging way?

also I want to edit .9 pngs and how would i do that properly?
 
JT1510365
Old
#4  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 459
Posts: 608
Join Date: Jan 2014
Location: Milford
Wink apktool

also do i need the java sdk for apktool because everytime I download from the java website and try to install it it says that its not a valid file
 
gr8nole
Old
#5  
gr8nole's Avatar
Recognized Contributor
Thanks Meter 3,280
Posts: 2,121
Join Date: Oct 2010
Location: Lynchburg, VA

 
DONATE TO ME
Quote:
Originally Posted by JT1510365 View Post
okay i have been having trouble at getting apktool setup on my computer. i have looked at all the guides but still can't get it to work!

would you be so kind as to help me set it up on my computer via this messaging way?

also I want to edit .9 pngs and how would i do that properly?
Quote:
Originally Posted by JT1510365 View Post
also do i need the java sdk for apktool because everytime I download from the java website and try to install it it says that its not a valid file
Any of the toolkits for de-compiling apks should work fine. I still use a very old one (APK Manager 5.0.2). I just update the apktool, baksmali, and smali jar files when an updated version is released.

You will need java installed, but I don't think you need the entire sdk.

As for editing .9 pngs...you have to make sure that you don't change the 1 pixel border around the outer edge of the image.
>>>>------;;;;----->
 
JT1510365
Old
#6  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 459
Posts: 608
Join Date: Jan 2014
Location: Milford
Wink now what

Quote:
Originally Posted by gr8nole View Post
Any of the toolkits for de-compiling apks should work fine. I still use a very old one (APK Manager 5.0.2). I just update the apktool, baksmali, and smali jar files when an updated version is released.

You will need java installed, but I don't think you need the entire sdk.

As for editing .9 pngs...you have to make sure that you don't change the 1 pixel border around the outer edge of the image.
okay where do i go to download the tool and those files like backsmali?

Also I heard you can't decompile systemui.apk unless you put your devices framework-res.apk in the apktool folder, where would that go?

thanks for your help!
Tags
android, custom, question, xml
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA Xposed Tuesday: How to Shut Up Your Phone – XDA Developer TV

So many different applications want to send us notifications that … more

Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more