beginner at java/android - General Questions and Answers

I know very little when it comes to programming. About the extent of my programming is getting a batch file to read from a list. So where do I start if I want to look into android programming? Should I pick up a beginning java book?
I have an idea for program, so I have a goal.

not sure if books are needed anymore really
soo many sites and forums just about general programming
and also spc about developing java for android
google should be much faster then using a real book

If you are getting started with android, one thing you will need for sure is the SDK, found here.
As far as learning it goes...google has a fairly good introduction on the platform, although I am not sure it is suited for someone new to programming. I can't really help you there, except point you to the google guide if you want to try anyway.
http://developer.android.com/guide/basics/what-is-android.html

Related

I want to create an Android App, Help?

Does anyone in here have experience designing Android Apps?
I am very good with computers, very, very little programming experience, but I have an idea for an app that I would really like to create.
So how hard is the first app? I'm going to download the SDK today when i get home and do some reading and see what I can figure out..
I wish I could get someone I knew and trusted to help me out, but I'd be scared they'd try to steal my idea and cut me out of the loop...
If you have little coding knowledge then how do you expect to be able to code an application.
Agreed, if you have no programming experience then you've got no hope. Although Android apps are coded in Java (therefore a nice OO language which is fairly easy to learn) you still need experience imo.
Anyone can learn to program but it takes time and effort. Leave Android for the moment and learn Java first. A starting point would be here http://java.sun.com/docs/books/tutorial/getStarted/index.html
Once you're comfortable with Java, then move onto Android.
I also recommend you to read up on java, here's a good tutorial.
http://www.homeandlearn.co.uk/java/java.html
They use NetBeans instead of the famous and google supported Eclipse.
But you must first understand Java and programming in general.
im also interested in making an app, and have experience with java. is java the only language that you can use for android? how about jython, since my python is better than my java, it would be best to use that...
i guess i'll start by dl'ing the sdk lol
I think as long as you have an interest in it, and have some aptitude for coding, then you can learn basic programming for android pretty quickly.
I only had really basic programming knowledge, and I managed to get an Android app out - admittedly it's simple (calculation type app), but it's a starting point.
I would recommend having a look around the internet like code.google.com to check out some source code for programs similar to what you would like to write. Also the developers site http://developer.android.com/index.html has some good examples and guides - definitely worth reading.
I've been using appinventor.. I wish making a real app was this easy.. Of course it's just basic things that really nobody would buy, but it's neat to create apps without experience.

How to make an app?

I'm putting my theming project aside for now and get onto creating an app that I've always wanted to create that I do not see ANYWHERE in the market, forums, android websites, etc.
I've been reading and reading and reading different threads, instructions, etc. But no clue where to start. I've been reading on App Inventor but realized that it is very limited and I have my high doubts that App Inventor will not be able to achieve what I have in mind to make.
I've got the latest SDK and AVD Manager, JDK, Java, and have been using my emulator to test edited APKs. I'm pretty sure I'll be using my emulator to see how my app progress is coming along and see possible FCs and other issues and correct them as well as adding more to the app to make it even better.
But right now I'm stuck at where to begin here. Right when I was about to create this thread, I was making the name of the Title of this thread and was given threads relating to my title name and saw one thread that was sort of mentioning what I'm asking here.
I read the link provided in that thread ( http://developer.android.com/guide/topics/fundamentals.html ) and got some clues but just not enough to get me started here. I just need that push to get me going and eventually push it out to the market and make some money as a side project and learn from that and possibly make more useful apps. I cannot disclose my ideas here because then someone else (who has experience making apps) could take those ideas from me and go make it.
Is anyone willing to work with me here to get me started? I've helped countless people so it would be nice for a change for someone to help me out here.
There are so much Android development books on the market that I suggest to start with one of them. It's the best way to get some knowledge of the design principles used by the Android development framework.
Another method is to start with some examples found on the web. Just search for Android examples or something like that and you get tons of links
Another method is just to create something, get stuck and try to search for a solution (the most pragmatic method )
Yeah I know. That's why I'm constantly researching. I'm seeing some similarities between Java coding and building scripts in IRC (which I used to do, nothing big, just really small stuff). But my main problem is knowing what exactly are the main tools I need. I've had Eclipse for awhile but never used it. It has a lot of stuff in it and I get lost after a couple executions.
I'm just anxious to get started somewhere and get the momentum rolling for starters.
Could someone point me to a good book/ebook ? There are many out there but I'm sure that are some better than others...
If any french-speaker knows one in Voltaire's language, I'm in too. But English is fine...
DannyBiker said:
Could someone point me to a good book/ebook ? There are many out there but I'm sure that are some better than others...
If any french-speaker knows one in Voltaire's language, I'm in too. But English is fine...
Click to expand...
Click to collapse
Yeah, a good book (english) would be great. Can anyone recommend one?
You don't have to buy books but they do contain a lot more info in one book and would be better to have than trying to scour the internet and pull a bunch of infos together and try to put it together to understand step by step on how to get started and everything else.
Here's a link to a lot of android development books:
http://www.amazon.com/s/ref=nb_sb_s...pment&sprefix=android+application+development
Here's a link to some more info to getting started that is also useful:
http://developer.android.com/guide/basics/what-is-android.html
You may also need to get a Java coding book to help you put codes together properly and understand what each coding does, and tweaking them to work better.
Here's the link to Java coding for Android stuff for beginners:
http://www.amazon.com/s/ref=nb_sb_s...x=java+for+dummies&rh=n:283155,k:android+java
I just bought 2 books for Android application development and looking around for a good Java coding for beginners.
mdonova33 said:
Yeah, a good book (english) would be great. Can anyone recommend one?
Click to expand...
Click to collapse
professional android 2 application development by Reto Meier: http://www.wrox.com/WileyCDA/WroxTi...ication-Development.productCd-0470565527.html
Or, the Busy Coder's guide to android development by Mark L Murphy: http://commonsware.com/Android/
Last one is more written in a "let's get dirty" style. Really like that
TheSwaggeR said:
...
I just bought 2 books for Android application development and looking around for a good Java coding for beginners.
Click to expand...
Click to collapse
I think any java book will do, as long as it covers the principles of object oriented design and the data structures used by Java. You don't need any info about GUI programming in Java because that's all covered by the Android application framework.
The best Java books are the ones written by James Gosling et al, the designers of Java. But that may also be over the top for Android application development. Just some basic Java will do to get you started. The algorithms needed for basic apps aren't that complex.
App Inventor is a great tool to develop your android app. It simplifies the development and the editor is very intuitive.
Check out my blog on App Inventor and AppToMarket and a Workshop
http://Amerkashi.Wordpress.com

[Q] !!! What's the Best Book to learn Android Development for beginners!!!

The subject says most of it really. I'm looking for a book that will teach me to develop for the Android market. A book for beginners. The kind of book with lessons, tasks, examples etc..
I'm a complete novice when it comes to Android Development, I've no understanding of the Java programming language at all and only minimal xml knowledge. However I am very good with computers and learn quick, I've got the time the patience and the motivation + (a Samsung Nexus S & a HTC Desire S).
I know it takes time and practise but its something I really want to learn and have plenty of time on my hands at the moment.
I've done webdesign so understand html, css, online shopping carts etc.. not that that's going to help me a lot.
Maybe I'll need a couple of books one for Java and another for Android please provide your thoughts on this.
Any suggestions maybe with links (if allowed) would be greatly appreciated.
Many thanks in advance.
Marc
aka - NexusCrazy
Though I've no links to books which you could buy..
Android applications are written in Java (J2SE, not a pared-down Java Mobile/Micro (Java ME) as found on many low-end phones) using an open-source J2SE implementation based on Apache Harmony along with tons of Android-specific libraries for things like UI and handy third-party libraries for things like HTTP requests and JSON parsing. That Java code is compiled and then transformed into Android-specific files in a format called .dex, and runs on the phone in a highly optimized VM runtime called Dalvik. Luckily, you’ll almost never have to think about any of those pieces in between writing your code and running it on the phone, since the tools take care of them for you.
You’ll want a recent version (3.4 or 3.5) of the Eclipse IDE (Integrated Development Environment) for J2SE, the Android SDK, and the Eclipse ADT plugin to interface with those tools and provide project templates. Be sure to check out Google’s complete installation instructions for details.
Here are some other links to get you started;
http://www.codeproject.com/KB/android/AndroidGuide.aspx
Android Developers website
Have fun programming,
Senax
I just started out and the android developer site is really awesome. I come here for regular roaming looking for answers.
They have a bunch of "real" tutorials that is a step by step building apps like a picture that you touch and it makes a noise, to this pic call app and etc.
I just started my first CS class and we are using "Java: How To Program" 8th. But I have researched these forums looking for the same question.
The most up to date forums that had recommended books:
Beginning Android, Head First and The Dummies Android Book. Although most of the stuff i read said the android site has pretty much everything you need to know and that books will help with getting to know the basics!
What about roms?
im going through a similar phase in my life with wanting to learn about Android and im downloading the ebooks to my rooted nook color now.. What would be the first few steps in just building a rom... im not interested as much in building programs... but i am a flashaholic.
The best book to learn about android development hasnt been published yet. I geuss thats just because you cant publish XDA Forums xD
Hopefully you're a pro by now, but if not, I picked up "Hello Android" today from Amazon, and it has received a lot of positive reviews.
Sent from my HTC ThunderBolt using XDA App
From my perspective I knew nothing about Java/Android, but I had a couple other programming languages under my belt. Just jumping into tutorials really helped me more than any reading material. Also there are a ton of helpful stackoverflow posts related to android, so if you get stuck a quick google search will usually help you out
Tutorials are best
Books help, but i like tutorials because they are direct information with real cases
unusualbob said:
From my perspective I knew nothing about Java/Android, but I had a couple other programming languages under my belt. Just jumping into tutorials really helped me more than any reading material. Also there are a ton of helpful stackoverflow posts related to android, so if you get stuck a quick google search will usually help you out
Click to expand...
Click to collapse
That's the way i took .
I knew C, SystemC, some bash and C++.
Started with the hello world tutorial and then i just dove in with an idea.
API documentation, StackOverflow and Google eventually got me where i wanted to be.
Then just repeat this process often enough with other ideas and will get comfortable with writing android apps.
But the android sdk is vast and i still find something cool and new everyday.
Also try #android-dev on freenode irc.
I took a couple of courses on C++, Java, and one in C. However, I really get lost when I look at how Android apps are developed. Also has anyone tried mobile development tools?

Learn Java

Does anyone know of a good online source or book to learn java from? I'm about to install Linux on my laptop and would really like to know where I can learn Java and what IDE would be preferable.
Also, any links to Android development tutorials (basic stuff at first) would be much appreciated.
http://developer.android.com/resources/tutorials/hello-world.html
Just google "android hello world"...
Thanks man, I've seen plenty of third rate tutorials yet sadly didn't think to look at android's dev site.
Mmm personally get a dummy or concise to the point book. A book that doesn't dwell on every syntax and functionality available. Books that do tend to intimidate the beginner at first. (ME!) XD
Then when you get experience with the language, you can get one of those more proficient books. And start reading or finding the things you need.

[Q] app dev question

hi guys.. im new here and all.. but, where do i start with app development? up to what part of java should i learn?
kevikevs244277 said:
hi guys.. im new here and all.. but, where do i start with app development? up to what part of java should i learn?
Click to expand...
Click to collapse
Depending on how much knowledge you have of programming in general, you may be able to pick up Android development fairly quickly by simply googling for simple Android tutorials such as "how to create a button in Android", "how to play a sound in Android app", etc. If you do already have some programming experience, I would strongly suggest checking out a youtube channel by the name of 'TheNewBoston', which has a wide-range of video tutorials for Android & Java development alike.
If you have absolutely no programming experience, I would suggest at least playing around with Java for a month or two. Get yourself comfortable with variables, methods, and the different basic data-types. I believe that as long as you have a loose grasp on those aspects of Java development, then you shouldn't have *too* much trouble learning Java and Android synchronously.
Hope this helps a little bit.
jay613 said:
Depending on how much knowledge you have of programming in general, you may be able to pick up Android development fairly quickly by simply googling for simple Android tutorials such as "how to create a button in Android", "how to play a sound in Android app", etc. If you do already have some programming experience, I would strongly suggest checking out a youtube channel by the name of 'TheNewBoston', which has a wide-range of video tutorials for Android & Java development alike.
If you have absolutely no programming experience, I would suggest at least playing around with Java for a month or two. Get yourself comfortable with variables, methods, and the different basic data-types. I believe that as long as you have a loose grasp on those aspects of Java development, then you shouldn't have *too* much trouble learning Java and Android synchronously.
Hope this helps a little bit.
Click to expand...
Click to collapse
thanks for the info..
actually, i have programming background in c++ and c#.. im just starting to learn java... should i "master" java first before i indulge to android?
kevikevs244277 said:
thanks for the info..
actually, i have programming background in c++ and c#.. im just starting to learn java... should i "master" java first before i indulge to android?
Click to expand...
Click to collapse
Well, if you have a background in C++ and C# then you will be comfortable with Java, as theoretically its all same as all these comes under the OOP concept. So you don't need to 'master' Java by reading another 1000 pages Book. I guess C# and Java has many similarities when it comes to syntax and minor differences such as C# uses the keyword 'using' and Java uses 'import' to import or use those pre-defined classes that you can work on with.
I guess you can go directly into Android app development if you have any Tutorials with you, and I bet you will understand the code. But, if you insist yourself you can do some Java examples just in case to get an idea about the language though, as its always good.
One difference: In Java we use getters and setters to access variables of other objects. Not difficult though.
If you already have a decent grasp of C++ and C#, then Java should come quickly. You'll need to be fairly proficient with Java to build any non-trivial app, but you can definitely learn it while also learning how to use the Android SDK. The two are not mutually exclusive.

Categories

Resources