What's goin on guys?
So, I'm doing a project for school and I chose to create a custom settings app for my phone. I plan to include tricksterMOD and Pimp my ROM stuff, but creating my own interface for it.
I've already modified the strings.xml to include 'Other' in the interface in res/values/ .. I just don't know what to add in settings_headers.xml in res/xml, or what smali edits to make. Anyways, my question is, could anybody help me? I know my details were a bit vague about what I want to do with it, so if you have questions, please ask. I could just use a hand in this
Thank you!
(Using the settings.apk in DreamsForgotten 4.2.1 ROM for the Toroplus, before using this anywhere I will be asking for his permission, and before turning this in I will make sure to let the teacher know I borrowed this from him/Google!!)
Related
Hi all,
I'm currently working on a 2.1 Sense-UI 'Lite' Rom, which will use a customised, lightened version of the Espresso Rosie. I'll be no-doubt spending every second of my free time in Photoshop with the aim of making this rom look stunning.
As for the rom itself:
I've used highlights from several of the current 2.1 releases from this and other forums, and I'm pretty happy with it so far; it has a very small 'not working' list, and the filesize is reasonably low for a Sense UI rom. Of course, I'll credit people where credit is due.
Anyway, the questions. Some of this may seem incredibly dumb. Please assume that I have an understanding of Linux, but I am very new to Android Development. I've simply read the guide that Lox posted, then taken a 'learn whilst I work' approach. So...
1. How do I edit the 'Software Number'? (I can't seem to find it)
2. If I start again with a clean, AOSP 2.1 rom, how do I make it use Rosie? It can't just be a case of putting the Rosie.apk in the right place can it?
3. If I want to select which apps/widgets appear and where, do I edit the relevant XML which contains the Screen/X/Y locations?
If/when I have more questions, I'll post them here!
Thanks in advance
1. Sorry dont know,
2. No you need to add all the framework files, quite a few of them I think.
3. system/customize/mns/default.xml
Dan
Thanks Dan. I have the Framework files, so that's easy enough.
I suspected it was the default.xml, so thanks again.
Anyone know the answer to my first question?
I think that it is somwhere in build.prop but I can be wrong.
1. No idea what you mean by 'Software Number'
2. com.htc.framework.jar and friends need to be added to init.rc's BOOTCLASSPATH var ... so at the very least, you need to provide a custom boot.img ... that rules out adding it over other custom ROMs ... on top of that all the Rosie related /system files need to be present...
3. yes - that default.xml is the place ..
Good luck ...!
(Side note ... Why oh why would you want to add sense!)
Hello people,
I am basically php developer.
So, if you can give me a chance to learn Android, I really appreciate it.
The question is that I really want to edit HtcContact.apk and SoftBank mail apk.
[1st Q]
What I want to do with the first one , HtcContact.apk, is that I want to add some field into it when editing the contacts.
This is because there is additional field something called "the reading of Chinese characters" in Japan.
This field enables to order the contact list.
Most of the roms do not contains this additional fields.
[2nd Q]
I want to modify SoftBank mail apk because I want to try MIUI ROM.
The problem with it is that I cannot receive the message using that app as MIUI uses different protocol or something.
I really do not know what to modify.
My knowledge is something like below.
I already installed Android environment in my PC(Win7).
I know how to flash radio too.
Best regards.
ROM: ARHD 6.3.2
Device: Desire HD
Radio: ARHD recommended radio
Im not a expert but dont you have to decompile the apk to do that. I recommend finding a open source contact app and modify that (or pick on that already have support for that function) and then replace the htc contact app
Q2 I have heard that miui i releaseing many of theirs apps as open source.
mrxdst said:
Im not a expert but dont you have to decompile the apk to do that. I recommend finding a open source contact app and modify that (or pick on that already have support for that function) and then replace the htc contact app
Q2 I have heard that miui i releaseing many of theirs apps as open source.
Click to expand...
Click to collapse
Thank you very much for your post.
I just tried to reinstall HtcContacts.apk.
However, after installed it, lots of errors are occurring and can not open contacts.
Maybe, I did wrong way to install.
What I did is i just install it using root explore.
Then, about Q2, I will ask someone in MIUI developers.
Thanks, anyways.
Hum.. Try clearing cache? Might remove the errors.
Ok...after work, i will try it.
Hi
This thread might help you...
http://forum.xda-developers.com/showthread.php?t=695701
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.
Hey everyone,i've just started to learn more about the framework and stuff(to give back to this awesome community) by decompiling it and looking at the xmls and pngs within and one thing i found was really obvious that there is no bible of information that us new comers can consult for our questions
I would like to request all the brilliant minds here on xda to help me with a few things if this thread catches their attention.It would educate me and everyone else if our brilliant devs can share their info.I would like to start with a few questions and i really hope this thread takes off as the real reason we are all here is to learn
Questions:
1.The /res/anim folder in the framework has all the animations of the rom if i am not mistaken.But if i overwrite the xml files within with my own collection of xmls there are some files that are not overwritten and hence some animations of the rom donot change.The question here is this.How do find out what xml stands for what animation.Htc has removed the home button animation and i would be very grateful if someone can help me find it.Also app opening animations are still sense and i can't tell which xml to edit to find which one is the app opening one.
2.Recompiling the framework through apk-tool is giving me a lot of errors even when i don't modify anything.I'm using a custom rom framework so maybe thats the cause but still it should compile right.
3.Is it possible to decompile the framework in the phone(through an app i mean),add stuff to it,and then recompile it? Or is my only option to open it as a zip file and just replace and delete xmls .
I will update the thread with more questions and request anyone who has any info to please share it so we can all learn
Long live xda
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