Development tools/ides - Captivate Q&A, Help & Troubleshooting

Hey guys, Specifically Devs -
First and foremost thanks for your hard work!
Second I apologize if this thread is misplaced - if so mod can you relocate?
Thirdly and finally my question:
What tools/ide's are you guys using for development of ROM's, Apps, and everything Android? And where do you go for your research when you get stuck, or when you first getting started?
I ask for the obvious reason I would like to contribute... or at least try.
Many thanks!!

As far as App development: Most of the App development is done using Eclipse IDE and the Android SDK.
http://developer.android.com/sdk/index.html
http://developer.android.com/resources/index.html
Kernel Development:
Linux and Apple only
http://source.android.com/source/index.html
I am still figuring all of the development stuff out as I go. I've completed the "Hello World/Android" app and I've built the master Froyo source, the hard part for me is finding the time to mess around with android after i get home from my real job!
if you can't figure something out, always remember, Google is your friend

TimF said:
As far as App development: Most of the App development is done using Eclipse IDE and the Android SDK.
http://developer.android.com/sdk/index.html
http://developer.android.com/resources/index.html
Kernel Development:
Linux and Apple only
http://source.android.com/source/index.html
I am still figuring all of the development stuff out as I go. I've completed the "Hello World/Android" app and I've built the master Froyo source, the hard part for me is finding the time to mess around with android after i get home from my real job!
if you can't figure something out, always remember, Google is your friend
Click to expand...
Click to collapse
Thanks for this!! Of course GIYF!! I was wondering what the guys with experience here use if its something different after some trial and error, etc..
Again thanks for the reply, and good luck with your future projects... once you find time of course... (I suffer from the same dilemma)

Related

XDA Dream Development Application

There should be an application in the market which would sync with the themes list and the roms list from the respective sections in the forum.
There, you would be able to sift through all of the roms and themes on your device, no problems!
When I saw the CyanogenMod Updater in the Market, the app came to me.
Im not too sure how we would be able to see all of the roms at the moment, but sites like AndroidSpin seems to have a good concept.
Any ideas, or developers?
I cannot develop, but I am learning.
JRudnik said:
There should be an application in the market which would sync with the themes list and the roms list from the respective sections in the forum.
There, you would be able to sift through all of the roms and themes on your device, no problems!
When I saw the CyanogenMod Updater in the Market, the app came to me.
Im not too sure how we would be able to see all of the roms at the moment, but sites like AndroidSpin seems to have a good concept.
Any ideas, or developers?
I cannot develop, but I am learning.
Click to expand...
Click to collapse
Jordan! good to see you on here bro. as awesome as this would be, it would take some work. compiling all the roms into a database, and all the themes sounds easier said than done, but thats a alot of data. unless someone wants to host all this, aside from XDA, i dont see this happening. it does sound like a good idea though.
Start by saying Android on XDA because XDA is not Android, its HTC aka Winmo. So any app saying "XDA" will be including WinMo then there is no point to have an XDA app
maybe you guys can do something with the author of androidspin.com
he already has some kind of database.. maybe you guys can help eachother out
Sups, Palos! That's tight to see you here
AndroidSpin is a good place to start, for he has all of the roms cataloged already, it would be easier to start there and somehow incorporate it into an app.

ROM Building Starter Guide?

Considering the state of flux we are in with the roms, I think it would be really kewl for one of the guys to cook up a quick rom building guide. The main objective would be to allow user to replicate the rom build of their own accord. Many projects have taken the "you build it" approach to avoid the pitfalls of distributing closed source.
Look at something like Microsoft Core Fonts in linux. No distribution will ship with the fonts, but they all provide a package, even gnu pure Debian, that will pull the exe files from the web and unpack/install them for you. Same thing goes for flashplayers.
If someone would make a script/guide for making saayyy Cyanogen 4.0.4, by pulling the source from google, adding a modpack, and compiling on their own machine, then Cynan and the other would be clear from any wrong doing. Leave it to the community to distribute and get the roms out. Bittorrent/newsgroups/whatever, they can't stop us all, and they dare not pull a RIAA to hunt people down.
I think its something that maybe worth considering. The stuffer methods are great, but I would personally like to be able to build the rom as it should be, with all the fixings.
One
http://www.johandekoning.nl/index.php/2009/06/07/building-android-15-build-environment/
Two
http://github.com/cyanogen/android
three
http://source.android.com/download
you can add the other junk by following guides on the forums here, or pushing your own apps etc...
Thanks for the clear and concise answers. The first site has some very detailed info. I will give it a go, the Kitchen Rom Builder cooker back from my wizard days has me spoiled, but this looks pretty straight forward I just needed some direction.
helfrez said:
Thanks for the clear and concise answers. The first site has some very detailed info. I will give it a go, the Kitchen Rom Builder cooker back from my wizard days has me spoiled, but this looks pretty straight forward I just needed some direction.
Click to expand...
Click to collapse
http://www.jukie.net/~bart/blog/20090830174551 this one helps out too, but the manifest from cyanogen's github is out of date, it's 4.1 at time of writing this.
This is posted in the wrong area
as post like this are every week
jdk5 is no longer available for download on 9.10 x64 systems. Anyone know of a way around this?
Couldnt you add one of the older repositorys and add it that way?
Its one of the reasons i dont use the x64 build, too many incombatabilitys.
You could always vmware an x86 machine
Yea, I'm just now building a virtualbox x86 machine. I'm going to strip it down to essentials and then install everything needed for android building.

Need to learn the android development... From basics....

Hi,
First of all thank you so much for starting a forum for learning the Android Development.
I am very much interested in learning android, and i have gone through the official android developers site, and downloaded the SDK.
But i am stuck there, coz i am very new to the Linux/Unix part. I would like to learn more about that, but i do not want to learn programming unless it's necessary. I know it will take a long long time to learn that. So can anyone help me with the app development or fixing/understanding ROM/Kernels.
Sorry if i am being too much jumpy in the starting itself, It's because i do not know where/how to start.
Thanks,
Les
lesfauves said:
Hi,
First of all thank you so much for starting a forum for learning the Android Development.
I am very much interested in learning android, and i have gone through the official android developers site, and downloaded the SDK.
But i am stuck there, coz i am very new to the Linux/Unix part. I would like to learn more about that, but i do not want to learn programming unless it's necessary. I know it will take a long long time to learn that. So can anyone help me with the app development or fixing/understanding ROM/Kernels.
Sorry if i am being too much jumpy in the starting itself, It's because i do not know where/how to start.
Thanks,
Les
Click to expand...
Click to collapse
Unfortunately without learning programming, you will find it difficult to do any app development and kernel understanding or fixing.
Programming is key to both of these. So although you don't want to, have a look at some of the resources out there on how to learn to program.
Apps are written in java, kernel code is mostly C.
Maybe this helps? I think failing to start by learning to program will just leave you disappointed.
If it's okay, I'd like to suggest something.
@lesfauves
For kernel development, you really need to learn C, C+, C++ etc. C is the most important language here. However if you're gonna build vanilla kernels (with no modifications whatsoever), a simple guide should do it. Modifying source code requires knowledge of C (and maybe some other languages) as pulser_g2 has said.
For app development, you need to know the basics of Java. It's a must. Otherwise you'll end up getting nowhere.
For ROMs, you need to have a good understanding of both Java and C (and some other languages).
You can learn these online. I'm learning C myself. It's really easy.
Hope I helped.
sgt. meow
I too want to learn android development, just dont know where to start. Been waiting for xda university to open up for this very purpose. now I went through the site and still have a couple questions. I see that learning C is fundamental, where would you guys suggest would be the best place to learn? i was hoping for something like codeacademy, they dont have C though. Also, which distribution of linux would you guys suggest to install?
If you just want to dive in, and have fun creating small Android apps, learning Android concepts as you go, I highly recommend MIT App Inventor (AI): http://appinventor.mit.edu/ . It used to be Google AI but Google wanted to focus on other things.
I have decades of experience in Unix & Linux low level mostly C software development, but was new to Android & Java in Feb. 2011. App Inventor was a great intro to Android concepts, but it seems almost impossible to make commercial quality apps of any size with it.
So after a few months I dove into Java with the Android SDK & the concepts I learned with AI transferred well.
If you want to run Linux on your PC, which is a great way to learn Linux in general, Ubuntu remains quite popular, but a lot of us techy types have moved to Mint. I'm still on Ubuntu but will likely try Mint at some point.
The original and seminal book on C language is this: http://en.wikipedia.org/wiki/The_C_Programming_Language . It was a great intro for me back in the 1980's. But many C++ people will tell you learning C first may mess you up for C++. I never really caught on to C++ and don't care now as Java is IMO better.
This is the seminal book for C++: http://en.wikipedia.org/wiki/The_C++_Programming_Language
In general I think C is better for kernel and low level Android NDK stuff; C is the language of the kernel. For higher level Java of course, using Eclipse as an IDE since it still is the most widely used IDE I think.
Any good sites or tutorials for learning Linux????????????/
l0lh4rd said:
Any good sites or tutorials for learning Linux????????????/
Click to expand...
Click to collapse
http://www.ee.surrey.ac.uk/Teaching/Unix/
sgt. meow said:
If it's okay, I'd like to suggest something.
@lesfauves
For kernel development, you really need to learn C, C+, C++ etc. C is the most important language here. However if you're gonna build vanilla kernels (with no modifications whatsoever), a simple guide should do it. Modifying source code requires knowledge of C (and maybe some other languages) as pulser_g2 has said.
For app development, you need to know the basics of Java. It's a must. Otherwise you'll end up getting nowhere.
For ROMs, you need to have a good understanding of both Java and C (and some other languages).
You can learn these online. I'm learning C myself. It's really easy.
Hope I helped.
sgt. meow
Click to expand...
Click to collapse
I wanted to to help my phone community and my self of course...from where you can learn c online??i know my way with pc i make some roms from my community but i need to start learning to compile from source!!! share your links if you can thanks!!
Lynda.com
pikachukaki said:
I wanted to to help my phone community and my self of course...from where you can learn c online??i know my way with pc i make some roms from my community but i need to start learning to compile from source!!! share your links if you can thanks!!
Click to expand...
Click to collapse
A great site that I use to learn with for web design and development is Lynda.com which has a good amount of C tutorials and learning. It isn't free but a subscription is worth the site. There is a huge amount of information, tutorials, and learning that can be done there.
Go look at my post in this forum section.! May help you
Sent from my PG86100 using xda app-developers app
Thats great but remember that i study pc hardware and i dont have none of programming knowlage at all!!!i once try to learn basic but i get bored cause i dont needed then
pikachukaki said:
Thats great but remember that i study pc hardware and i dont have none of programming knowlage at all!!!i once try to learn basic but i get bored cause i dont needed then
Click to expand...
Click to collapse
Aaaaaah gotcha
Sent from my PG86100 using xda app-developers app
Search for newboston.org in Google it has tutorial + forums for every language + android app development too must see website for me! Enjoy development
Sent from my GT-S5360 using xda premium
Ok lets say i want to learn how to make a device tree for my device cause noone make it...then compile aosp or cm and make it a usable rom for a device...to go to a bookstore to buy a book in my language to remove the possibility of wrong learning...what book to buy??java, c , c++??
This is a great idea, and as i have just started learning C at university (And Java next year woo!) i will be visiting this alot for reference and tutorials. I still find C hard to get grips with but i do have a basic understanding of it. I also like messing around with kernel's and stuff on android and really want to make my own ROM or kernel soon!
So thanks XDA and everyone involved in this !
pikachukaki said:
Ok lets say i want to learn how to make a device tree for my device cause noone make it...then compile aosp or cm and make it a usable rom for a device...to go to a bookstore to buy a book in my language to remove the possibility of wrong learning...what book to buy??java, c , c++??
Click to expand...
Click to collapse
If you want to learn how to make a device tree check outthis guide, then when your ready to try compiling AOSP and Cyanogenmod check out this guide. If you want to learn to compile ROM's and then I would recommend a book on Linux and C for programming kernels such as C All-in-One Desk Reference. On the other hand if you want to program applications a good Java book is important and I would recommend Head First Java. Hope this clears things up, let me know if you still have questions.
shimp208 said:
If you want to learn how to make a device tree check outthis guide, then when your ready to try compiling AOSP and Cyanogenmod check out this guide. If you want to learn to compile ROM's and then I would recommend a book on Linux and C for programming kernels such as C All-in-One Desk Reference. On the other hand if you want to program applications a good Java book is important and I would recommend Head First Java. Hope this clears things up, let me know if you still have questions.
Click to expand...
Click to collapse
My point is basically to learn how to create the device tree and then compile any rom i can and hope that i can use fixes from others and hints from others...im not really interesting of making an application!!
can read my guide here
mithun46 said:
can read my guide here
Click to expand...
Click to collapse
Please stop spamming your link across each thread. And tone down the MASSIVE text in the thread - it just looks unprofessional.
so, where do I start? C or C++?
Sent from my R800i

Lone dev looking for coding help

So i might not have the tag on here but i have done dev work (rootzwiki is where i used to dev.) and i have created a small little guide for the BSOD fix for our nexus 5's. Which is actually what brings me here today. Im looking for someone that has coding knowledge (not android persay but someone that is good with commands and cmd prompt.) im currently working on a project and ive got the base of it down i just am needing a bit of help for auto input. If ANYONE is willing to help please let me know. I dont want to post me code here as this project is a milestone for me as so far ive written it all by myself.
Thanks in advance.
What is BSOD?
Gene Poole said:
What is BSOD?
Click to expand...
Click to collapse
Black Screen of Death. Its an issue i myself had and 1-3 others have had. Its very rare and only happened to me because i acidently flashed hells core (using the app from the playstore) and it flashed the nexus 4 kernel on my nexus 5 causing my device to not show anything on the screen NOR boot to either boot recovery OR the actual os.
wolfirotisha said:
So i might not have the tag on here but i have done dev work (rootzwiki is where i used to dev.) and i have created a small little guide for the BSOD fix for our nexus 5's. Which is actually what brings me here today. Im looking for someone that has coding knowledge (not android persay but someone that is good with commands and cmd prompt.) im currently working on a project and ive got the base of it down i just am needing a bit of help for auto input. If ANYONE is willing to help please let me know. I dont want to post me code here as this project is a milestone for me as so far ive written it all by myself.
Thanks in advance.
Click to expand...
Click to collapse
Well... I know the fundamentals of programming and I have participated in a programming contest (I'm 18) and also I am quite good with automation cause I needed it for my projects.
Below you can see my work on a .bat file I've made to make easier my work on a homebrew PSP game.
https://github.com/Leajian/cspsp-nightly/blob/master/jge/Projects/cspsp/CSPSPdevTools-1.0.bat
The same goes with linux related automation, as you can see below here, I've created an (unfinished and buggy) menu script for android which is modular and unfortunately kinda slow and incompatible with some devices, cause by the time I was writing it I had no particular knowledge about programming. I was self-taught and I had been using goto methods. :silly:
https://github.com/Leajian/xMenu
I don't know what exactly you're looking for, please be more specific. I think I can help, but after 29/5/2015 because at that day my finals end.
EDIT: As long as your device has intact bootloader partition and it boots to it, you can always flash a nexus 5 kernel and/or a recovery image. It is suggested that you flash a factory image afterwards.
wolfirotisha said:
So i might not have the tag on here but i have done dev work (rootzwiki is where i used to dev.) and i have created a small little guide for the BSOD fix for our nexus 5's. Which is actually what brings me here today. Im looking for someone that has coding knowledge (not android persay but someone that is good with commands and cmd prompt.) im currently working on a project and ive got the base of it down i just am needing a bit of help for auto input. If ANYONE is willing to help please let me know. I dont want to post me code here as this project is a milestone for me as so far ive written it all by myself.
Thanks in advance.
Click to expand...
Click to collapse
I can help u out depending on what ur looking for, I have experience in java, c++, c, c#, python, bash, html5 and php, lmk if I can be of assistance

I'm a NOOB and I need some guidance.

I'm just getting into Android development , app development, and Web creations. I am taking courses through Microsoft and learning Android on my own. That's all great however there are things they just dont teach on there. Is there anyone out there that would give me some advice on where I can look to hone my skills and get into hacking some of these platforms and creating more practical apps that people actually need. I am interested in rooting Android devices I've tried a bunch successful a few times but I can't find the software I need to be proficient at it. Any pointers?
Jp2348 said:
I'm just getting into Android development , app development, and Web creations. I am taking courses through Microsoft and learning Android on my own. That's all great however there are things they just dont teach on there. Is there anyone out there that would give me some advice on where I can look to hone my skills and get into hacking some of these platforms and creating more practical apps that people actually need. I am interested in rooting Android devices I've tried a bunch successful a few times but I can't find the software I need to be proficient at it. Any pointers?
Click to expand...
Click to collapse
hello and welcome, first off spend some time researching in here for
Jp2348 said:
I'm just getting into Android development , app development, and Web creations. I am taking courses through Microsoft and learning Android on my own. That's all great however there are things they just dont teach on there. Is there anyone out there that would give me some advice on where I can look to hone my skills and get into hacking some of these platforms and creating more practical apps that people actually need. I am interested in rooting Android devices I've tried a bunch successful a few times but I can't find the software I need to be proficient at it. Any pointers?
Click to expand...
Click to collapse
Welcome aborad,
Try to locate your devices section and be prepared to deep read in order to find the jewels

Categories

Resources