[Q] Tutorials on programming - Android Q&A, Help & Troubleshooting

Do you know any good tutorials on java programming 101? I'm learning programming and I've learned a few languages and programs, html, fortram, c++(a little bit) but I'd like to learn about java so I could start to do some simple app development and give a little bit of help to developers around here (couldn't hurt ).
If anyone knows of a good tutorial, I'm confortable with loosing some time so no need to keep it short. I've just asked so as not to lose time with useless tutorials
thanks in advance

Hi.
For Java in general, you can read Thinking in Java, 3rd Edition which is free :
For Android, developer.android.com/index.html give good exemples.

Will check those out thanks for the quick response

Related

[Q] Android: How to get started developing learn to develop?

I am very interested in learning how to develop for Android. Could anyone let me know what the best way is to get started I have installed the Java JDK and Eclipse and so far created the Hello World! App as per Google's own how to get started tutorial.
I have no experience programming except very basic HTML (Dreamweaver).
My goal is to learn how to develop for Android, from as much as I know it is Java based, should I learn Java before trying to do anything else, or should I just follow Google's own Tutorial ?
If there are books to get which ones are the best ones to get going? Which websites are the best ones to learn? What other resources should I consider?
I don't mind having to spend a couple dollars, but I have looked around and where I live there are no Java courses available.
You should first learn Java or at least the basics on Object Orientated Programming.
I want to pass you 2 links for video tutorials about Android Programming, maybe will help:
http://www.xtensivearts.com/
http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8&feature=playlist-comment
maximillion82 said:
I am very interested in learning how to develop for Android. Could anyone let me know what the best way is to get started I have installed the Java JDK and Eclipse and so far created the Hello World! App as per Google's own how to get started tutorial.
I have no experience programming except very basic HTML (Dreamweaver).
My goal is to learn how to develop for Android, from as much as I know it is Java based, should I learn Java before trying to do anything else, or should I just follow Google's own Tutorial ?
If there are books to get which ones are the best ones to get going? Which websites are the best ones to learn? What other resources should I consider?
I don't mind having to spend a couple dollars, but I have looked around and where I live there are no Java courses available.
Click to expand...
Click to collapse
Having an understanding of Java will be good, as you'd be more comfortable when writing or understanding the code structure/syntaxes. You can also learn while doing Tutorials on Android, but scope on Java will be limited though. So basically its your choice.
Tutorials from the Android developer website is good. You can also consider going to these websites, as they have some good resources :
Video Tutorials : http://thenewboston.org/list.php?cat=6 (Already specified by above person)
Another set : http://www.vogella.com/articles/Android/article.html
Linux.com's series of Fresh Tutorials : http://www.linux.com/learn/docs
And if you Google for more Tutorials, you'd get more too. Cheers!
djeordje said:
You should first learn Java or at least the basics on Object Orientated Programming.
I want to pass you 2 links for video tutorials about Android Programming, maybe will help:
http://www.xtensivearts.com/
http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8&feature=playlist-comment
Click to expand...
Click to collapse
Much appreciated thank you very much. I'll get started on that right now.

[Q] I want to be a developer

I'm a high school junior and I want to be a developer. I've always been into technology and computer systems, most people asking me for help on anything computer related. Over the years I've taught myself various things like: how to build a computer, basic html, adobe Photoshop & Illustrator & After Effects, etc. I can't list them all. Currently I am trying to learn Java myself, and hopefully next year I will be taking AP Computer Science. I want to be a developer. Specifically for platforms like Android. Apps AND actual ROMS.
I want to know from some developers on here, where did you guys get your start? What did you learn? Any tips and suggestions?
Thanks
-Abdi
http://developer.android.com/develop/index.html :good: first learn java though....
Hi abdi7451,
the first programming language I learned was C..It really gives the developer a lot of freedom and increased capabilities for the code writing..I think that it will help you for your future projects..
For App development, I would strongly advise:
The New Boston - Android Tutorials
It would also help if you learnt some of the Java basics:
The New Boston - Java Tutorials
The tutorials are done by Bucky and Travis and these guys are very good. They take you through the learning step by step.
Also. When you come across problems, the main Android Developers site is very good, but I've also found Stack Overflow very helpful.
I started using the tutorials with no Android or Java knowledge at all and I've used what I have learned to make a couple of basic soundboards so far and other bits and pieces, but what they teach you gives you the potential for a lot more.
You can see the apps I've made Here (Google Play) and Here.
Good Luck.
Just Me said:
For App development, I would strongly advise:
The New Boston - Android Tutorials
It would also help if you learnt some of the Java basics:
The New Boston - Java Tutorials
The tutorials are done by Bucky and Travis and these guys are very good. They take you through the learning step by step.
Also. When you come across problems, the main Android Developers site is very good, but I've also found Stack Overflow very helpful.
I started using the tutorials with no Android or Java knowledge at all and I've used what I have learned to make a couple of basic soundboards so far and other bits and pieces, but what they teach you gives you the potential for a lot more.
You can see the apps I've made Here (Google Play) and Here.
Good Luck.
Click to expand...
Click to collapse
Yea, right now I'm using code army to learn Java.

[Q] Learning to develop Android app - should I learn Java first?

I learnt programming a long time ago (20 years ago) and back then I learnt C++. Fast forward to present, I have interest in creating an Android app and started doing some research. I bought some books and watched some video, downloaded Eclipse, etc.
Although I still remember some Object Oriented Programming concepts (Polymorphism, if-else-then loops, etc.), I never fully grasp some of the syntax presented in those study books / videos. This could be because I am a total noob when it comes to Java.
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
PS: I did bought some Java books but I don't think some of the things there are applicable to Android. For one, I setup Eclipse with Android SDK and although I can create some Android app (even have it run on my phone! YAY!), I could not figure out how to write, compile and execute Java app in my MacBook (keep throwing a bunch of exceptions).
lanwarrior said:
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
Click to expand...
Click to collapse
Of course. You need basic-medium java knowledge to develop your apps. About this...
lanwarrior said:
I don't think some of the things there are applicable to Android
Click to expand...
Click to collapse
It's not true. If something can be done in Java for PC, can be done in Android as well (in the same way, or using the Android way, easier and better, mostly times ).
Any recommendation on a good Java Book that:
- gets me up and running faster, since I am not focusing in developing a PC/MAC based Java app but Android app?
- Make use of Eclipse?
I suggest learning java first before you start app development so that you will understand what you are actually doing while writing the source code
Complete reference java is a good book to make your concepts crystal clear
for android app development tutorial you can refer thenewboston video tutorials and developer.android.com for understanding android os and API
Sent from my GT-S5670 using xda premium
How "deep" should I learn Java first?
I read some Jave books that covers really deep stuff that are over 1000+ pages, and there are books like the "Learn Java in 24 hours", etc.
I am just curious because I have read articles whereby people with no programming experiences had developed iPhone apps in months. I think Objective-C is harder to learn than Java because it does not have some of the great features like garbage collections, etc.
lanwarrior said:
How "deep" should I learn Java first?
I read some Jave books that covers really deep stuff that are over 1000+ pages, and there are books like the "Learn Java in 24 hours", etc.
I am just curious because I have read articles whereby people with no programming experiences had developed iPhone apps in months. I think Objective-C is harder to learn than Java because it does not have some of the great features like garbage collections, etc.
Click to expand...
Click to collapse
Throwing an Android app together is relatively easy, especially if you've got prior programming experience. Between the plentiful tutorials and stackoverflow to help with specific semantics, it's pretty straight forward to get what you want done. However, there's a big difference between getting something done, and getting it done efficiently - that's where having a fundamental grasp of the underlying language comes in handy.
When I was starting out I grabbed a couple different books, from basic Android programming to Advanced Java. I found Learn Java for Android Development to be a very decent read, and it was great for getting me up to speed on Java quickly, without going through basic coding principles I already understood from using other languages (or burying me in deep Java mechanics that I didn't really want or need).
--
Jason
rossja said:
When I was starting out I grabbed a couple different books, from basic Android programming to Advanced Java. I found Learn Java for Android Development to be a very decent read, and it was great for getting me up to speed on Java quickly, without going through basic coding principles I already understood from using other languages (or burying me in deep Java mechanics that I didn't really want or need).
--
Jason
Click to expand...
Click to collapse
Thanks for the recommendation on the book. Seems like a perfect book for me!
lanwarrior said:
I learnt programming a long time ago (20 years ago) and back then I learnt C++. Fast forward to present, I have interest in creating an Android app and started doing some research. I bought some books and watched some video, downloaded Eclipse, etc.
Although I still remember some Object Oriented Programming concepts (Polymorphism, if-else-then loops, etc.), I never fully grasp some of the syntax presented in those study books / videos. This could be because I am a total noob when it comes to Java.
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
PS: I did bought some Java books but I don't think some of the things there are applicable to Android. For one, I setup Eclipse with Android SDK and although I can create some Android app (even have it run on my phone! YAY!), I could not figure out how to write, compile and execute Java app in my MacBook (keep throwing a bunch of exceptions).
Click to expand...
Click to collapse
I think u are on the right way.
Please go into android directly.
Do you have a specific idea what you want to create? If no, Get one. I had no idea about Java and Android, only knew visual basic and some c#, but I had an idea what I want to create. And this way i started watching basic tutorials and got some basic information how to do stuff(intents, the thing with the contexts). For me personally, learning the Java stuff was easy, as its really close to what i knew(and you know some c++, which gives you the basics). Simply read a little bit about the control structures and classes and Start making your app. And if you want to know how something works, Google it!
Btw: i am really young, so this shouldnt be a Problem for somebody older.
Gesendet von meinem SM-N9005 mit Tapatalk

How to start

Hello,
I am interested in learning how to program for android. I have designed websites, but no experience in programming. I now that this is not a quick thing, but I am able and willing to spend 4-5 hours a day in learning. However, I have no idea where to start, searching the internet overwhelms me with information.
I have a kindle where I could read any books you recommend and obviously I have a computer.
My question is, if anybody could help me to design a pathway to programming Android applications, from basics in programming languages to the usage of the SDK, consisting of book, tutorials, videos etc.
I know it is a crazy intention, but I would be really thankful for any help.
I'm still learning myself but if your totally new to java and all I would start by watching and following the first 15 videos of this playlist here . When you do that then go here.
The first videos help you with setup and give you some java basics that will help you out later. The second starts you off on the fourth video in a playlist that will teach you programing in java.
I would start with plain Java since the foundational knowledge should translate over to Android development. Get familiar with the language syntax and so forth first, then focus on Android APIs later on once you have the basics down.
If your talking about HTML (Hyper Text Markup Language) then you couldn't of picked something better to start with, HTML is easy to learn and a great introduction to how lots of things work. So if your looking to learn more languages you should Google some tutorials and find one that suits your style best (I would not recommend video tutorials, its much better to see all the examples and move at your own pace with regular tutorials):thumbup:
Sent from my SGH-I897 using xda premium
HTML is a great start for understanding code in general. After that start looking into java. If you feel confident look into other languages.

[Q] How to start coding

Hello, everyone. Can someone please direct me, an absolute beginner with no experience in programming at all, where to begin learning. I would like to ultimately develop for Android.
I'm running Ubuntu 13.04; how can I set up an environment to learn programming, and what are some resources that I can use?
Install jdk on the comp then on your phone download the app learn java in 24 hours it walks you thru making your first program so you get the basics
Hello, I'm pretty much in the same boot as the OP.
I'm working in the medical field and get bored of not having the app I need to ease up paperwork, so I decided to make them myself.
However, exept a hangman game in high school I never coded. So yesterday i took my old laptop, put some Ubuntu on it, the sdk and created the famous "hello word" app.
The problem is, even in the tutorials, some thing were to complicated, so I called upon my cousin (a german develloper) and he gave me some advices.
Especially, he told me that java was maybe not the easiest way to learn to code with 0 background and suggest me to try python and other things.
Do you have advices for me, since I want to build simple app (somes textfields, somes checkboxes to get scores and the ability to export a result sheet in pdf) at first, but i do not want to use app inventor or similar tools since I ultimately want to fiddle with the AOSP agenda (get the contact list to pop up like the invite list when i click "description field" , change default duration of appointements etc...).
Any ideas, suggestions, or tutorial are welcome, just keep in mind that I know nothing (Jon Snow like).
http://forum.xda-developers.com/showthread.php?t=2388486
Jus go here
.........................................
visit www.fb.com/softcrush
If you want to become a professional android developer then it is advisable to learn Java and XML a bit better,,and there are bunch of resources available on How to build android apps !
If you really want to become a Programmer then it is advisable to start from the beginning i.e C and then Java
Thats how everybody starts learning coding !
Go through video tutorials for understanding how the coding works !
Happy to help !
Sanjay said:
http://forum.xda-developers.com/showthread.php?t=2388486
Jus go here
.........................................
visit www.fb.com/softcrush
Click to expand...
Click to collapse
This is a great list. I love to see my boy Derek Banas on there
alfredmuffin said:
Hello, everyone. Can someone please direct me, an absolute beginner with no experience in programming at all, where to begin learning. I would like to ultimately develop for Android.
I'm running Ubuntu 13.04; how can I set up an environment to learn programming, and what are some resources that I can use?
Click to expand...
Click to collapse
google it man you will thousands of website which will teach u programming for free. I would have put the links but dont wanna be treated as spammer
For now don't worry about making an app with the Android SDK or anything big like that. Just start simple with some little programs that print stuff into the terminal. It's a good thing that you have Ubuntu because Linux OS's are always great to learn programming on!
I'm also a noon and I found it easy to start with Batch on Windows and I have just been getting better and better!
Well I understand it's not easy to get started. One thing you will have to recognize that there's a lot of things involved getting prepared for Android programming. For example, while developing for Android you will need to be able to write a bit of XML as well, you will need to set up your IDE, get the necessary Java dependencies, get a little bit familiar with Maven to be able to use 3rd party libraries and so on. It's most definitely intimidating. So what I would recommend is to...
- Try to allocate time every day for learning this, even if it just means half an hour or less a day.
- Always take notes and don't be afraid to ask; nobody should assume you know the answer.
- Once you've learned something, help others to get ahead - seniors will probably recognize your efforts so you will be able to get help more easily.
- Try to talk about programming in person with people who are more proficient in it. Nothing helps as much as having a pro sitting in the same room, ready to help you.
- Try to join related communities as well, it can really speed things up.
- Baby steps. Many people get started in programming with having crazy big ideas only to meet failure later. It's not a good thing to frustrate yourself, so choose small goals first.
I can't emphasize the last point enough. Whenever you start learning new stuff - no matter whether you're a novice or an expert - you will need to focus on this, because the initial steps are always problematic. For example, when you start learning a new programming language: the syntax is new, the way for getting the app run is new, the IDE might be new, if the tool is web related then probably it uses a different kind of server than the one you're used to etc. etc. etc. so barriers all around. You must get comfortable with this first, then you will be able to speed things up.
How to start coding
How I started:
Basic Stuff:
1. Java, I used Java Complete Reference
2. Data Structures (most commonly used- Stacks, Queues, Linked list, HashMap, List) [Basic Understanding]
3. Algorithms (will help you to write efficient code) [Basic Understanding]
4. XML, just basic understanding is required, use internet to learn
Android Specific Resources:
1. The Busy Coder's Guide to Android Development [Very useful]
2. New Boston Videos
3. Android Cookbook, if you want a solution to a particular problem
Spend more time learning Java and other basic stuff, once your basics are clear, then you can easily adjust yourself on any platform.
Recommendations for Aspiring App Developers
Hi,
I was in your same shoes about 3 years ago so I can tell you what steps I took to start coding. I took the longer route but it was the correct route. Key suggestion is to learn the lower levels of coding first. (lower levels meaning base languages, binary being the lowest). Start with the C language as this is the core programming language which most other higher levels are based on. If you have the money take a structured online course on Udemy or CodeAcademy. If you're short on money and need to learn on your own don't worry there's plenty of resources out there to learn. That's how I did it. Start out with videos on youtube, try to find a complete structured course here's one with over 130 videos. Sorry, can't post links cause I'm new but just go to Youtube and type in "C Programming Complete Tutorial" to get the course with the structured 130+ videos.
The best way to learn any programming language is to find some free source codes in the designated languages and start tinkering, breaking and fixing the code. Once you learn this core language you will be able to programm\ desktop apps, simple software and mobile apps in other higher level programming languages.
Hope this helps.
-Jeff
alfredmuffin said:
Hello, everyone. Can someone please direct me, an absolute beginner with no experience in programming at all, where to begin learning. I would like to ultimately develop for Android.
I'm running Ubuntu 13.04; how can I set up an environment to learn programming, and what are some resources that I can use?
Click to expand...
Click to collapse
Hey Guys,
I love thenewboston website that you've pointed us to. But as a first step, should I learn some C or Java before progressing on to thenewboston Android tutorials?
I have no programming experience, but lots of motivation.
Thanks,
Donald,
New Zealand
Sanjay said:
http://forum.xda-developers.com/showthread.php?t=2388486
Jus go here
.........................................
visit www.fb.com/softcrush
Click to expand...
Click to collapse
recommend "head first java"

Categories

Resources