Hello everyone!
I'm engineer of IT with background in C#, PHP and Java. My wish is to learn to develop Android applications. My question is, how much of Java do I need to know before I start learning Android? ATM I have passed basics in Java, primitive/reference types, collections, loops, casting, wrapping/unwrapping, exceptions, polymorphism, inheritance, (everything about OOP). Now I stopped at Swing GUI. Should I avoid it? Do I need listeners/events in Android apps? Threads? Can someone write me down what do I need to complete my Java knowledge before I start my Android journey? I would appreciate that!
(How much I )
Thanks and BR,
M.
Danzan said:
Hello everyone!
I'm engineer of IT with background in C#, PHP and Java. My wish is to learn to develop Android applications. My question is, how much of Java do I need to know before I start learning Android? ATM I have passed basics in Java, primitive/reference types, collections, loops, casting, wrapping/unwrapping, exceptions, polymorphism, inheritance, (everything about OOP). Now I stopped at Swing GUI. Should I avoid it? Do I need listeners/events in Android apps? Threads? Can someone write me down what do I need to complete my Java knowledge before I start my Android journey? I would appreciate that!
(How much I )
Thanks and BR,
M.
Click to expand...
Click to collapse
Yups you need everything that comes into Core Java except Swing and AWT.
Rest yes listeners/events and Threads are important topics to cover for Java.
You can Google the terms like " Java for android" you will get your answers....rest you can use any topic of java into Android...core or advanced it depends on your level of understanding and implementation...
Thanks
Danzan said:
Hello everyone!
I'm engineer of IT with background in C#, PHP and Java. My wish is to learn to develop Android applications. My question is, how much of Java do I need to know before I start learning Android? ATM I have passed basics in Java, primitive/reference types, collections, loops, casting, wrapping/unwrapping, exceptions, polymorphism, inheritance, (everything about OOP). Now I stopped at Swing GUI. Should I avoid it? Do I need listeners/events in Android apps? Threads? Can someone write me down what do I need to complete my Java knowledge before I start my Android journey? I would appreciate that!
(How much I )
Thanks and BR,
M.
Click to expand...
Click to collapse
I recommend to read a tutorial on the basics of threads. It's not needed for basic apps though. You will also need anonymous classes. Writing to and reading from files might be useful if you need to store some data.
About everything else I would say: Start with Android and if you don't understand some Java things you find, read some tutorials about how they work. You should have the basic knowledge to start with Android now. You can always improve your Java later when you need it - if you need it.
Have fun.
Thanks for the replies guys. I will pass Swing to see how it works (because of listeners and events), also threads and IO. I see ppl use SQLite for local db, so ill check that too later. One more thing, is there any Android framework? I see there's Spring for Android, but dunno should I use it or not.
BR
Danzan said:
Hello everyone!
I'm engineer of IT with background in C#, PHP and Java. My wish is to learn to develop Android applications. My question is, how much of Java do I need to know before I start learning Android? ATM I have passed basics in Java, primitive/reference types, collections, loops, casting, wrapping/unwrapping, exceptions, polymorphism, inheritance, (everything about OOP). Now I stopped at Swing GUI. Should I avoid it? Do I need listeners/events in Android apps? Threads? Can someone write me down what do I need to complete my Java knowledge before I start my Android journey? I would appreciate that!
(How much I )
Thanks and BR,
M.
Click to expand...
Click to collapse
One thing you don't tend to worry about normally with Java is memory usage. On Android, you do (you're running in a memory constrained environment). I'd do a little bit of reading on Garbage Collection and then a bit on Android's JVM (specifically it's worth understanding that its GC is non-compacting).
PicomatStudios said:
One thing you don't tend to worry about normally with Java is memory usage. On Android, you do (you're running in a memory constrained environment). I'd do a little bit of reading on Garbage Collection and then a bit on Android's JVM (specifically it's worth understanding that its GC is non-compacting).
Click to expand...
Click to collapse
Well, I understand how Garbage Collector works with Java, but as I can see, its not same with Android. Thanks for the advice.
How about battery life?
books for java beginners
Anyone can suggest a book for java, i am a beginner in java but i know some of other language. Suggest a book that can teach me easily and faster, and deeply understand OOP language
jhun24 said:
Anyone can suggest a book for java, i am a beginner in java but i know some of other language. Suggest a book that can teach me easily and faster, and deeply understand OOP language
Click to expand...
Click to collapse
Check out Head First Java, 2nd Edition.
I'm finishing it, very well explained Java and Object oriented programming as well.
Danzan said:
Check out Head First Java, 2nd Edition.
I'm finishing it, very well explained Java and Object oriented programming as well.
Click to expand...
Click to collapse
+1
Rest 1 more suggestion, if you are good with Android and OOPS then just jump into android and you can always post your issues in this forum and SO, we would be more than happy to help you.
Thanks
coolbud012 said:
Rest 1 more suggestion, if you are good with Android and OOPS then just jump into android and you can always post your issues in this forum and SO, we would be more than happy to help you.
Thanks
Click to expand...
Click to collapse
With that good with Android you mean good in using Android OS? And with OOPS did you mean OOP? I'm not pretty clear with that...
Thanks for response
Danzan said:
With that good with Android you mean good in using Android OS? And with OOPS did you mean OOP? I'm not pretty clear with that...
Thanks for response
Click to expand...
Click to collapse
Sorry what I meant is good with java programming and yeah OOPS mean OOP only.
P.S : Instead of posting and asking ppl just jump into it and start exploring it.
Thanks
coolbud012 said:
Sorry what I meant is good with java programming and yeah OOPS mean OOP only.
P.S : Instead of posting and asking ppl just jump into it and start exploring it.
Thanks
Click to expand...
Click to collapse
You are right, posting and thinking only makes it more mysterious. (;
Danzan said:
You are right, posting and thinking only makes it more mysterious. (;
Click to expand...
Click to collapse
Yupz right, even everyone would have their own opinion.
coolbud012 said:
Yupz right, even everyone would have their own opinion.
Click to expand...
Click to collapse
I think video tutorials are best to know ...
Danzan said:
Check out Head First Java, 2nd Edition.
I'm finishing it, very well explained Java and Object oriented programming as well.
Click to expand...
Click to collapse
if I studied the book "Head First Android Development". is this enough without studying specifically java first?
kira325 said:
if I studied the book "Head First Android Development". is this enough without studying specifically java first?
Click to expand...
Click to collapse
First go through all the above replies thoroughly ...
---------- Post added at 11:31 AM ---------- Previous post was at 11:28 AM ----------
nilaydani said:
I think video tutorials are best to know ...
Click to expand...
Click to collapse
Depends on a persons understanding level...
it must learn first java
nilaydani said:
I think video tutorials are best to know ...
Click to expand...
Click to collapse
coolbud012 said:
Depends on a persons understanding level...
Click to expand...
Click to collapse
And on how they learn best. For me reading is the best option.
nikwen said:
And on how they learn best. For me reading is the best option.
Click to expand...
Click to collapse
So as I said above depends on person to person....For me it depends on how a person has explained, either its a book or any video...like Wrox books are very good...
Related
How does one begin developing apps? Can anyone point me toward the right direction/programs/info? If I purchase the Nexus S, I would like to start learning how to.
Appreciate any help/advice to get me started.
Even I am gonna start it soon. But I guess this should be good starting point
http://developer.android.com/guide/index.html
Looks awfully daunting. I'm already confused =T Doesn't help that I know virtually nothing about programming (C++/Java... etc).
Then short of taking some Java training, the AppInventor is probably your best best. Sign up for an invitation here (it's still invite only beta):
http://appinventor.googlelabs.com
SylencedOne said:
Then short of taking some Java training, the AppInventor is probably your best best. Sign up for an invitation here (it's still invite only beta):
http://appinventor.googlelabs.com
Click to expand...
Click to collapse
ive tryed using appinventor its easy to make a picture that plays a sound but apart from thats its bloody hard to use lol
Learn Java or some type of programming language to help you understand programming and etc. Then once you start reading the Android SDK again, everything won't seem like a foreign language. Well, shouldn't anyways.
tomqman said:
ive tryed using appinventor its easy to make a picture that plays a sound but apart from thats its bloody hard to use lol
Click to expand...
Click to collapse
if thats hard coding would be worst i imagine. i took some C++ in high school and college and hated it. I'm going to try my hand at appinventor soon.
Pick up a HeadFirst Java. Learning programming will not only be easy but fun as well !! That book is fun to read. Best programming book for beginners ever !
Learn HTML first.
SylencedOne said:
Then short of taking some Java training, the AppInventor is probably your best best. Sign up for an invitation here (it's still invite only beta):
http://appinventor.googlelabs.com
Click to expand...
Click to collapse
it's not beta anymore enjoy appinventor!
zephiK said:
it's not beta anymore enjoy appinventor!
Click to expand...
Click to collapse
I was just about to say that
But I am also in the same boat, starting out learning to program in Java. I have dabbled in a bit of HTML (self taught, don't know much), so that's about the extent of my knowledge. But if I did learn Java to write apps, how useful is it in say creating ROMs? Like if you were to fiddle around with the Android source, what language would most of it be?
Sorry if that has been answered before, I did search Promise, but nothing seemed to come up
suhas_sm said:
Pick up a HeadFirst Java. Learning programming will not only be easy but fun as well !! That book is fun to read. Best programming book for beginners ever !
Click to expand...
Click to collapse
I co-sign head first Java. Once you have a decent understanding of the java language you should pick up Reto Meier's book, Professional Android 2 Application Development. And read the developer.android website extensively. I can assure you, you wont be developing apps tomorrow. It will take quite some time. Be patient, read thoroughly, and re-read things you don't quite understand.
Also, if you don't learn well from books, take a few java classes at a community college (or a University if you happen to already be there).
Ok guys, im currently learning Java and I'm still learning the basics. I'll say I know about 80% of the basics things in Java. I am really desperate to create my own app and then I stumbled upon the 'MIT App Inventor' (MIT AI). Its basically a simiplified way on creating a android app. Just drag and drop things etc. I reckon I can build my app using the MIT AI since a guy controlled his robot using the MIT AI so I see no reason why I wont be able to build my app using the MIT AI.
But if I use the MIT AI, I feel as if I'm going to to the cowards way. Like I'm not going to build my app using Java but just by dragging and dropping things into place. So what do you guys think?
I'll still be learning Java but as of right now, I leaning towards using MIT AI for now but i'll probably have a guilty feeling about it
Yeah, I recommend learning Java. You cannot do everything with the App Inventor. Basic things can be done with the App Inventor, but very complex things cannot.
nikwen said:
Yeah, I recommend learning Java. You cannot do everything with the App Inventor. Basic things can be done with the App Inventor, but very complex things cannot.
Click to expand...
Click to collapse
I guess for the time being I'll use MIT AI since the app I want to create is not that advanced. But there is a feature that I would like to put in my app later on when I learn Java since that feature is WAY TO COMPLICATED for me to put into my app for now...
How long did it take you to learn Java?
EDIT = Damn, just realized that I won't be able to implement the feature to my app later on since I wont be getting the source code for my app...
TwilightLoz said:
I guess for the time being I'll use MIT AI since the app I want to create is not that advanced. But there is a feature that I would like to put in my app later on when I learn Java since that feature is WAY TO COMPLICATED for me to put into my app for now...
How long did it take you to learn Java?
EDIT = Damn, just realized that I won't be able to implement the feature to my app later on since I wont be getting the source code for my app...
Click to expand...
Click to collapse
You've pretty much answered your own question Through my few years in programming, I've come to realize this: the easiest solution is not always the best.
The drag-and-drop programming environments look good on the surface, however as soon as you start implementing and experimenting with complex ideas, they becoming limiting. These type of environments are ideal for those just beginning and with little desire to advance their skills. You, on the other hand, already seem to know a bit about Java and have expressed a desire to learn more - a simple environment will just limit you.
My recommendation? Stick with Java. Start out with a small project like a calculator, and follow some tutorials. After you've grasped the basics, try jumping into a complex project, where you're forced to learn. I can vouch for this, because it's exactly what I did. I started with a few simple Android app and then worked on a bigger project. I googled, used StackOverflow and followed tutorials and learned a lot along the way.
Hope this helped, please feel free to ask anything else!
Yeah, im just self teaching myself Java. I know a basic C++. I dont really want to study computer science in college/university since the fee of the course is so overpriced for the course and to be honest, I see no point in studying it since you can learn off from the internet. Thats just my opinion. I dont really have a problem with people going to university to learn CS but I personally wouldn't.
I'm really just self teaching myself computer science. I know decent knowledge about hardwares in computers. I built my own computer back in '09 and still is running like a pro
The thing that is putting me off from learning any type of computer language is the time it takes to learn... I guess I just gotta be patient and keep learning.
So have you published any apps on the play store?
TwilightLoz said:
Yeah, im just self teaching myself Java. I know a basic C++. I dont really want to study computer science in college/university since the fee of the course is so overpriced for the course and to be honest, I see no point in studying it since you can learn off from the internet. Thats just my opinion. I dont really have a problem with people going to university to learn CS but I personally wouldn't.
I'm really just self teaching myself computer science. I know decent knowledge about hardwares in computers. I built my own computer back in '09 and still is running like a pro
The thing that is putting me off from learning any type of computer language is the time it takes to learn... I guess I just gotta be patient and keep learning.
So have you published any apps on the play store?
Click to expand...
Click to collapse
No, I have got no apps out there, but I want to release one soon.
I learned Java by reading (without testing) the book Head First Java. However, I had some Delphi and Python programming knowledge.
This book is really great. And it is fun to read it.
Learn, that's what it is all about , and it's going to be great fun too
Sent from my HTC Explorer A310e using Tapatalk 2
yep, im just currently following the bucky tutorials (thenewboston.org) right now. Ive actually got that book and read a few chapters. Its a good book but I didn't understand some parts of it. Thats why im going through all the bucky Java tutorials and then going to read the book so I have a full understanding of Java.
TwilightLoz said:
yep, im just currently following the bucky tutorials (thenewboston.org) right now. Ive actually got that book and read a few chapters. Its a good book but I didn't understand some parts of it. Thats why im going through all the bucky Java tutorials and then going to read the book so I have a full understanding of Java.
Click to expand...
Click to collapse
Sounds like a good plan.
Happy coding!
hey there. Im currently having difficulty learning about event handlers. I know what they do but im just confused on how to use them.
This is the framework of a typical '.addItemListener(){}' method:
.addItemListener(
new ItemListener(){
public void itemStateChanged(ItemEvent event){
}
}
);
I dont know what those keywords mean or when to use them. Could someone shine some light on this?
TwilightLoz said:
hey there. Im currently having difficulty learning about event handlers. I know what they do but im just confused on how to use them.
This is the framework of a typical '.addItemListener(){}' method:
.addItemListener(
new ItemListener(){
public void itemStateChanged(ItemEvent event){
}
}
);
I dont know what those keywords mean or when to use them. Could someone shine some light on this?
Click to expand...
Click to collapse
When you programm for computers, you need ItemListeners to get informed when the selected item of a JComboBox changed.
That means that the itemStateChanged method is invoked when the user selects an item.
However, you do not need them when you learn Java for Android. You do not need Swing and AWT at all!
Skip everything related to the UI as it is different for Android.
Ive been spending most of my time recently learning about GUI in Java... I feel wasted.
Thanks for the help though. Much appreciated.
I'll probably still finish the bucky vids and then move onto the head first Java book. Does that book contain everything I need to know in order to build a successful app?
I also came across this website. Seems much better and more easier to understand than the book I have:
http://mobile.tutsplus.com/series/learn-java-android-development/
Your thoughts?
TwilightLoz said:
Ive been spending most of my time recently learning about GUI in Java... I feel wasted.
Thanks for the help though. Much appreciated.
I'll probably still finish the bucky vids and then move onto the head first Java book. Does that book contain everything I need to know in order to build a successful app?
I also came across this website. Seems much better and more easier to understand than the book I have:
http://mobile.tutsplus.com/series/learn-java-android-development/
Your thoughts?
Click to expand...
Click to collapse
The head first book explains Java. It explains object-oriented programming very well and tells you everything you will need to get started with Android programming.
As soon as you have got Java knowledge, you can start with Android programming. You need Java for Android programming, that is what the book (and your link) explains, but it does not explain Android programming. I recommend this site for Android Tutorials: http://www.vogella.com/android.html It is great.
In a short form: Java knowledge are the basics, Android related things require Java knowledge and are related to the special conditions on the device. Therefore they have another API for the UI, background services and other things.
Btw, I needed to learn the Java UI things later when I wrote a desktop application. You did not waste your time. Your knowledge will be helpful later.
nikwen said:
The head first book explains Java. It explains object-oriented programming very well and tells you everything you will need to get started with Android programming.
As soon as you have got Java knowledge, you can start with Android programming. You need Java for Android programming, that is what the book (and your link) explains, but it does not explain Android programming. I recommend this site for Android Tutorials: http://www.vogella.com/android.html It is great.
In a short form: Java knowledge are the basics, Android related things require Java knowledge and are related to the special conditions on the device. Therefore they have another API for the UI, background services and other things.
Btw, I needed to learn the Java UI things later when I wrote a desktop application. You did not waste your time. Your knowledge will be helpful later.
Click to expand...
Click to collapse
Ahh okay. Thanks. So yeah, i'll probably finish with the bucky vids, then go the link I posted to reinforce my Java skills then go to the head first book. Then I'll probably go to the link you sent me although the link you sent me seems a bit too 'intimidating'... so I'm thinking of referring to this:
http://developer.android.com/training/index.html
for Android programming.
TwilightLoz said:
Ahh okay. Thanks. So yeah, i'll probably finish with the bucky vids, then go the link I posted to reinforce my Java skills then go to the head first book. Then I'll probably go to the link you sent me although the link you sent me seems a bit too 'intimidating'... so I'm thinking of referring to this:
http://developer.android.com/training/index.html
for Android programming.
Click to expand...
Click to collapse
Ok, the vogella tutorials might not be the right tutorials for you.
However, I do not like the official training sites. They are too difficult for beginners in my opinion. I would not start with these.
Some like the new boston videos: http://thenewboston.org/list.php?cat=6
(They are many. I do not want to intimidate you, but I thought that I should mention them as you like video tutorials. Don't worry, you will not need to watch even the half of them. I would recommend to watch the first ones and then watch the other ones if you need their content. SQL or WebView operations are unimportant for a beginner. )
nikwen said:
Ok, the vogella tutorials might not be the right tutorials for you.
However, I do not like the official training sites. They are too difficult for beginners in my opinion. I would not start with these.
Some like the new boston videos: http://thenewboston.org/list.php?cat=6
(They are many. I do not want to intimidate you, but I thought that I should mention them as you like video tutorials. Don't worry, you will not need to watch even the half of them. I would recommend to watch the first ones and then watch the other ones if you need their content. SQL or WebView operations are unimportant for a beginner. )
Click to expand...
Click to collapse
Yeah, I gotta admit, when I looked at the android sections I felt as if I wont even have the chance to build an android app since theres over 200 vids and theres too much to learn but then you said I wouldnt even have to watch nearly more than half of them so that lifted up my spirit
But im just wondering, how long does it actually take for a person to learn 'enough' Java to start making a android app?
TwilightLoz said:
Yeah, I gotta admit, when I looked at the android sections I felt as if I wont even have the chance to build an android app since theres over 200 vids and theres too much to learn but then you said I wouldnt even have to watch nearly more than half of them so that lifted up my spirit
But im just wondering, how long does it actually take for a person to learn 'enough' Java to start making a android app?
Click to expand...
Click to collapse
That really depends on his experience. I had some experience and I read the head first book and started. Of course, I learned afterwards, too. And of course, I am still learning. You do not need the UI things and stuff like this. You should understand Collections, inner classes and interfaces, though.
In case of doubt, start with the Android part and if you do not know something related to Java, search what it is. Learning by doing.
However, I cannot understand the order of some of the videos. I think that ToggleButtons (23) are not as important as RelativeLayouts (44).
Just finished watching the beginner section of Java from his vids. Probably going to watch the 'intermediate' vids tomorrow or probably forget about watching the vids and just read the book...
TwilightLoz said:
Just finished watching the beginner section of Java from his vids. Probably going to watch the 'intermediate' vids tomorrow or probably forget about watching the vids and just read the book...
Click to expand...
Click to collapse
I must say, stick it out the hard way. Automated-app builders will not teach you anything.
I say this because I myself have been developing Android apps for ~2 years. I had NO prior experience or knowledge in how any programming language was used or written. Now, through determination, I have 3 (still learning, so still basic) apps on the market.
I have self-taught myself Android(java) with the help of a few YouTube videos. I also learned some SQLite which will be used for all android databases, XML, and HTML. All which I have implemented into my apps.
So what I guess I'm trying to say is, if I can learn all of this in ~2 years by myself (albeit you'll run into many educational mistakes) then nothing is impossible. I didn't even make it through high school shamefully.
Regardless, knowledge is power. An auto-app will not do any justice IMO. Android is not the best starting point, but if you already understand programming logic, you should be alright.
Sent from my SPH-D710 using Tapatalk 2
Learn my friend! That's what XDA is about.
I'd say definetly get familiar with the general activity lifecycle, learn some basic things like intents and such, then think about something simple you want to try, and find out how other people are doing it. (Look for guides, or study open source apps etc.)
i've been teaching myself over most of the last year and am super impressed by what I;ve managed to figure out how to do. I still got years to go before I'd call myself a "good" developer, but just keep pluggin away.
It all depends on how you like to learn too. I read tons, and tried watchign videos, but I do much better by just jumping in and fixing errors as I go. then before you know it, you'll be able to do a lot of things. For me I found it became a lot easier when I started breaking stuff up into single parts. like If I want some app with a listview that goes to a webview, I'd make a simple Main Activiy with a list view, then make a new project with just the webview, then worry about linking a couple things together.
Every body learns different though.
Good luck!
(plus I think MIT, even though it's a neat idea, just helps to clog the playstore with junky apps.)
I'm totally new to programming & i wanna know what software do i need to create my 1st app .Also,i would like to know what would you suggest as a good start.
riffraffboss said:
I'm totally new to programming & i wanna know what software do i need to create my 1st app .Also,i would like to know what would you suggest as a good start.
Click to expand...
Click to collapse
Maybe you start with reading some android book. They have some simple examples that you can play with.
riffraffboss said:
I'm totally new to programming & i wanna know what software do i need to create my 1st app .Also,i would like to know what would you suggest as a good start.
Click to expand...
Click to collapse
I highly recommend you to read a book called Head First Java. Once all your concepts are clear, then start reading Head First Android to know the basics about Android app development. Good luck
You should start with googling Hello world application for android. Next you need Eclipse with ADT plug-in (mostly used IMO) plus Android SDK as dev tools.
abcdjdj said:
I highly recommend you to read a book called Head First Java. Once all your concepts are clear, then start reading Head First Android to know the basics about Android app development. Good luck
Click to expand...
Click to collapse
That's the book I also recommend to everyone who hasn't got very much expirience with programming. It is easy to understand and fun to read. So get that book and learn Java first. However, you can skip the parts about designing the user interface (UI) as that is completely different for Android.
Afterwards get a book about Android programming. You need a good understanding of Java for that though.
Software which you will need is Eclipse and the Android SDK.
Basics
You need to learn the concepts of Java, (reading the books as suggested) and try experimenting and changing what you've learn through Eclipse
Gutsycat said:
You should start with googling Hello world application for android. Next you need Eclipse with ADT plug-in (mostly used IMO) plus Android SDK as dev tools.
Click to expand...
Click to collapse
I have personally read Head First Java and agree its a good place for you to start. I had been learning for about a year on and off when I finally picked up the book. It was like a light switch turned on and finally started wrapping my ahead around the things I had been failing to comprehend.
I want to point out to those some things to those that think they are just going to jump in and start developing world class apps. First thats not going to happen. Learning Java and other parts of Android are like learning whole new languages in their own. You have to learn to walk before you can run. But for those that really want to do it, don't give up and you will eventually get there. :cyclops:
You can also find many beginner's java tutorials(they may not be as good as the books). But once you have the concept you should be on your way to app development.
Sent from my SGH-M919 using xda app-developers app
riffraffboss said:
I'm totally new to programming & i wanna know what software do i need to create my 1st app .Also,i would like to know what would you suggest as a good start.
Click to expand...
Click to collapse
I think the best and complete way is studing the java tutorials provided by oracle and the android tutorials by google.
You can start with the basics of object programming and the fundamentals of java and android.
After, use the advanced tutorials for specific concepts.
pizandroid said:
I think the best and complete way is studing the java tutorials provided by oracle and the android tutorials by google.
You can start with the basics of object programming and the fundamentals of java and android.
After, use the advanced tutorials for specific concepts.
Click to expand...
Click to collapse
In my opinion there are better tutorials than Google's ones for beginners. Too complicated for newbies in my view.
download adt and create helloword app
download adt and create helloword app
riffraffboss said:
I'm totally new to programming & i wanna know what software do i need to create my 1st app .Also,i would like to know what would you suggest as a good start.
Click to expand...
Click to collapse
Hi !
I answered your question here. Of course you need to know Java before you start with Android programming.
So I'm just beginning to try getting into development and saw from several users on here that the first step would be to learn Java, so my obvious question is what's the best way to do that? I have little programming experience. I believe I correctly installed JDK and also have Eclipse and AndroidSDK. A brief but clear explanation pointing me in the right direction would be appreciated. Thank you for anyone who can help.
Imnice777 said:
So I'm just beginning to try getting into development and saw from several users on here that the first step would be to learn Java, so my obvious question is what's the best way to do that? I have little programming experience. I believe I correctly installed JDK and also have Eclipse and AndroidSDK. A brief but clear explanation pointing me in the right direction would be appreciated. Thank you for anyone who can help.
Click to expand...
Click to collapse
The first thing you should do is ignore the AndroidSDK for a while !
It's not worth touching a phone before you can at the very least write a few simple Java programs.
Start with a single class that prints some stuff out to the screen and go from there.
Once you are comfortable with the syntax, I'd say you'd need to be able to write a standalone Java program that has, say, 10 classes in it as a first step.
PicomatStudios said:
The first thing you should do is ignore the AndroidSDK for a while !
It's not worth touching a phone before you can at the very least write a few simple Java programs.
Start with a single class that prints some stuff out to the screen and go from there.
Once you are comfortable with the syntax, I'd say you'd need to be able to write a standalone Java program that has, say, 10 classes in it as a first step.
Click to expand...
Click to collapse
Thanks for the advice! I'd definitely agree that I should be able to read and write at least basic code before putting anything to use, however where should I learn how to write the classes? I downloaded the Headfirst Java textbook because I saw people talking about it and seemed pretty legit. Do you know anything about it or how to go about using it? I can't seem to open the .class or .java files even though I believe I correctly installed JDK. Is there a better place to learn? Thanks for any help you give, clearly I'm new to this, however very interested.
Imnice777 said:
Thanks for the advice! I'd definitely agree that I should be able to read and write at least basic code before putting anything to use, however where should I learn how to write the classes? I downloaded the Headfirst Java textbook because I saw people talking about it and seemed pretty legit. Do you know anything about it or how to go about using it? I can't seem to open the .class or .java files even though I believe I correctly installed JDK. Is there a better place to learn? Thanks for any help you give, clearly I'm new to this, however very interested.
Click to expand...
Click to collapse
I liked the official tutorials much and I'm sure you would like it too.
Just focus on the concept for a while before proceeding any farther.
Good luck.
http://docs.oracle.com/javase/tutorial/java/index.html
Imnice777 said:
So I'm just beginning to try getting into development and saw from several users on here that the first step would be to learn Java, so my obvious question is what's the best way to do that? I have little programming experience. I believe I correctly installed JDK and also have Eclipse and AndroidSDK. A brief but clear explanation pointing me in the right direction would be appreciated. Thank you for anyone who can help.
Click to expand...
Click to collapse
If you want to learn java for android application development then i would refer you to thenewboston
They have 200 videos for Android Application Development starting from the basics.
Saurabh Shah
----------------------------------------------------------------
Hit Thanks :good:
Thanks both of you. I've been looking at the official tutorials on Oracle but some videos would definitely help too. I have a little programming experience so it's making sense to me, just trying to get all the terms right. Videos will help me out with the explanations. Thanks again!
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Many people like the New Boston videos:
Java (Beginner): http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Java (Intermediate): http://www.youtube.com/playlist?list=PL27BCE863B6A864E3
Android: http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
I haven't watched any of their videos as I'm one who learns best reading up on that topic.
EDIT: Sorry, didn't see a-ssassi-n's post.
nikwen said:
Many people like the New Boston videos:
Java (Beginner): http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Java (Intermediate): http://www.youtube.com/playlist?list=PL27BCE863B6A864E3
Android: http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
I haven't watched any of their videos as I'm one who learns best reading up on that topic.
EDIT: Sorry, didn't see a-ssassi-n's post.
Click to expand...
Click to collapse
It's all good, if anything this just confirms that they're good videos lol...if you have any suggestions that have yet to be mentioned, feel free to add them. Thanks.
Imnice777 said:
It's all good, if anything this just confirms that they're good videos lol...if you have any suggestions that have yet to be mentioned, feel free to add them. Thanks.
Click to expand...
Click to collapse
Yeah, if you want a book, I can recommend the Head First Java book. That's how I learned it.
You can also have a look at the Vogella tutorials, especially for Android specific things.
One tip: If you learn Java just to be able to develop for Android, skip the UI parts. They are completely different on Android.
nikwen said:
Yeah, if you want a book, I can recommend the Head First Java book. That's how I learned it.
You can also have a look at the Vogella tutorials, especially for Android specific things.
One tip: If you learn Java just to be able to develop for Android, skip the UI parts. They are completely different on Android.
Click to expand...
Click to collapse
Sounds good, I have already downloaded the Head First Java book, however I haven't been able to utilize it as of yet. Am I supposed to compile the lessons first? Run them with Eclipse?
Imnice777 said:
Sounds good, I have already downloaded the Head First Java book, however I haven't been able to utilize it as of yet. Am I supposed to compile the lessons first? Run them with Eclipse?
Click to expand...
Click to collapse
In my opinion that depends on how much knowledge of other programming languages you have.
If you already know how to use for/while/do-while-loops and if/switch-conditions, you might want to skip those examples. Do it just if you're sure you don't need them.
I didn't run any of the codes. (Wanted to start with Android as soon as possible. :laugh I learn very well just by reading on programming languages because they are basically all the same. So it's not difficult to learn another language if you already know another one.
However, I ran the examples in the books I used to learn my very first languages (Delphi and Python). I just skipped them for Java.
Decide whether it will be helpful for you. If you're in doubt, run them.
The textbook for JAVA in our college is 'Starting out with JAVA' by Tony Gaddis and its really very good for beginners. Just give it a try.
Just read the tutorials, create a new project and start tinkering around. If you have questions, ask them in appropriate java forums.
Tr-man said:
Just read the tutorials, create a new project and start tinkering around. If you have questions, ask them in appropriate java forums.
Click to expand...
Click to collapse
... like this one.
nikwen said:
Many people like the New Boston videos:
Java (Beginner): http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Java (Intermediate): http://www.youtube.com/playlist?list=PL27BCE863B6A864E3
Android: http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
I haven't watched any of their videos as I'm one who learns best reading up on that topic.
EDIT: Sorry, didn't see a-ssassi-n's post.
Click to expand...
Click to collapse
Now there is a TheNewBoston Android app as well https://play.google.com/store/apps/details?id=com.Thenewboston
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
Well you really need to know Java basics, and then just start learning off the getting started guides on the official site
deanwray said:
Well you really need to know Java basics, and then just start learning off the getting started guides on the official site
Click to expand...
Click to collapse
Thanks
It's possible to learn on your own, but it can be good to have others to either learn from or run your ideas by also. It's difficult to notice you're stuck in a box sometimes!
It's also a good idea to play with the SDK sample apps when you're learning not only Java but Android APIs.
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
YES YOU CAN
The best place to start would be to download and import the source codes of very simple open source android apps, read them thoroughly and then start making little modifications to it to learn what code affects what part of the app's functionality, try adding new functions and features. This way you will learn and build up your confidence.
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
Although it would probably be easier if you were taught it in an educational envrionment (university maybe?) or, like driving lessons, you had an actual android developer sit down next to you when learning/developing I personally think the official android Design and Develop series can take you from novice to intermediate - low end of complicated development. You could use these in conjunction with xda dev or stackoverflow to get any information/code that's missing or you don't understand how to implement.
developer.android.com/design
developer.android.com/develop
developer.android.com/training (especially this one)
Thankyou very much, I will start download source code and test modifys.
Android Developer official Israel very difficult for me.
But thanks
Sent from my GT-I9500 using xda app-developers app
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
Yes you can...Headfirst Java is a good book for beginners plus there are many web Tutorials on Youtube. You just need to be patient and work hard.All The best.
voilaworks said:
Yes you can...Headfirst Java is a good book for beginners plus there are many web Tutorials on Youtube. You just need to be patient and work hard.All The best.
Click to expand...
Click to collapse
Thank you
You can learn the basics by reading books or doing online Tutorials Did it aswell - successfully ofc
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
Hello, the answer you are looking for is absolutely! You can learn everything you need to by yourself, granted it will take much longer than if you had someone to ask questions.
How do I know? I started programming on Android ~3 years ago, by myself. I had nobody that talked me into it, and I didn't attend any colleges. A motivational spark encouraged me. I had absolutely no programming experience, how it worked, or anything about it. Now, I have 5 apps on Google Play, and am working on my 1st game. All with the knowledge I've accumulated over the years out of pure interest. People laugh when I tell them it's my hobby, I stand serious haha.
For me, youtube (something visual) helped me get started, as you can easily follow along. After you feel you have a grasp on the basics, I started looking online further. Searching this site, and StackOverflow.com are great learning resources. Before you know it, you'll be a master! Good luck!:good:
Firstly, it might help if you describe what is your exact situation. How much experience (not job experience, but coding experience) do you have in programming? How much comfortable you are with any programming language, say C? How familiar you are with OO concepts? Are you uncomfortable just because there's something different with Java, or is it because Java is your first programming language? If you read carefully, the preface of SCJP book says that this book is not to be used to learn Java from the scratch.
Btw, unless you get all building blocks in place (e.g logic constructs - loops, basic data structures, OO concepts etc.) don't go for other stuff like threading, swing, JDBC, xml parsing etc. :good:
You can definitely learn it on your own as long as you have to drive to do so. I taught myself ( I had no computer background). I am no expert but I can get by. And I just released my first multi-player game, Word Cloud Social, on Google Play yesterday. Check it out .
auricPuneet said:
You can definitely learn it on your own as long as you have to drive to do so. I taught myself ( I had no computer background). I am no expert but I can get by. And I just released my first multi-player game, Word Cloud Social, on Google Play yesterday. Check it out .
Click to expand...
Click to collapse
Wow, thanks for your words, inspired to me.
A friend teach me a little and gime me a source code of a theme pack and I know change the image and customize this, but I need learn more.
Thank youvery much
As auric stated, you have to have the motivation and determination to learn by yourself, but it is definitely possible.
Don't rush it, take your time and try to understand it. Analyze everything, and if you have questions search the web, or ask on sites like here right away.
You have to believe in yourself
Noted to self thrice via tapatalk
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
yes you CAN, i did it my self one year back, now i have my own app in playstore
useful links:
http://www.vogella.com/tutorials/android.html
http://stackoverflow.com/questions/tagged/android
http://docs.oracle.com/javase/tutorial/
http://omapzoom.org/
http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/
angelgavipo said:
Hi, I dont know java but I know a little about Eclipse and make apps.
But I nedd know if is possible learn by my self.
And How??
Thanks
Click to expand...
Click to collapse
Of course you can, read a lot of tutorials or watch a lot of video tutorials depending on what you prefer and how you learn best, but most importantly: practice.
I think the best way is to find a simple idea you like for an app, and learn just what you need to create this app along the way, start off with a basic "how to setup an android app project" tutorial and work your up from there.
The android framework is quite wide, you can't learn all at once, I think this method allows you to stay on a defined path and actually achieve something.
And by learning the APIs you need for your app idea, it'll open more doors for you to learn other APIs to improve upon your project, or start a new one being more comfortable with the environment.
If you're more the type of learner which learns best by watching, I recommend you watch the 200 videos series for beginners by TheNewBoston, it's a good start:
https://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
The official training courses and docs can be a bit overwhelming for beginners I think.
If it's something you really want to do, then just practice a lot and stick with it, you'll get there.
Just 3 or 4 years ago I didn't know anything about programming except some very basic HTML, I learned by myself and now I work full-time as a front-end Web & Android engineer at a french startup (IZIPass), on projects for clients such as McDonalds and Subway.
If you're looking for some inspiration, the series about Hacker Schools by former XDA TV producer Jayce Broda is an awesome one.
It shows how Mark Rossetti evolved from a total beginner to being hired by SalesForce in the SF bay area in 12 weeks.
You really get to see his progression as these are weekly interviews, it's great, I know it inspired me a lot. And still inspires me to try and go live in San Francisco, but that's another subject^^
Just make your own "Hacker School" for yourself
You certainly can. I'm still in highschool and I'm self taught. I educational book I've enjoyed reading was Java Notes 6. Its free of charge on his website!
Sent from my Nexus 5 using xda app-developers app
gh0stslayer said:
YES YOU CAN
The best place to start would be to download and import the source codes of very simple open source android apps, read them thoroughly and then start making little modifications to it to learn what code affects what part of the app's functionality, try adding new functions and features. This way you will learn and build up your confidence.
Click to expand...
Click to collapse
Love this idea.
ricky310711 said:
Love this idea.
Click to expand...
Click to collapse
Thank you
To get interesting app's source codes one could use F-Droid (it's an app store which only hosts open source apps).
And also people with somewhat limited coding knowledge could use APIs to further reduce their efforts.
I found this app very helpful and inspiring in this regard.