I wanted to know where the source code is located for android apps? I want to include a few apps in my repo so a rom can be built with the desired apps. I've already decompiled the apps I want, but am wondering where the source code is stored. Thanks in advance for the answer
Wow, 57 views and no answers yet!
Sent from my ADR6300 using XDA App
Google android kernel. The site will be something like android.git.kernel.org that's the site. Good luck
Sent from my Incredible using Tapatalk
Ill look into it. Thanks
You cannot view the source code using only what's on your phone. You would have to contact the developer and ask them for it.
You can use ApkTool to extract the apk into smali format, this is not technically the source code as they are originally coded in Java.
Yea, I decompiled and converted into java. I don't know which part is the source code though. Here is the app I converted: http://www.mediafire.com/?j6ot2ne84r2q87a
Sent from my ADR6300 using XDA App
Here's the tool to view it: http://www.mediafire.com/?j6ot2ne84r2q87a
Sent from my ADR6300 using XDA App
I do not see the /src in there. Have to say you picked a hell of a apk to try. And I think you PM'd me a bit earlier in the week??
Treken said:
Yea, I decompiled and converted into java. I don't know which part is the source code though. Here is the app I converted: http://www.mediafire.com/?j6ot2ne84r2q87a
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
all of that is the source code...the java files at least...it's pretty much all of what you would have under src/...you would have to use apktool or something similar to get the xml files. Keep in mind that this is not open source code though.
Related
What exactly can you do with source codes? I don't understand what devs mean when they say they'll work when thebsourve code is released
Sent from my HTC Vision using XDA App
The source code is pretty much what it sounds like. The raw data that makes up the Android build.
The SDK has an emulator but not the basic data needed to develop a ROM.
Sent from my HTC Vision using XDA App
I was wondering how to port to the incredible. I have windows 7, android sdk,apktool,smali/baksmali, and 7zip installed. I need to know how to use the tools mentioned and maybe some steps for porting. Modification of apk, jar, .xml, .so files are a must when porting,i just don't know how. Can someone please let me know, even if you want to pm then please do so. Thanks. Oh, afa what device I'd be porting from, not sure. Maybe from the desire or n1.
Bump
Sent from my ADR6300 using XDA App
google it my friend. GOOGLE!
type in android theme porter.
Thanks for the info, but I want to port a rom not a theme
ACD168 said:
google it my friend. GOOGLE!
type in android theme porter.
Click to expand...
Click to collapse
Sent from my ADR6300 using XDA App
I did try to google but nit anything on the incredible. I make it a general practice to google and research before I bother anyone on the forum.
Sent from my ADR6300 using XDA App
Maybe a Rom kitchen will help. I don't have much experience in this area.
It's no bother to people, I misread. rom kitchen sounds about right. you could always just try and theme the ROM you like..
Thanks for the response. What I really need is to know how to use the tools I mentioned. I have a basic overall knowledge of porting but am unsure of how to use the tools
Sent from my ADR6300 using XDA App
Bump
Sent from my ADR6300 using XDA App
I'm bumping this again cause I know there's got to be a dev with the knowledge, willingness, and time to tackle this thread request
Sent from my ADR6300 using XDA App
What are you wanting to port exactly?
Sent from my Incredible using XDA App
I plan on creating my own rom and was wanting to know what tools I may need and how to go about it the correct way? It will be Android based.
Google it, exactly what I did. Make sure you have a decent computer that can handle all that memory.
Sent from my PC36100 using XDA App
I'd hope its android based lol android sdk Java jdk notepad++ apk manager there's other stuff look around if you do a search I'm sure there are other people who asked the same thing
Sent from my PC36100 using Tapatalk
nrm5110 said:
I'd hope its android based lol android sdk Java jdk notepad++ apk manager there's other stuff look around if you do a search I'm sure there are other people who asked the same thing
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Lol, sometimes when I don't have my coffee, I talk like an idiot. But yea, I'm getting ready to clean my comp for this awesomeness. Haha
Sent from my PC36100 using XDA App
I'm mainly trying to edit the eri.xml and apn.xml for a non Sprint carrier. I tried APKTools but it's not really working. I keep getting a java not found error even though its installed. Also it doesn't seem that you can edit this xmls with APKTools anyway. Anyone feel like pointing me in the right direction?
cornaljoe said:
I'm mainly trying to edit the eri.xml and apn.xml for a non Sprint carrier. I tried APKTools but it's not really working. I keep getting a java not found error even though its installed. Also it doesn't seem that you can edit this xmls with APKTools anyway. Anyone feel like pointing me in the right direction?
Click to expand...
Click to collapse
You can do that straight from your zip archiver. Just open it as a zip. The xml is in res/xml
Sent from my GT-P7510 using XDA
xboxfanj said:
You can do that straight from your zip archiver. Just open it as a zip. The xml is in res/xml
Sent from my GT-P7510 using XDA
Click to expand...
Click to collapse
I'm pretty sure eri is encrypted.
He'd have to decompile it.
Hmm do you have the android sdk installed and the resources... you need more than the java developemnt kit... you need that version of androids resources and dependencies to decompile it...
And no you can't edit xmls without decompiling the framework completely.
Sent from my SPH-D700 using xda premium
ÜBER™ said:
Hmm do you have the android sdk installed and the resources... you need more than the java developemnt kit... you need that version of androids resources and dependencies to decompile it...
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Where can I get this?
cornaljoe said:
Where can I get this?
Click to expand...
Click to collapse
Google android sdk.
Or go to the android.com
Sent from my SPH-D700 using xda premium
ÜBER™ said:
Google android sdk.
Or go to the android.com
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Already on it thanks.
Edit:
Wow my old developing persona is awakening in me as I watch the SDK install. Look out... maybe a "Hello Epic World" will follow after I'm done with this.
With any kind of knowhow is it by ay chance possible to port a Ics+ app for gb.
Or perhaps I would need the source?
Ř800x
Wish to know too, Greenify on GB roms would be awesome!
Set "android:minSdkVersion="9"" (or 10 for 2.3.7) in your AndroidManifest.xml
inspect the code to make sure you're not calling any APIs that aren't available in gb. If you are, fix the code, either by disabling the relevant functionality or providing alternative implementations. You're also going to have to make some changes to the XML layout files. And probably a few more things.
As far as getting source code, google it, there are many methods, easiest probably dex2jar.
Sent from my R800i using xda app-developers app
You're welcome btw.
Sent from my R800i using xda app-developers app
Hmm very interesting I must give this a go thanks for the information
Ř800x
korrectmethod said:
Set "android:minSdkVersion="9"" (or 10 for 2.3.7) in your AndroidManifest.xml
inspect the code to make sure you're not calling any APIs that aren't available in gb. If you are, fix the code, either by disabling the relevant functionality or providing alternative implementations. You're also going to have to make some changes to the XML layout files. And probably a few more things.
As far as getting source code, google it, there are many methods, easiest probably dex2jar.
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Basically just that.
Edit: It's kind of in a wrong section...
Sent from my Nexus 5 using Tapatalk
Yea I noticed that late, I ment to post in Q&A
Sent from my SGH-T999 using xda app-developers app