I'm using Linux and could use some help with learning to develop for Android - 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.

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 ^^^

Android App Development for X10

Hi all,
re: App development.
I have some experience of JAVA and have a fair bit of experience with JS and PHP, so coding is not alien to me.
I have come across a few things where I have thought "an App would be great for that!" and would like to investigate App development. I have read through a couple of tutorials, but they all assume more Android experience than I have.
I'm not after specifics from board members here, but wondered if anyone knew of an 'Android Apps 101" or an Android App development alternative to the famous 'Hello World' intros there are for most languages.
Thanks for any leads people can give me.
I think the Android Developer's Guide is great http://developer.android.com/guide/index.html
Just started developing a small app myself a few days ago, and the biggest problem so far is Java itself. The android development itself is really easy. You can create UIs via drag & drop when using eclipse + android plugin and the rest is well documented in the guide I posted.
:/ how I managed to miss that I don't know...
thanks very much - exactly what I'm after
rpedroso said:
Can you make a Remote Play app???????
Click to expand...
Click to collapse
Like Playstation 3 remote play? Probably not, it'd be ridiculously difficult.

[Q] IDE Targeting Android that runs on Android

Hi Everybody.
Sorry if I missed previous posts about this.. I did look.
I'm wondering what progress has been made in making a development toolchain targetting Android that runs on Android.
I'd like to be able to develop apps on the actual device without the need for a PC.
Thanks,
Craig
AFAIK nobody made a toolchain like that, BUT there's a workaround which might work. read after how to install ubuntu/debian over Android and there u might be able to run the necessary programs
Sent from my MB525 using xda premium
Thanks, I'll look into that. At least it would be the full SDK in that case despite it being a little kludgey. Thanks again.

[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?

[Q] Rom creation

So, what programming languages and tools do I need to learn/get?
java.. Android sdk, Eclipse IDE.. that should about do it
Android is a multi user Linux OS.
You can start out by dloading the source from code.google and compiling your own version.
A little more info.
The apps etc are for the most part Java with each app running in its own sandbox as a separate user in their own vm.
hey btw if I remember right (its been a couple years) the sdk comes with a few sample apps to give you an idea of how to code an app if you want to do more than edit a rom and recompile and actually create your own app.
Sent from my Transformer Prime TF201 using Tapatalk
jdeoxys said:
So, what programming languages and tools do I need to learn/get?
Click to expand...
Click to collapse
Hope somebody answers your question about ROM development. There are some simple tutorials about swapping pieces out here and there, but I assume you are talking about getting in there and coding! I've always figured it was C++, which I have programmed in for a number of years, but maybe it is Java.
You need either a Linux or Mac, I know that. I actually have the whole development package loaded on my Linux machine, and have even got to the point of compiling a ROM for a device that I do not own. I must confess to just blindly typing in the commands. There is still too much I do not know about repositories and Ubuntu itself. Anyway, I just keep plugging away researching here and there.
Hope someone does a TF201 ROM compiling tutorial soon ... haven't found it yet.
For the record, I have written a fairly complicated .apk for phone/tablet users at my place of work. They really love it. But, Android development is child's play compared to ROM development ... it is simpler and also very well documented on the internet.
---------- Post added at 09:06 PM ---------- Previous post was at 08:58 PM ----------
(P.S.) You will want to spend a lot of time on this site:
http://developer.android.com/index.html
From here I got the Android SDK and Eclipse installed ... you need Java, too. It is all well documented.
programming language
net , java ,and so on~~
THanks, guys gonna give it a shot.
Sent from my tablet thing with XDA Premium.
jdeoxys said:
So, what programming languages and tools do I need to learn/get?
Click to expand...
Click to collapse
Here is a great link for ROM development:
http://forum.xda-developers.com/showthread.php?t=667298

Categories

Resources