Learning java - XDA-University

What books or pages of Internet do you recommend me? (if it's in spanish better but it doesn't care me if it's in English)

Go to the new Boston tuts on YouTube
Sent from my HTC One V using xda premium

Check Head First Java book if you want to have a hard copy you can check any time

Are you using that to learn java? Is working for you?
Enviado desde mi GT-P3110 usando Tapatalk 2

In Spanish i use Oracle Java 7, it's great

Get all the documentation you need, on line straight from the horse's mouth.
http://www.oracle.com/technetwork/java/javase/documentation/index.html
Sun originally developed Java, before Oracle bought them out.
The "Java resources" panel to the right contains some pretty useful stuff.
Like C# and the .NET framework, Java has thousands of objects you can use, to the point of almost total confusion.
You will need to keep one eye on the API definitions, unless you have a specific IDE that is aware of the version that you are trying to code, and can prompt you for the parameters to methods etc.
It is currently only in English, Chinese or Japanese.
Tutorials: http://docs.oracle.com/javase/tutorial/index.html

Bruceeckel.com. the best
Sent from my SPH-L720 using xda app-developers app

IMO it would be better to buy a book that teaches Java... it is not a simple language so you'll have to study it very hard

Use roseindia website. Java mentals and genious group there. All tutorials are there.
Use console dont use IDE for beginning. Good luck.
Sent from my GT-S5360 using xda app-developers app

Also this site here is great! I've taken a look at it and it teaches the basis of the language, very well done.
https://www.udemy.com/java-tutorial/

Google is my master for programming.
Sounds cheesy, but I am serious. I usually look for ebooks and youtube tutorials through google. I think someone above has already suggested this, but boston tuts is great. Other than that, I use stackoverflow for any questions i have. they are a very professional community that is able to provide very clear and detailed answers to any problem you are having.
Just make sure that you program while you learn. Just watching 3 hours of youtube tutorials will not help you. You will definitely have to spend a considerable amount of time actually writing programs and debugging them(80% of that time will be you banging your head on the keyboard : P )

Stackoverflow good for android too. Main is usage of our own brains. Even oracle may not help in many cases.
Sent from my GT-S5360 using xda app-developers app

codeguru and codeproject have a java section, there are many exemples and tutorial

Thanks for the recommendations

Can you guys tell me if I want to start android programming what knowledge should I have ? I know Java is important & guessing XML is good to know too .Anything else guys ?
Sent from my MT27i using Tapatalk 4

arsal_93 said:
Can you guys tell me if I want to start android programming what knowledge should I have ? I know Java is important & guessing XML is good to know too .Anything else guys ?
Sent from my MT27i using Tapatalk 4
Click to expand...
Click to collapse
it depends on which part of android you want to develop java is a very small part of android, basically apps... xml is pretty much everywhere... but i would recommend to study C because you need it for kernels and many other stuffs

Look I am not interested in kernel right now but want to develop apps & port mods too ? Any idea what I should focus on ?
Sent from my MT27i using Tapatalk 4

arsal_93 said:
Look I am not interested in kernel right now but want to develop apps & port mods too ? Any idea what I should focus on ?
Sent from my MT27i using Tapatalk 4
Click to expand...
Click to collapse
Java it is.
But learning C won't be a time waster because its the kindergarten class when a student wants to become a programmer. But for the sake, learning Java is more than enough to develop apps.

coolsandie said:
Java it is.
But learning C won't be a time waster because its the kindergarten class when a student wants to become a programmer. But for the sake, learning Java is more than enough to develop apps.
Click to expand...
Click to collapse
Thanks for the advice but I also want to know if you can give me advice on how to port mod ?
Sent from my MT27i using Tapatalk 4

arsal_93 said:
Thanks for the advice but I also want to know if you can give me advice on how to port mod ?
Sent from my MT27i using Tapatalk 4
Click to expand...
Click to collapse
Can't, because honestly I don't have a clue. Google is your friend.

Related

Now we need Devs!

I'm willing to test any and all roms, themes etc. for any devs. Just let me know. I'll be getting a different phone so I'll just use the Zio as a testing ground!
okay guinea pig... since the rom seems to be deodexed. see if any of the blackbar mods for froyo work
I'm already a step ahead of you. Ill post what works tomorrow.
Sent from my Zio using XDA App
I am also willing to use my Zio to help
Sent from my from my rooted 2.2 no bloat Zio using XDA App
Tomorrow was a day ago. Any updates?
z3r0t0l0rEnCe said:
I'm already a step ahead of you. Ill post what works tomorrow.
Sent from my Zio using XDA App
Click to expand...
Click to collapse
Sent from my Zio using XDA App
I would also know how that worked. I would love to have a black bar instead of this grey one.
Sent from my from my rooted 2.2 no bloat Zio using XDA App
Sorry for the late reply. I've tested three of the black status bars without any success. Still learning.
Sent from my Zio using XDA App
Where is the status bar located within the file system? I want to see if there is anything I can do.
Sent from my from my rooted 2.2 no bloat Zio using XDA App
I found the location of the status bar. Check my thread for more info. I think we just need to do a little work.
Sent from my from my rooted 2.2 no bloat Zio using XDA App
Well Im going to teach myself Java because supposedly it is prerequisite for learning to develope for android. I came across good 101 Java tutorials online. I just really want to mod roms for my zio and maybe even start creating an app.
Any ideas?
I'm currently taking Linux+ so I should be of some help.
Sent from my Zio using XDA Premium App
Yeah I'm not going to start taking OS classes for my major until I start taking core classes. In either case Im going to start early with Java. My school library has older editions of Java textbooks I think but I'm to check them out AZ well.
DarkkEnergy said:
Well Im going to teach myself Java because supposedly it is prerequisite for learning to develope for android. I came across good 101 Java tutorials online. I just really want to mod roms for my zio and maybe even start creating an app.
Any ideas?
Click to expand...
Click to collapse
You can develop full apps with java and xml for the layout. Being familiar with linux is also a must, since android is just a linux flavor.
http://www.thenewboston.com/ is a great place for a beginner or guru. Tons of video java lessons as well as android development.
Linux has helped me with the file system. Although I still have alot to learn before I am any kind of guru.
Sent from my Zio using XDA Premium App
everything of importance on android phones is written in java.
But the kernel and file system is Linux based. You have more on your phone that you wouldn't think you would have on a phone.
Sent from my Zio using XDA Premium App
Yes, the OS is linux based, however all the apps are java based.
Here, read this
Its from cyanogen himself. Good place to start if you want to get involved with android.
option94 said:
Yes, the OS is linux based, however all the apps are java based.
.
Click to expand...
Click to collapse
The Android platform is basically a linux flavor. It contains more then a linux the file system and kernel. Yes exactly what I posted, Java may be used in android development. That is not the only language, There are a few others including C.
Thanks for claryfing the different programming languages and their relevance to the cell phone structure and android OS.
Java and linux are both important for exploiting and developing in other words.
Any and all Devs, please join us @ irc.freenode.net/openzio

Want to learn java

Guys what's the very first thing should i look into if i want to learn the workarounds of java?
I want to learn it obviously because of Android. Thanks!
Sent from my SGH-T959 using XDA App
I have an Alice and Java textbok somewhere. Wanna buy it? lol
the easiest and best way to learn java right here:http://www.youtube.com/watch?v=Hl-zzrqQoSE&feature=related
jaszek said:
I have an Alice and Java textbok somewhere. Wanna buy it? lol
Click to expand...
Click to collapse
i would if I could.
I really have no idea about programming, is it ok to jump ahead to Java? Or is there something else that I should look into first?
Sent from my SGH-T959 using XDA App
G
iynfynity said:
i would if I could.
I really have no idea about programming, is it ok to jump ahead to Java? Or is there something else that I should look into first?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Just go straight into java, that's what I did, and I had zero programming experience just like u. Look at those video tutorials I posted, those are the best videos to learn java from scratch. Wayyyy better than any books on java. Trust me.
Sent from my COS-DS using XDA App
dude thanks! This video is so easy to follow! thanks again!!
Also do which text editor should i use? notepad isn't working lol
nvm downloaded notepad++
For editor I used netbeans. It's great for learning.
I have very little programming experience too, but I would like to learn how to make or customize widgets. Do I have to learn java or is it javascript to do it? How do I get started? For example, i'd like to make a clock timer widget. HOw do I get started. Sorry to jump onto your thread but it seemed related. Thanks.
duvalla said:
I have very little programming experience too, but I would like to learn how to make or customize widgets. Do I have to learn java or is it javascript to do it? How do I get started? For example, i'd like to make a clock timer widget. HOw do I get started. Sorry to jump onto your thread but it seemed related. Thanks.
Click to expand...
Click to collapse
Not at all, i want to know things like these anyway.
guys how much knowledge do you need in java before you can create an application on android?
Write a HelloWorld application.
Code:
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
iynfynity said:
guys how much knowledge do you need in java before you can create an application on android?
Click to expand...
Click to collapse
Uh, that depends on what kind of Android application you want to make, what you want it to do, etc.
gnarlycs said:
Write a HelloWorld application.
Code:
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
Uh, that depends on what kind of Android application you want to make, what you want it to do, etc.
Click to expand...
Click to collapse
Yup, I know how to make that hello world. Should I just continue to watch tutorials until I learn the 2d gaming? that's what I really want to create.
Sent from my SGH-T959 using XDA App
iynfynity said:
Yup, I know how to make that hello world. Should I just continue to watch tutorials until I learn the 2d gaming? that's what I really want to create.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
If you want to learn how to create applications that display 2D graphics you should look into the java.awt package, and read about the java.awt.Graphics class.
have fun with your vibrant too,its gpu is pretty much the BEST out of any of the phones out right now.
gnarlycs said:
If you want to learn how to create applications that display 2D graphics you should look into the java.awt package, and read about the java.awt.Graphics class.
Click to expand...
Click to collapse
But I'm good in skipping the basics?
Here's what I have learned so far
Hello world
Creating simple calculator
If then else statements
Using multiple classes at a time
Switch case statements
Other basic stuffs
I need to know if I really would be needing these things in the future.
Sent from my SGH-T959 using XDA App
I found this while looking in the general android development threads. Looks useful.
http://forum.xda-developers.com/showthread.php?t=854462
iynfynity said:
But I'm good in skipping the basics?
Here's what I have learned so far
Hello world
Creating simple calculator
If then else statements
Using multiple classes at a time
Switch case statements
Other basic stuffs
I need to know if I really would be needing these things in the future.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Obviously you need to know the basics to do advanced things, that's why they're called the basics. You use the basic things all the time when doing advanced things.
Right, I'm looking for a good Java book. The videos are raping my data usage. Anyone know a good one? So far I'm seeing good reviews for head first Java.
Sent from my SGH-T959 using XDA App
Yes you need to learn the basics before moving on to the advanced concept. The basics are the foundation to the advanced stuff.

[Q] start development

hi .
I wanna start developing apps . does anybody know what languages should I know ? I mean C or C# or Java or .... ?
could you tell me ?
Thanks in advanced .
torpedo mohammadi said:
hi .
I wanna start developing apps . does anybody know what languages should I know ? I mean C or C# or Java or .... ?
could you tell me ?
Thanks in advanced .
Click to expand...
Click to collapse
for apps, java definitely.
just get the android sdk and eclipse and get to writing.
just java you mean ?
torpedo mohammadi said:
just java you mean ?
Click to expand...
Click to collapse
Just Java means
Java Programming Language
Or in just a word
Java
printf("random signature because I have got nothing else in my mind right now");
Yes Java is the main Language for apps.
Sent from my HTC One S using Tapatalk 2
If you have never programed before, check out MIT App Inventor. Great program.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Take a look at this series of "How To's", made here on XDA by Adam Outler
TonyStark said:
Take a look at this series of "How To's", made here on XDA by Adam Outler
Click to expand...
Click to collapse
Also found on xda-university. But yes, you are going to need to get thirsty to read. Then learn how to use that knowledge to make something. If you need help there are plenty of android development mailing lists and forums out there, including the ones here on xda.
The guides by Adam are pretty good! I also recommend them.
There is also MIT OpenCourseWare and tons of other things you'll find if you google around enough.
Guys.... Which is easy to develop... A game or app?
Sent from my Xperia Mini using xda premium
ariftwister said:
Guys.... Which is easy to develop... A game or app?
Sent from my Xperia Mini using xda premium
Click to expand...
Click to collapse
It depends on the complexity of either. You can make them as simple or as difficult as you wish.
Thats cool if everybody make own apps.. And share..
But learning java language for noob like me it take a year
Sorry for bad english
Sent from my GT-S6500D
I went out and got several books on JAVA and Android development to get myself started. I finally decided that if I worry about how long it will take to learn, I will never even start.
Sent from my SCH-I605 using xda app-developers app
EvolutionHybrid said:
Thats cool if everybody make own apps.. And share..
But learning java language for noob like me it take a year
Sorry for bad english
Sent from my GT-S6500D
Click to expand...
Click to collapse
Not at all.
Having made a few apps myself, I can say this for sure : all you need is maybe a week or two. Android app development needs java and XML. The XML part is pretty easy and can be learnt on the go. The java part, well if you know data types, functions syntaxes and commands syntax, it's sufficient to make a basic app
Sent from my Nexus 4 using xda premium

how to create apps

hi guys, what things i need to create app and what is the instruction... im newbie here at xda university
Sent from computer shop using google chrome
Renz29 said:
hi guys, what things i need to create app and what is the instruction... im newbie here at xda university
Sent from computer shop using google chrome
Click to expand...
Click to collapse
this is literally everything you need to start the setup process for eclipse is kinda outadated but is straing forward read the android developers website and everything is there and youtube will be our friend
Building first app
Building app with XDA video 1
Video 2
Video 3
Video 4
video 5
Thanks for the links psycho. just came across this thread and got my curiousity
Thanks bro...
Sent from xda app-developers app
Also go to thenewboston.com and under his tutorials he has 200 videos about android developement. Hope this helps
My droid sent this~
crashpsycho said:
this is literally everything you need to start the setup process for eclipse is kinda outadated but is straing forward read the android developers website and everything is there and youtube will be our friend
Building first app
Building app with XDA video 1
Video 2
Video 3
Video 4
video 5
Click to expand...
Click to collapse
I as well am just entering the world of developing. I have never used java or any code for that matter. Ive read alot and id like to start modifiying or porting small android apps and widgets. I have as far as i know, everything required (android sdk, jde, eclipse..) but im still somewhat in the dark about decompiling, changing content and eventually recompiling. Any tips for a Newbie making his way?
Sent from my SGH-I317M using XDA Premium HD app
Seen n interested carry on
Thankz
................................................................................................
ProjectVanilla said:
Also go to thenewboston.com and under his tutorials he has 200 videos about android developement. Hope this helps
My droid sent this~
Click to expand...
Click to collapse
It was where I started... Very good tutorials.
Google developers has also good information...
Thanks for your video tut, as i am trying to find those such kind of tut a long and now finally i got it in this forum. Thanx again
Sent from my GT-N7000 using xda premium
What programming language shud i learn for developing android app ........i dnt have any knowledge about proggramming ...i jst knw c programming.....so what shud i start wid??? Plz help shud i learn java first n thn start learning abt android development ???
Sent from my LG-P990 using xda premium
Think im gonna give this a shot n see how i fair.
Gnote2 running Eclipse RoM!
"WELCOME TO THE DARK"
Ichigo said:
First, learn English.
Then, for android development, learn java.
Click to expand...
Click to collapse
Lmfaoooo
Sent from my SGH-T999 using xda app-developers app
Thanks! It is good guide.
Is there any easy way to make a PDF book into an apk?
crashpsycho said:
this is literally everything you need to start the setup process for eclipse is kinda outadated but is straing forward read the android developers website and everything is there and youtube will be our friend
Building first app
Building app with XDA video 1
Video 2
Video 3
Video 4
video 5
Click to expand...
Click to collapse
Thank you very much.

How to make 3d button images

Please tell me how the 3d looking images in framework and themes are made.I am not able to make them using paint.net or photoshop
Sent from my GT-S5570 using xda app-developers app
Never used paint.net but I know you can make that kind of images in Photoshop very easily.
There are like 1000 guides out there but the thing is if you know how to get them.
you need at least basic skills to make it look good, or you can use presets and plugins and make it look like crap
nishanty13 said:
Never used paint.net but I know you can make that kind of images in Photoshop very easily.
There are like 1000 guides out there but the thing is if you know how to get them.
Click to expand...
Click to collapse
Got only some video tutorials. Can u give me link of written (I don't like video tutorials) tutorials as xda has. Not found any good one on google
Sent from my GT-S5570 using xda app-developers app
yackovsky said:
you need at least basic skills to make it look good, or you can use presets and plugins and make it look like crap
Click to expand...
Click to collapse
Yes I am not good in drawing with a mouse. But which type of plugins(Photoshop or paint.net).
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
Yes I am not good in drawing with a mouse. But which type of plugins(Photoshop or paint.net).
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
I think it for Photoshop.
arpitkh96 said:
Yes I am not good in drawing with a mouse. But which type of plugins(Photoshop or paint.net).
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
Yackovsky is right...you do need basic skills first.
And some good Google skills too if you want that.
I know how to draw basic images I only want to know . How the 3d effect is given. I know that are only some shades nothing else but those are not such easy to make. I have already searched Google but I don't want those video tutorials as I have not such good connection.
Now I am goin to search any plugin etc for photoshop
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
I know how to draw basic images I only want to know . How the 3d effect is given. I know that are only some shades nothing else but those are not such easy to make. I have already searched Google but I don't want those video tutorials as I have not such good connection.
Now I am goin to search any plugin etc for photoshop
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
It seems like you have some misunderstanding here. It's quite easy if you know what you're doing just a little time consuming in some cases.
And you need to improve your Google skills too as I learned from Google only. There's a lot of information out there.....only if you know where you're looking. No one's born with this knowledge, you have to search and learn yourself.
nishanty13 said:
It seems like you have some misunderstanding here. It's quite easy if you know what you're doing just a little time consuming in some cases.
And you need to improve your Google skills too as I learned from Google only. There's a lot of information out there.....only if you know where you're looking. No one's born with this knowledge, you have to search and learn yourself.
Click to expand...
Click to collapse
Ok I will try.
So that doesn't need any plugins right?
Sent from my GT-S5570 using xda app-developers app
thanks all for help. at last now i have learned it.
thats my first

Categories

Resources