Guide on developing - Android Q&A, Help & Troubleshooting

I'm learning C currently and I want to help in developing, porting and fixing bugs ofcyanogenmod for my device. Could anyone tell me what should I learn so that I could work on that category?

Hi
I'm just beginning development too. All u need to know is Java. Actually u need XML too but eclipse has the opinion to generate an XML file automatically

http://thenewboston.org/
Watch this guys c, c++, java and android development tutorials. The absolute best on the internet. This guy knows literally just about EVERYTHING in the universe.
Great starting point to move on to grander things.
Sent from my GT-I9000 using XDA

Related

Howto make a custom rom

how can i make my own custom rom ?
i wwant to be a chef not a developer
i know some really good video tutorials for you... what phone do you have?
ljbaumer said:
i know some really good video tutorials for you... what phone do you have?
Click to expand...
Click to collapse
nexus one .
Video's for G1 As well?... Heck! Just link the lot of them <3
winter
link what you want
i tried to make the rom but when i flash it it is stock on the bootsplash.
i delete launcher e put adw, i put
- blackbar
- genie widget mod
- music mod
- video drier mode
- htc ime
- 2.1 build .prop
nothing to do, i do't know why it is blocked on the boot logo
Best Kitchen?
Hello all, i was just wondering which kitchen would be best for me as a beginner to android rom cooking? I have a good grasp of linux thanks to my good friend arran (arranmc182 on xda i think ) so was wondering which was the best
Thanks
Will
willcaddy said:
Hello all, i was just wondering which kitchen would be best for me as a beginner to android rom cooking? I have a good grasp of linux thanks to my good friend arran (arranmc182 on xda i think ) so was wondering which was the best
Thanks
Will
Click to expand...
Click to collapse
best is always to go from stock, as it forces you to implement things and know what you're doing.
copy cyanogen do not make you a "rom cooker"
Hey Guys,
I'd like to get involved with making Android ROMs as well. I have a Droid and would LOVE to make my own Droid ROMs . I am already a student software developer so I don't mind getting into the nitty gritty, in fact, the deeper the better, so I can fully learn how to build and work with Android. I also hope to be able to make Android apps eventually too. I know Java and Perl fairly well and have recently started C and C++.
Any suggestions for where to start would be greatly appreciated, i.e. tutorials, videos, guides, what languages I need to know, what tools I should use (eclipse, etc., with what plugins, etc.). Thanks a bunch, and let me know if you guys have ideas for apps you'd like to see on the Market .
-GB
-------------------------------------
Sent via the XDA Tapatalk App
Count me in
GaMeBoY439 said:
Hey Guys,
I'd like to get involved with making Android ROMs as well. I have a Droid and would LOVE to make my own Droid ROMs . I am already a student software developer so I don't mind getting into the nitty gritty, in fact, the deeper the better, so I can fully learn how to build and work with Android. I also hope to be able to make Android apps eventually too. I know Java and Perl fairly well and have recently started C and C++.
Any suggestions for where to start would be greatly appreciated, i.e. tutorials, videos, guides, what languages I need to know, what tools I should use (eclipse, etc., with what plugins, etc.). Thanks a bunch, and let me know if you guys have ideas for apps you'd like to see on the Market .
-GB
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Hey
If you find any videos on making custom roms,, count me in..
i currently have the Sprint EVO 4g..
leonnib4 said:
best is always to go from stock, as it forces you to implement things and know what you're doing.
copy cyanogen do not make you a "rom cooker"
Click to expand...
Click to collapse
i am trying to compile from aosp. since i have no programming experience at all, it is a slow learning process so far. my ubuntu has redo and git running perfect now. i have eclipse working but have not used it at all yet. androidsdk 2.2 adb is fine but fastboot is a hassle.
so far, two froyo alphas both flashed but buggy. not one decent tutorial that makes the kernel compile/framework/gapps process clear
My AOSP 2.2 for passion/n1 alpha2 is pretty darn solid now. It took mushing together instructions from 5 incomplete tutorials to fill in the blanks.
What a great feeling to have a ROM not kanged. The Repo/Git tool has gotten easy to use after several long sessions using it in Ubuntu 10.04 LTS.
Anyone on the same OS, I suggest you research and install both Java 1.5 & 1.6 and get use to switching between the two. Also, I have not yet used Eclipse but it isinstalled and it works with SDK.
The Android Open Source site does a decent job of walking you through Repo...Git...and getting the source. After getting that far, I stumbled through setting up a "vendor tree" and looking through all the folders and files to see what it was all about. Much of it was totally over my head. But after attempting several crap builds, the "compile" process is sinking in a bit.
...tapatalk post from n1...
.............
I found this site to be very helpful for building from AOSP...
http://blog.alsutton.com/2010/06/29/building-aosp-for-the-nexus-one/
Successfully compiled for the first time yesterday..still trying to figure out how to make it rooted .
http://forum.xda-developers.com/showpost.php?p=7204823&postcount=1
for getting source to compile ^^^

[Q] How to start making Android Apps

Hey guys, so im on holiday for four months.
So i have decided i wanna learn how to make Android apps.
I know i have to learn Java. I have done semester of C in uni. so Java shouldnt be too hard to learn.
I was just wondering if you guys have sites or ideas of where i should start. What kind of apps. Sites for learning Java etc..
Please Help
Ramis93 said:
Hey guys, so im on holiday for four months.
So i have decided i wanna learn how to make Android apps.
I know i have to learn Java. I have done semester of C in uni. so Java shouldnt be too hard to learn.
I was just wondering if you guys have sites or ideas of where i should start. What kind of apps. Sites for learning Java etc..
Please Help
Click to expand...
Click to collapse
Google. Bing. Yahoo.
a nice guide on making android apps:
http://forum.xda-developers.com/showthread.php?t=1244196
terratrix said:
Google. Bing. Yahoo.
Click to expand...
Click to collapse
Why do they spam the general section?
Go to the android development And hacking section on XDA.
There are quite a few guides there.
Go to Barnes and noble, they have tons of books on programming android applications, use Google.com with billions of pages online, Google has only indexed .004% of it bit with that margin of a percentage not only can you find android porn you might fine Java application programming
Sent from my LG-P500 using xda premium

[Q] How do you develop roms?

Hello I am new to xda and I would like to start developing new custom roms and kernels however I do not know where to start.
Just some background info about me:
I am 15 yrs old
I am have programmed in the following:
c++
visual basic
c#
asm
Java
javascript
html
android 2.2 framework
window phone 7 framework
xml
ios
XNA
I have done computer repair for people along with console repair
Tools I have used:
visual studio
android sdk
eclipse
dreamweaver
dev c++
Photoshop
appmobi xdk
phonegap xda
xcode iphone sdk
and some more
Phone I currently have:
evo 3d
I am a noob to making roms and I do not know how to start if someone could help me or point me into the right direction that would great. Thanks
There are some basic tutorials on doing certain things in the Development section. Maybe start doing some reading and trying to edit some files, try a creating a theme etc to get acquainted perhaps?
That's quite a list of achievements! You will most certainly find help here: http://forum.xda-developers.com/forumdisplay.php?f=613
Be patient, and be polite. I'm sure you'll soon be making what you want
LiquidSolstice said:
That's quite a list of achievements! You will most certainly find help here: http://forum.xda-developers.com/forumdisplay.php?f=613
Be patient, and be polite. I'm sure you'll soon be making what you want
Click to expand...
Click to collapse
Thanks I can't wait to get started making roms and expand my knowledge
Ps I like the rest in peace buddy for the hero lol
Please use the Q&A Forum for questions Thanks
Moving to Q&A
The only tut that I could really find was the android kitchen would I be able to completely develop android roms in there or is their specific tutorials for that
Edit: Found these tuts on youtube
http://www.youtube.com/watch?v=1_H4AlQaNa0
http://www.youtube.com/watch?v=rFqELLB1Kk8&feature=relmfu
Hope to see you guys downloading my roms when they come out
buckboy223 said:
Hello I am new to xda and I would like to start developing new custom roms and kernels however I do not know where to start.
Just some background info about me:
I am 15 yrs old
I am have programmed in the following:
c++
visual basic
c#
asm
Java
javascript
html
android 2.2 framework
window phone 7 framework
xml
ios
XNA
I have done computer repair for people along with console repair
Tools I have used:
visual studio
android sdk
eclipse
dreamweaver
dev c++
Photoshop
appmobi xdk
phonegap xda
xcode iphone sdk
and some more
Phone I currently have:
evo 3d
I am a noob to making roms and I do not know how to start if someone could help me or point me into the right direction that would great. Thanks
Click to expand...
Click to collapse
I thought I was the only 15 year old who could program. Haha its easy to start. Just follow the ruts people posted.
Sent from my HTC EVO 3D using XDA App
rtbluver said:
I thought I was the only 15 year old who could program. Haha its easy to start. Just follow the ruts people posted.
Sent from my HTC EVO 3D using XDA App
Click to expand...
Click to collapse
What languages have you programmed in?

I'm using Linux and could use some help with learning to develop for Android

Hello,
I'm fairly new to developing in general and I am some what intimidated by what I've been told I may have to learn to develop for Android.
Here's what I've done so far by reading the threads:
I've downloaded the latest Android SDK and its tools
I read through the ADB man page and have created my path to my Device
I know how to push, pull, log and from Terminal.
I was told that I may need to learn Java to develop for Android. If this is the case, do any of you recommend specific books?
If so - could you put the Amazon link in a reply? Or maybe just the author's name?
Thank you in return.
Klonopin said:
Hello,
I'm fairly new to developing in general and I am some what intimidated by what I've been told I may have to learn to develop for Android.
Here's what I've done so far by reading the threads:
I've downloaded the latest Android SDK and its tools
I read through the ADB man page and have created my path to my Device
I know how to push, pull, log and from Terminal.
I was told that I may need to learn Java to develop for Android. If this is the case, do any of you recommend specific books?
If so - could you put the Amazon link in a reply? Or maybe just the author's name?
Thank you in return.
Click to expand...
Click to collapse
Actually i would recommend you to start devving by making themes because it only involves editing xmls in apk and changing images...it will also help you understand how to decompile and recompile apk which is the most basic of modding!!!
Sent from my GT-N7000 using xda app-developers app
vijai2011 said:
Actually i would recommend you to start devving by making themes because it only involves editing xmls in apk and changing images...it will also help you understand how to decompile and recompile apk which is the most basic of modding!!!
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Which is creating themes, not developing, they are two totally different things.
@OP
http://shop.oreilly.com/product/0636920023005.do
http://shop.oreilly.com/product/063...4aa42dc6a903&intcmp=af-mybuy-0636920010883.IP
http://www.amazon.com/Java-Programm...keywords=Java+Programming:+From+the+ground+up
vijai2011 said:
Actually i would recommend you to start devving by making themes because it only involves editing xmls in apk and changing images...it will also help you understand how to decompile and recompile apk which is the most basic of modding!!!
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
I was thinking about making some themes for devices and what not. So if you have any resources PM me - I'd be interested in that as well.
thewadegeek said:
Which is creating themes, not developing, they are two totally different things.
@OP New user can't post links - had to remove them.
Click to expand...
Click to collapse
Thank you thewadegeek - I'll be doing some researching. Ubuntu 12.04 is fine for developing right? or would I need something else?
Klonopin said:
Ubuntu 12.04 is fine for developing right? or would I need something else?
Click to expand...
Click to collapse
Hi There
Ubuntu is fine for development, You're going to want to install eclipse. You're really tackling 2 things here, Java Development and how that applies to Android.
If you're starting from the very beginning then some good resources are.
Android Developer web site [ developer.android.com ]
This should be the first place you go to for android development, it contains the documentation for the android framework as well as some additional howto's etc. The Installing the SDK [ developer.android.com/sdk/installing ] will guide you through getting eclipse setup and ready for Android Development. You should then be able to follow the Building Your First App [ developer.android.com/training/basics/firstapp ] guide, to create your first Android app.
For Java Development in General the Oracle website has some good resources.
Oracle Java Tutorials Index [ docs.oracle.com/javase/tutorial ]
If you're completely new to software development then you'll want to read The Java Language Section [ docs.oracle.com/javase/tutorial/java ] , this explains Object Oriented Programming and it's conecpts. I would probably look at the Get Started Section [ docs.oracle.com/javase/tutorial/getStarted ] also, although you maybe able to get by with the Android Stuff.
Hope That Helps and Good Luck!
trevd said:
Hi There
Ubuntu is fine for development, You're going to want to install eclipse. You're really tackling 2 things here, Java Development and how that applies to Android.
If you're starting from the very beginning then some good resources are.
This should be the first place you go to for android development, it contains the documentation for the android framework as well as some additional howto's etc. The Installing the will guide you through getting eclipse setup and ready for Android Development. You should then be able to follow the Building Your First App guide, to create your first Android app.
For Java Development in General the Oracle website has some good resources.
If you're completely new to software development and then you'll want to read, this explains Object Oriented Programming and it's conecpts. I would probably look at the Get Started Section also, although you maybe able to get by with the Android Stuff.
Hope That Helps and Good Luck!
Click to expand...
Click to collapse
Hi I've already gotten the Android SDK and as previous users have given me, I also have Java books and Android development books as well but I'm happy to try another thing out as well. Thanks for the informative articles.
Sent from my LiquidSmooth ICS 1.5 Thunderbolt
Klonopin said:
Hi I've already gotten the Android SDK and as previous users have given me, I also have Java books and Android development books as well but I'm happy to try another thing out as well. Thanks for the informative articles.
Sent from my LiquidSmooth ICS 1.5 Thunderbolt
Click to expand...
Click to collapse
You have what you need.
Sent from my Galaxy Nexus using xda premium
Yep you'll be fine with 12.04.
Sent from my SCH-R760 using Tapatalk 2
I just picked up a physical book of Learning Android 2 from my library. Is there a different framework between versions?
I would honestly say there is no starting point.
You can start developing kernels. Even I try to do a basic understanding of how they work. I do basic undervolting for my phone and few mods.
You can also try learning java and contribute to Android AOSP or CyanogenMod
Or yeah theming is also an option.
I would also like an answer to this...
I have ubuntu installed, I have Java experience, I have the Android SDK installed.
Are there any tutorials out there that give you a step by step guide on how to build a fully functioning Android ROM from scratch?
I've had a look around and different tutorials are telling me different things and they all seem to say "this will not make a full ROM". I have a phone that isn't widely supported (Galaxy S2 LTE i9210t Australia) and since Samsung have delayed ICS for our device for about the 100th time, I'd like to learn how to develop ICS for our handset.
Our handset doesn't even have a forum. We have one thread with quite a few people crying out for a decent, stable ROM 4.0+ and I'd like to help.
Dallby said:
I would also like an answer to this...
I have ubuntu installed, I have Java experience, I have the Android SDK installed.
Are there any tutorials out there that give you a step by step guide on how to build a fully functioning Android ROM from scratch?
I've had a look around and different tutorials are telling me different things and they all seem to say "this will not make a full ROM". I have a phone that isn't widely supported (Galaxy S2 LTE i9210t Australia) and since Samsung have delayed ICS for our device for about the 100th time, I'd like to learn how to develop ICS for our handset.
Our handset doesn't even have a forum. We have one thread with quite a few people crying out for a decent, stable ROM 4.0+ and I'd like to help.
Click to expand...
Click to collapse
Im not going to link to them because they are common as muck on xda but look for guides for building from source. If you have the source, you can make any changes you like without having to patch stuff together.
I havent personally started doing this yet but ive been messing with android for about 2 years now and ive just started creating my own roms etc.
Sent from my MB860 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1762641
Klonopin said:
Hi I've already gotten the Android SDK and as previous users have given me, I also have Java books and Android development books as well but I'm happy to try another thing out as well. Thanks for the informative articles.
Sent from my LiquidSmooth ICS 1.5 Thunderbolt
Click to expand...
Click to collapse
I recommend you learn basic java then check out the hello world tutorial on developer android page.
focus more time on programming then reading, play around with the code.
and good luck.

Hey looking for TUT for c++ but in more concrete way

Hey All
i have same knowledge about c++
and i like to learn more
but i got problem while studying in non-perceptible way
i forget very quickly :\
is there tut, book or video for c++ or c# with like actually making project
and explain the steps of design making the sub functions
why use this and why not that
thx u
i hope im clear my English is not good im sorry for that
TheNewBoston (A.K.A Bucky Roberts) Does an amazing job of teaching C++
Since i can not post links yet, Youtube > TheNewBoston C++ and it will come up in a playlist hope that helps
I show this to a lot of people who ask me about learning C++ and they all really seem to improve from it
Well if you looking for C#, there is a thread with links in this forum
Sent from my XPERIA X8 using Tapatalk 2

Categories

Resources