Ive tried so many programs and cant seem to figure out how to modify an XML file (EX: Android Manifest) can anyone shed some advice or recommend a program or a how to? any help is appriciated
travismoreno said:
Ive tried so many programs and cant seem to figure out how to modify an XML file (EX: Android Manifest) can anyone shed some advice or recommend a program or a how to? any help is appriciated
Click to expand...
Click to collapse
Doesn't Dreamsforgotten talk about editing XML files in his guide stickied at the top of Themes subforum?
Sent from my SPH-D700 using XDA App
Related
OK, I have been searching and searching. I can find a lot of places where they post mods but I was hoping there would be a walkthrough for first timers. I would like to start modding some of the apps on my phone. (AKA Widgets transparent or themed). is there a place I can find what files contain what images for HTC Sense? when I was playing with modding in windows mobile sense I found a lot of info but I can not seem to find too much here.
I believe these are the steps:
1. get apk
2. unzip and change images
3. repack apk
4. copy apk to /system/app
I am not sure how to repack a apk yet (any pointers would be great). I am not sure I am suppose to get the apk from the system folder or from the website? by copying it to the system folder is that enough? or do I have to install it?
Any little pointers would be great.
Thanks,
SoBBie
http://forum.xda-developers.com/showthread.php?t=916814
Everything you need to know is there. Read all of the guides. Any questions? Ask in that thread. They are very helpful.
Sent from my ADR6300 using XDA App
Thanks I will start there. and ask there.
SoBBie
What is the reason behind naming apk "com.WORDHERE.APPNAMEHERE" is there a certain pattern to follow for this? Thank You!
Thread moved to Q&A.
It defines the namespace for your app. Usually it is a reversed version of your domain name. For instance, my domain is webosnerd.com, so my packages are com.webosnerd.appname. I think it's a Java thing.
Sent from my PC36100 using Tapatalk
ald3n3 said:
What is the reason behind naming apk "com.WORDHERE.APPNAMEHERE" is there a certain pattern to follow for this? Thank You!
Click to expand...
Click to collapse
It all has to do with the way the file system is set up. If u look in the apk after its recompiled in the smali files Ull see a set of folders...first one will be com then the folder inside of that will be the com.here then the folder inside of that will be next like this com.here.next. meaning if u were looking in on ur computer it would look like this com/here/next. Its a way of calling files
thanks for the help guys! i'm gearing myself to make my first android app... or maybe i'll start with themes. Thanks!
ald3n3 said:
What is the reason behind naming apk "com.WORDHERE.APPNAMEHERE" is there a certain pattern to follow for this? Thank You!
Click to expand...
Click to collapse
Yes, it's a Java development pattern / best practice. Android apps are written using the Java language so most developers follow Java best practices when they develop for Android.
As to WHY it's a best practice: The .apk is just a .zip file that makes it easy to move the app around. The Android Market only has to keep track of one .apk file instead of the thousand of files that actually make up the application. Once the .apk file is on the device it is inflated back into a set of files/folders. When it does the unzipping, dots are replaced with /'s and we end up with something like:
/com/SuttCo/AppNumberOne/FolderA/file.jpg
/com/SuttCo/AppNumberOne/FolderB/file.jpg
/com/SuttCo/AppNumberOne/FolderC/file.jpg
/com/SuttCo/AppNumberTwo/FolderA/file.jpg
/com/SuttCo/AppNumberTwo/FolderB/file.jpg
As you can see... both SuttCo apps share the /com/SuttCo/ directory.
tl; dr; It's so things stay organized.
I dont want to edit pngs and stuff like that. I want to edit xml files to change my UI and make it much cooler. If you can please PM me or help me out on this thread. Ive been wanting to do this for a while but havent gotten much help. Ive tried many things and cant get it. Thanks.
joe_d08_17 said:
I dont want to edit pngs and stuff like that. I want to edit xml files to change my UI and make it much cooler. If you can please PM me or help me out on this thread. Ive been wanting to do this for a while but havent gotten much help. Ive tried many things and cant get it. Thanks.
Click to expand...
Click to collapse
Go to the themes section in the stickies there is a theme guide by dreamsforgotten the best theme guide youll ever find....i have yet to read the part on xml editing otherwise id help you but i know it consists of the JDK java dev kit and the SDK for android and apktool to decompile and recompile the framework-res.apk. have fun hope this helps.
I've run through several how-to's and I still can't get an app to compile after I make the changes to add something to the settings app. I make the changes to strings xml and settings_header but then it won't compile. The reason for it not compiling seems to be an issue with the android manifest xml but in all I have done I do not alter it (or maybe I need to)
Anyone have an idea ? Thank you !
hednik said:
I've run through several how-to's and I still can't get an app to compile after I make the changes to add something to the settings app. I make the changes to strings xml and settings_header but then it won't compile. The reason for it not compiling seems to be an issue with the android manifest xml but in all I have done I do not alter it (or maybe I need to)
Anyone have an idea ? Thank you !
Click to expand...
Click to collapse
Most devs don't cruise the Q&A section, so you will probably get more help here. It will also benefit other members having it all in one place.
Some more info will help like what app you are trying to add.
upndwn4par said:
Most devs don't cruise the Q&A section, so you will probably get more help here. It will also benefit other members having it all in one place.
Some more info will help like what app you are trying to add.
Click to expand...
Click to collapse
Thank you. It's a bit unclear the best place to ask questions not related to flashing or someone else's ROM. That and I was getting pretty mad and now that
I read my above question,it is so vague and rambling.
I posted my question over there.
http://forum.xda-developers.com/showpost.php?p=42007405&postcount=41
Hello! First of all sorry for my english.
So I've just learned how to create my Zooper Widget APK Template. So when i modify and export template everything looks good except that i can't store external resources or create apk zip ready file, its not possible to check that options even if i can save template. If i save template and open it again there aint any fonts or bitmaps, its only simple widget with standard font. I did put 1 number in my eclipse strings.xml file so that everyone can reserve template. Ive also tried to set it on 0 but that only gave me a message that author is not allowed to save template. Anyone have idea what I'm missing here ?
Thanks in advance!
Anyone?
BUMP!
Never mind , I've figured out.
how?
brokencarr00t said:
Never mind , I've figured out.
Click to expand...
Click to collapse
What did u do? I'm having the same problem. I modified an onyx widget but can't save the template or create apk.
brokencarr00t said:
Never mind , I've figured out.
Click to expand...
Click to collapse
I know it's an old thread, but how did you fix it?