how-to add cm/aosp source to intellij? - Android Q&A, Help & Troubleshooting

Hey guys,
eclipse is soooooo slow, so im trying to switch to intellij. My question is: how do i add the aosp or cm source to intellij?
I've tryed the same way like in eclipse but it doesn't work.
Thx in advance,
Kitty

what's intellij a device or what ..??

lol why not google it?
http://www.jetbrains.com/idea/

then you might be referring to adding or integrating the sdk right ???? or you want to test the whole soucre code on ide??

I want to add the source not the sdk. Like this for eclipse: http://source.android.com/source/using-eclipse.html

i dont have any idea abt i just build from source never integrated it into an ide ..

Related

[Q] what diferences between compile form source & porting?!

can anyone help me to learn a bit more than android!
I heared about compile form source and biuld form source...And I can't understand what diferences between compile from source and port! can U explain easily?
for example should I want to bring superOxygen Rom in my x10 , should I port it with cm as base or compile form source?!
thx
for short:
porting means you are making rom to your device from another device, you will be just moving libs, editing ramdisk, etc.
compiling from source means you make a complete rom from scratch including programming own drivers, libs in some situations.
If source is avaiable fot superOxygen then you can try compiling it yourself, but editing, or adding your drivers is necessary, and anyway its harder than porting, but gives better result in fact because you can program everything to make it work and you aren't dependant on binary files like in porting.
When porting, hardware should be close to one you have in your X10, because most things will not work when processor differs, wifi modules, gsm etc. You take files from any X10 rom and replace ones that are with same name in another rom (oxygen here).
Thanks very much man!
I took your advices...it was good advices but what is your idea about this:
If I port Superoxygen from Nexus1 for my x10 and (use stable AOSP as base) , then can I say I make a superOxygen Rom?
compiling from source is how much difficult?! I'm 17...! , I have a link that teach compile from source... Is it need some Knowledges that is impossible for me?!
heh, im 17 too and I don't have much knowledge, but looking on pcfighter(a gt540 developer) im impressed, hes 17 too and does a great job, so it depends on time spent and interests
when you port oxygen, you can just say that you ported and not made it. credits go to the maker and you for just making it work on x10
I'm looking now how to compile for gt540 but can't find any idea how to make it strict for gt540 compiling from source tutorials are mostly for nexus s and nexus 4g because most of are just remade of what you can find on official android developer page and its easier. For unsupported device its even harder, you have to work with what you already have and add it first to sources then ... more things to do. I'm beginner with that too, just pulled sources yesterday and looking how to make it work :] so don't expect so much help in this way :]. Just telling you overall how this looks
For compiling you need to know Java and C programing language.
Sent from my Xoom using Tapatalk
@mesaj! do you know c and gava programing languge?! ofcourse I worked c++ a little...
Thanks now I also know what the difference is.
In easy terminology. Compiling a ROM is building a ROM from the source code so it means you are building a ROM from the ground up. Porting a ROM to your phones means to take a ROM built for another phone and to get it working on yours. That's the simplest way to think of it. I have in my signature a guide for compiling a ROM. Oh and I'm newly 18
私のEVO 3Dから送信される。
Thanks for this thread
Thanks now I also know what the difference is.
Click to expand...
Click to collapse
Thanks for this thread
Click to expand...
Click to collapse
just press the thanks button if you like this thread

Advice for a newbie

Hello,
I want to develop an app for the Android OS but I am a total newbie and need some advice to get started.
What I want to do is study and add some extra features to the existing Android Open Source Project Contacts Manager (found in github: github.com/android/platform_packages_apps_contacts/tree/jb-release). I figured that reinventing the wheel is a bit stupid. I tried downloading the source code and creating a new android project from existing code in Eclipse. Unfortunately the code is full of references to classes that aren't there. I don't understand how this is possible when everything seems to be in order, the Google APIs are there including Android.jar.
Obviously I am doing something wrong or I have missed something, or maybe I am doing this totally wrong. Thanks in advance.

[Q] Building a specific apk from source.

Quick question.
Can you download one specific apk from Android source and then just compile that or do you have to download the entire source, compile the entire rom and pick out the one apk?
Id like to look at adding/merging some things to Mms.apk which I cant do just through apktool/xml but if it requires a full build environment Ill have to add it to the pile of things to get round to
Never really looked at compiling from source, tend to stick to what I know (which isnt a lot!)

[Q] Samsung Source import to eclipse

Hey,
could somebody explain me how to import the offical Samsung Android Kitkat Source to Eclipse? The files I downloaded are c++files so do I have to build something first?
I found this http://source.android.com/source/using-eclipse.html and other tutorials how to do that with the aosp source. But the samsung source is different.
Thanks.
The Samsung source is only the kernel. That website is talking about the Java AOSP source.
Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu
Thank you. Good to know.
So Samsungs kernel source is online for everybody. But the source for the samsung specific programs like the Samsung Music app or something different is secret? Only decompiling would be possible.
If thats right and i decompile an programm how do I find the imports? I know the imports are classes. But I dont know where to find them.
For example this import: com.samsung.android.cover where do I find this?
Thanks

[HELP]android rom compiling software

Hey guys . I'm new to Android development...but i have a good idea about developing a custom rom and kernel using ubuntu..
But one day i was thinking that,
everyone who are interested in rom development goes through the AOSP website and tries it. And atlast after so many confusions and so many new learnings they compile it..
Bug fixing and adding features is next job.... Let's keep it aside
My thought was to build a software using java or c++ , which will automatically compile the rom for any device according to the user's input.
The inputs are device's code name (eg:-hammerhead)
And type of os(lineage based or aosp based etc...)
In the background of this software, all the rom compiling codes, source downloading codes, setting up environment codes etc,.. will be feeded using c++ or java.
After getting inputs from the user via a simple interface, the process will start. Downloading source, choosing directory,compilation, and finally the flashable rom will be the output of this software which will be stored in the given directory folder...
What do u guys think about this. Will this work???
i also know there are many troubles making this software
Pls comment abt ur thought guys..
I also need help in this case..
My vote is for is for a interactive GUI for android kernel development. One to allow easy modification to the kernel source and compilation. Kinda like Link+ Kernel Ide for Eclipse but for android

Categories

Resources