[Q] Location of Code - EVO 4G Q&A, Help & Troubleshooting

OKay. Here is my stab in the dark.
I know nothing about coding apps except for what i have read so far today.
I was wondering if anyone could point me in the right direction of where in an .apk i might find some code.
I decompiled a forum app, and I am trying to find where code for the actual internet location for that forum is located. Even just a general starting point where to look...
I'm just experimenting a little bit thats all, this would just help me out.
Thanks in advance

Related

Unencrypting xml files

I was curious if anyone knows how to unencrypt(sp?) xml files. I am trying to build a theme and wanted to browse through some xml's to see if I could change the color of the digital clock on the status bar, among other things. I tried googling to no avail. Is this even possible at this time, or am I just going to have to wait until someone figures out how to unencrypt these files? Just some general advice on how this filetype behaves in android would be appreciated as well. Thanks in advance...
Stericson is currently in the process of this. He'll let us know when he's got it.
Shoulda figured Stericson had a hand in this matter. He is extremely valuable in the development of our devices, in fact, I almost sent him a PM to ask him about this matter directly, but I wanted to gather some general info/advice from everyone. Thanks for the reply Phromik, and thanks be to Stericson too, for being such an indispensable asset to these forums.
Ahhh, many thanks....Unfortunetly, this is not easy in the least. As for right now the xmls can be decrypted, vis some tool online you can find by googling, but you can also see the xmls in plain text by downloading the source and looking through them. I am trying hard to get these done but it is not easy in the least. Much more difficult then what we are doing now.
We will get it though, no worries, just may take some time.
Stericson

CPR File editing

To start off, I want to say I have used the search function. I have been google'ing and searching the entire xda forums for well over 2 days, and i just can't find anything. Maybe i am google/searching incorrectly.
Anyways...
I was wondering if either someone could describe how the CPR file works in terms of tags like FORM, LAYER, etc. (not those two because they are self-explanitory, but along those lines). Also does anyone know what all the possible tags that can be used in that file are? I am sorry if this is a dumb question, but I have searched for tutorials, sdk notes, CPR file structure, everything i can think of, and I have yet to get an actual guide (although I did find a couple of cool Apps to use for customizing CPR files visually)...
Thank you in advance
http://forum.xda-developers.com/showpost.php?p=3601164&postcount=2
http://forum.xda-developers.com/showthread.php?t=512121
thank you for the quick response....
guess i need to get better at my searching skills.
Thank you again
Happy to help
I think you get used to where things are too "didn't even search for it"

Rom Development / Modding How to get started?

Hey everybody,
I recently bought the galaxy nexus because I wanted to start getting into Rom Development.
I can programm Java and also programmed some simple apps..
But what I really wanted to do is to modify a Rom.
Can anybody tell me where to start? I read guides on how to compile from source and so on, but I don't know if that's what I need.
I want to add things like Notification bar quick settings to the rom.. Are there tutorials on how to develop these things?
Every help is appreciated, maybe you've got some great links for me, thanks!
00hero00 said:
Hey everybody,
I recently bought the galaxy nexus because I wanted to start getting into Rom Development.
I can programm Java and also programmed some simple apps..
But what I really wanted to do is to modify a Rom.
Can anybody tell me where to start? I read guides on how to compile from source and so on, but I don't know if that's what I need.
I want to add things like Notification bar quick settings to the rom.. Are there tutorials on how to develop these things?
Every help is appreciated, maybe you've got some great links for me, thanks!
Click to expand...
Click to collapse
start with decompiling apks (SystemUI.apk and framework-res.apk for example) , if u've wrote android apps before (and u said u did), then it shouldn't be that hard to look into the .xml and .jar files. when u finish, compile the .apk back. if u've worked with Eclipse then u probably know the android structure.
Edit: Here is an example of a "ROM modification" - just posting it to give u an example..
Well first thing is first. You need to have the bare basics of Android thoroughly understood obviously. Often overlooked as a first step in this process, just learning about(different than knowing about)the Android Open Source Project first will give you a specific sense of direction, purpose, as well as an identity in the community..
So again- I don't just mean knowing about it- I mean knowing exactlyhow the whole project is structured. Read about all the different types of contributions you/anyone can make to the Android ecosystem. Are you an aesthetics kind of person who would excel at UI designs for apps or whatever; Are you a person who has a good eye for problem solving? Maybe you should be scouring source code, trying to fix little-noticed "bugs" that "bug" the hell out of you. Once you know what you want to do, make sure you find out exactly how much Google provides for you, and what your own roles/responsibilities would be in the whole scheme of things.) This should give you a good idea of where you might fit in (with your current skill-set)and hopefully, it gives you some inspiration about the direction you might want to take it in the future.
Once you do this and "find your calling", post back here, and I'm sure that others qualified in that field will be more than happy to share how they got started.
There is no substitute to just jumping in and trying things though. Everybody makes their own journey differently, so do what comes naturally, and you can't go wrong.
Here ya go
http://forum.xda-developers.com/showthread.php?t=1661770
and maybe this as well?
http://www.xda-developers.com/andro...rs/ShsH+(xda-developers)&utm_content=FaceBook
Wow thank you every body for these great comments! I think I'll compile a Rom from source first and look through all the files..
Decompiling apks looks interesting too.
Thanks for the fast responses & links, you're awesome!
Okay so I've got another question..
One thing I always liked on some custom roms was the lockscreen flashlight..
If I would hold power for 3 seconds, the flashlight would turn on until I let go the power button.
I decompiled the framework-res.apk but didn't find anything there, just .xml files.
Where are the files where I can actually code / programm something for the lockscreen?
Try android.policy.jar
Usually the jar files contain the code, xml are for visual stuff.
But my question is, are u sure it is a lockscreen feature? (I mean the torch option) . Tbh this is the first time i hear of such a mod and i've been using android devices for over 2 yrs
Sent from my Galaxy Nexus using xda premium

Creating Theme - How do I know what to change

Hey all. I'm not sure if this question has an obvious answer, but...how on earth do you know what images to change when creating a theme? It took me a while to realize that the dialpad was in the contacts apk, and I'm constantly searching for which image goes with the corresponding image on the phone. Is there an easy way to look at, say, the messaging app, and know which images within the apk I need to edit? It can't be simple trial and error, or I'm sure many of you would've gone crazy creating the themes you've brought here. Please, if anyone can point me in the right direction I'd really appreciate it. Thanks.
morrison0880 said:
Hey all. I'm not sure if this question has an obvious answer, but...how on earth do you know what images to change when creating a theme? It took me a while to realize that the dialpad was in the contacts apk, and I'm constantly searching for which image goes with the corresponding image on the phone. Is there an easy way to look at, say, the messaging app, and know which images within the apk I need to edit? It can't be simple trial and error, or I'm sure many of you would've gone crazy creating the themes you've brought here. Please, if anyone can point me in the right direction I'd really appreciate it. Thanks.
Click to expand...
Click to collapse
Think again. Trial and error all the way. There is no this image goes here type guide.

Theming Help - How do I know which images to change?

Hey all. I'm not sure if this question has an obvious answer, but...how on earth do you know what images to change when creating a theme? It took me a while to realize that the dialpad was in the contacts apk, and I'm constantly searching for which image goes with the corresponding image on the phone. Is there an easy way to look at, say, the messaging app, and know which images within the apk I need to edit? It can't be simple trial and error, or I'm sure many of you would've gone crazy creating the themes you've brought here. Please, if anyone can point me in the right direction I'd really appreciate it. Thanks.

Categories

Resources