How to program Android apps - Android

I've never programmed an Android app before, but a few years back I did do a bit of Java programming on my PC. I'm looking for recommendations on a book that gives step-by-step instructions on how to program apps using the Eclipse IDE. I have tried the training found here:
http://developer.android.com/training/index.html​
but I need a lot more details on the fundamentals with lots of examples.
Pete

For a start you shall use mit app inventor by google
Sent from my GT-I9070 using xda app-developers app

Need help with the android API
I love android and more importantly, would love to develop for android . But the problem is I need some help on how to develop apps for android. Developer.Android is great, but there's no one for doubts and there are things that I cannot understand directly by looking at the code and other given info. I love XDA community because of their love for development, and I trust people at XDA for providing the right help.
I could really use some help on the issue, where do I look for getting familiar with API and every thing else to finally develop an app?
I am not asking for some complete guide books or something else like a complete tutorial (maybe yes but i think the they are hard to find and are not that substantial), just a happening place where there is some substantial material that offers a little more help on what developer.android has for develop.
Just let me know what's the best way for me to continue, even if it is sticking with developer.android and trying to understand it !!

AlexCoolBoss said:
For a start you shall use mit app inventor by google
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks. I will try out the MIT App Inventor. Just curious, how does it compare with the Eclipse IDE for developing Android apps?
Pete

MIT App Inventor it is just for a start! You can t do very complicated things but it is the best for learning the basics...it has virtual emulators, some useful tutorials, you shall take a look
Sent from my GT-I9070 using xda app-developers app

AlexCoolBoss said:
MIT App Inventor it is just for a start! You can t do very complicated things but it is the best for learning the basics...it has virtual emulators, some useful tutorials, you shall take a look
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks. I tried the first tutorial. It was fun, but seems like a game! I think I really need to get back to the Eclipse IDE and learn how to use it. Anyone have other suggestions to help me understand the fundamentals of Eclipse.
Pete

I started with this. http://thenewboston.org/list.php?cat=6

you can use eclipse with android sdk of course. :fingers-crossed:
if you want to make games with 3d or something like that you can use unreal or unity.

blazingwolf said:
I started with this. http://thenewboston.org/list.php?cat=6
Click to expand...
Click to collapse
Thanks. That looks very helpful. I'm now working on the second video with 198 to go .
Pete

Those are the tutorials to use.
Enviado desde mi XT912

Thanks for the tutorials! I'm in the same boat. I'm wanting to learn to develop, and the android and java sites leave some things a little unclear (to me anyways).

I built an app in one day, only resources were the Android developer website and StackOverflow.
I am 15 years old...
It's easy. If you want to do something, just search it on google. I had 0 java experience before!
EDIT: I recommend http://developer.android.com/training/basics/firstapp/index.html
Sent from my Galaxy Nexus running Android 4.2 JB

Th
Thank you

An app a day?
What app did you make in a day?
Mine (PhotoDream) took me 3 months, and It hope it will worth.
mDroidd said:
I built an app in one day, only resources were the Android developer website and StackOverflow.
Click to expand...
Click to collapse

elfranchu said:
What app did you make in a day?
Mine (PhotoDream) took me 3 months, and It hope it will worth.
Click to expand...
Click to collapse
Well you won't know it.
It is for Dutch students in my state/province/region. It is used for checking school schedules, check if student can stay at home (because a teacher is sick or w/e) and save schedules for offline usage.
ATM, my app is limited to support only 5 schools, wich are 10k students. It has that limit because the headmaster forbade me for the time being...
Anyway, it has a pretty neat layout and dus what it's supposed to do

Related

Where did you learn to develop?

Alright, I've been going around the forums a bit, and more and more I'm seeing tons of "young'ns" developing. You know, along side everyone else.
My question is, where did you get all of this experience? Are there workshops open? Online classes? Did you just learn yourself? Do you have to be a son or daughter of Hephaestus? Do tell, I am intrigued.
thebeastglasser said:
Alright, I've been going around the forums a bit, and more and more I'm seeing tons of "young'ns" developing. You know, along side everyone else.
My question is, where did you get all of this experience? Are there workshops open? Online classes? Did you just learn yourself? Do you have to be a son or daughter of Hephaestus? Do tell, I am intrigued.
Click to expand...
Click to collapse
There will be a xda-university (website) soon so you can learn more about developing.
I learned from xda users (devs, etc) Google and YouTube.
-iDanny
I'm learning to skin from Google, XDA, etc. More importantly, I'm also picking the brains of my Team members and huddle mates.
I had a personal phone call with Larry Page and he taught me everything.
Lolno, Google, bugging other people for help, more google, XDA, bugging even more people, taking chances, and something I read in a book lol
Any specific book you'd like to share?
Sent from my HTCEVOV4G using xda premium
And is it a big difference between developing a normal application and customizing a ROM?
I think that there are a lot of guides out there teaching us how to build an android application, but for a ROM, is there any?
thanks.
Sent from my Nexus 7 using Tapatalk 2
iDannyPR said:
There will be a xda-university (website) soon so you can learn more about developing.
I learned from xda users (devs, etc) Google and YouTube.
-iDanny
Click to expand...
Click to collapse
Are you serious about this? Lol
Sent from my PG86100 using xda app-developers app
thebeastglasser said:
Any specific book you'd like to share?
Sent from my HTCEVOV4G using xda premium
Click to expand...
Click to collapse
I don't remember exactly what it was, but it had to do with unix because I needed some scripting help
Averell said:
And is it a big difference between developing a normal application and customizing a ROM?
I think that there are a lot of guides out there teaching us how to build an android application, but for a ROM, is there any?
thanks.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Apps and Roms have their similarities, but they are pretty different from each other, what I kinda did was took my base, and took another rom that was built off the same base and compared and contrasted the different files to see what did what, and made my own custimizations from there
thebeastglasser said:
Any specific book you'd like to share?
Click to expand...
Click to collapse
There's an XDA Developers' Android Hacker's Toolkit available on Amazon, but according to the table of contents it only covers some theming stuff and no ROM building so it depends on what interests you.
ramjet73
I looked around in other forms bug a lot of ppl for help took me like the hole summer just to learn and build one
Sent from my SGH-T679 using Tapatalk 2

0 programming experience, but I want to develop on android. Where should I start?

Hi,
As the topic says, I have little to no programming experience (a little html, but that's about it) and would like to learn how to Program, on android.
Does anyone have any useful links on where I can start down this long road?
Tia
Sent from my SGH-I747 using xda app-developers app
colhavoc said:
Hi,
As the topic says, I have little to no programming experience (a little html, but that's about it) and would like to learn how to Program, on android.
Does anyone have any useful links on where I can start down this long road?
Tia
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
This is your right place friend
http://forum.xda-developers.com/showthread.php?t=1272270
If you want to develop ROMs, the above reply is sufficient, if it is apps you want, then start by learning Java. Then go to developer.android.com, you'll find all the needed resources there..
Yeah, it's programming I want to do. Java it is then.
Thanks for the information. Any recommendations for literature?
colhavoc said:
Yeah, it's programming I want to do. Java it is then.
Thanks for the information. Any recommendations for literature?
Click to expand...
Click to collapse
You will be using Eclipse. Trust me
http://www.eclipse.org/documentation/
colhavoc said:
Yeah, it's programming I want to do. Java it is then.
Thanks for the information. Any recommendations for literature?
Click to expand...
Click to collapse
http://www.vogella.com/android.html
http://developer.android.com/training/index.html
These links would be sufficient to get you started.
Was looking for the same thing, thanks for links!
Really good way to start is this site right here, gives you the fundamentals etc.
http://codecademy.com
Excellent
premsrj said:
http://www.vogella.com/android.html
http://developer.android.com/training/index.html
These links would be sufficient to get you started.
Click to expand...
Click to collapse
Excellent.......

Want to learn to program android apps and games.

Hi everyone, I have been using the Android OS for a few years now, and I love it. I have just decided today that I am no longer going to just watch from the sidelines as apps get released. I want to get my greasy little mitts in on the action.
I would really appreciate some advice on what I should start with. I would like to learn Java, and or Python. I just need to know what direction I should go in. I really want to create games. Any advice would be amazing
Sent from my DROID BIONIC using xda app-developers app
Here
For app Development Learn to make android apps
For Game we have one here
[GUIDE] Android Game Development Tutorial! (Beginners welcome)
May find More...
You shouldn't have started a new thread,search!
XDA Rules
Hit Thanx :good: if you see help coming your way
I just browsed, when I should have been searching lol... I will use those links. Thank you soo much
Go here codeacademy.com you can learn Java and Python
Sent from my SGH-I997 using xda premium
CinderCloud said:
Hi everyone, I have been using the Android OS for a few years now, and I love it. I have just decided today that I am no longer going to just watch from the sidelines as apps get released. I want to get my greasy little mitts in on the action.
I would really appreciate some advice on what I should start with. I would like to learn Java, and or Python. I just need to know what direction I should go in. I really want to create games. Any advice would be amazing
Sent from my DROID BIONIC using xda app-developers app
Click to expand...
Click to collapse
I really would advise learning java. A really good tutorial sight is thenewboston.com. It has a multitude of programming tutorials as well as android tutorials. After going through these tutorials, I would recommend using the andengine library for games as it makes collisions, physics, and animations much easier to deal with. Good Luck!
deathblade said:
Go here codeacademy.com you can learn Java and Python
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
codeacademy.com does NOT teach Java, only JavaScript. I searched for the Java course and there is none to be found.
try deitel and deitel
lanwarrior said:
codeacademy.com does NOT teach Java, only JavaScript. I searched for the Java course and there is none to be found.
Click to expand...
Click to collapse
try the deitel and deitel ebook for android programing it is a bit difficult if your a beginner but it sums up everything you need to know i find it great
you can even try the lynda series for android they are a straight forward approach and easy
CinderCloud said:
Hi everyone, I have been using the Android OS for a few years now, and I love it. I have just decided today that I am no longer going to just watch from the sidelines as apps get released. I want to get my greasy little mitts in on the action.
I would really appreciate some advice on what I should start with. I would like to learn Java, and or Python. I just need to know what direction I should go in. I really want to create games. Any advice would be amazing
Sent from my DROID BIONIC using xda app-developers app
Click to expand...
Click to collapse
I love android coding, and maybe I can teach u something.
I can't post links yet (this is actually my first post in the forums!), but I found the Android Bootcamp 2012 video series from NewCircle priceless. It's available for free on YouTube and it is based on the development of an entire app from scratch. It is slightly outdated, but very well made.
I also followed the Coursera's course on Android by prof Adam Porter: it's free as well and it just ended, so it's really up to date. It is based on a different approach though, covering different topics and providing several little projects, instead of a single one.
Imho though you do need some knowledge of Java. I came from a C++ background, so i was able to follow those courses while also learning bits of Java too, but starting with zero knowledge of both the Android api and Java could really be overwhelming, just warning you.
While following the Coursera's course, I saw people recommending a free course about Java taught by John Purcell on the Udemy platform (I might be wrong on the guy's first name).
Sent from my Galaxy Nexus using XDA Free mobile app
frabena said:
I can't post links yet (this is actually my first post in the forums!), but I found the Android Bootcamp 2012 video series from NewCircle priceless. It's available for free on YouTube and it is based on the development of an entire app from scratch. It is slightly outdated, but very well made.
I also followed the Coursera's course on Android by prof Adam Porter: it's free as well and it just ended, so it's really up to date. It is based on a different approach though, covering different topics and providing several little projects, instead of a single one.
Imho though you do need some knowledge of Java. I came from a C++ background, so i was able to follow those courses while also learning bits of Java too, but starting with zero knowledge of both the Android api and Java could really be overwhelming, just warning you.
While following the Coursera's course, I saw people recommending a free course about Java taught by John Purcell on the Udemy platform (I might be wrong on the guy's first name).
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
After taking that Coursera clas by Prof. Porter I was able to put an app in the app store. Aww yea.
Yea me too, it was a really cool course. Are you planning on following the next course? It seems like a tough one!
Sent from my Galaxy Nexus using XDA Free mobile app
frabena said:
I can't post links yet (this is actually my first post in the forums!), but I found the Android Bootcamp 2012 video series from NewCircle priceless. It's available for free on YouTube and it is based on the development of an entire app from scratch. It is slightly outdated, but very well made.
I also followed the Coursera's course on Android by prof Adam Porter: it's free as well and it just ended, so it's really up to date. It is based on a different approach though, covering different topics and providing several little projects, instead of a single one.
Imho though you do need some knowledge of Java. I came from a C++ background, so i was able to follow those courses while also learning bits of Java too, but starting with zero knowledge of both the Android api and Java could really be overwhelming, just warning you.
While following the Coursera's course, I saw people recommending a free course about Java taught by John Purcell on the Udemy platform (I might be wrong on the guy's first name).
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
Can you link me the videos? just want to be sure I have thesame video as yours.. Please pm/post me the exact link.
thanks
PM sent
Sorry, I still am too new to post links on the forums
Sent from my Galaxy Nexus using XDA Free mobile app

I do badly want to become a developer.

Where to start? I'm seventeen years old, and this is what I want to go towards going forward into life: developing! But the problem is I don't know where to start. I figured this would be the perfect forum to get some guidance. Please teach me
Sent from my EVO using xda app-developers app
krobinso2295 said:
Where to start? I'm seventeen years old, and this is what I want to towards going forward into life: developing! But the problem is I don't know where to start. I figured this would be the perfect forum to get some guidance. Please teach me
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I will definitely start at the Android tutorials sub forum.
Do you have unlimited data allowance? As I have found out first hand, this is a crucial factor in the way you will learn and progress because a lot of the good tutorials are in the form of YT videos.
krobinso2295 said:
Where to start? I'm seventeen years old, and this is what I want to go towards going forward into life: developing! But the problem is I don't know where to start. I figured this would be the perfect forum to get some guidance. Please teach me
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Also depends on what you actually want to developer. ROMs? Android apps? Games? Something else? They all require slightly different routes. But a good understanding of programming in general will be a very good help in anything you do
Sent from my Nexus 4 using xda premium
zacthespack said:
Also depends on what you actually want to developer. ROMs? Android apps? Games? Something else? They all require slightly different routes. But a good understanding of programming in general will be a very good help in anything you do
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I really want to do roms and apps. I just really wish I could find someone that would be interested in mentoring of something haha... But I mainly am looking to do roms and apps.
Sent from my EVO using xda app-developers app
krobinso2295 said:
I really want to do roms and apps. I just really wish I could find someone that would be interested in mentoring of something haha... But I mainly am looking to do roms and apps.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I'm your age too I do developing primarily on computers though and I have been doing that for a couple of years now. I can say that the best place to start is to learn a programming language. Most Android apps are coded using Java so, if you have some experience with coding learning Java would help you alot. But if you have little to no experience coding I would suggest you start off with something like C maybe even python but syntax is very different compared to Java so C is recommended. After you have enough experience with that I'm sure you can jump into building ROMs.
Good Luck!
gr1m.r34p3r said:
I'm your age too I do developing primarily on computers though and I have been doing that for a couple of years now. I can say that the best place to start is to learn a programming language. Most Android apps are coded using Java so, if you have some experience with coding learning Java would help you alot. But if you have little to no experience coding I would suggest you start off with something like C maybe even python but syntax is very different compared to Java so C is recommended. After you have enough experience with that I'm sure you can jump into building ROMs.
Good Luck!
Click to expand...
Click to collapse
Are there any books you recommend?
Sent from my EVO 4G LTE using xda app-developers app
my problem is I don't have a unique and practical idea. I'd wish I could come up with something that would be lucrative & beneficial but those ideas are limited and I wouldn't want to do something someone else has already done.
If I wanted to learn I'd get the latest Android Studio & follow some "Hello World"- type walkthroughs. I'd think YouTube vids would be helpful.
Then try to latch on to an open source project since I'd have an existing project to see how it's done.
krobinso2295 said:
Are there any books you recommend?
Sent from my EVO 4G LTE using xda app-developers app
Click to expand...
Click to collapse
I've always found Head First Series to be good. Try Head First C or if your feeling confident try Head First Android Development. But adding on to what jawz101 said the best way to learn a programming language really well is to do your own project, also, check out "professional" open source projects to learn the style and even some tricks of the trade.

[Q] Wich course choose to start developing

Hi everybody,
I'm an Italian guy who's looking for starting developing on android, but right now I'm pretty doubtful about wich course to start from.
I'm gonna explain you my plan:
I was looking for an Android course in E-Leaning mode and after a deep research I found a good IT italian school that uses the Cisco Webex platform (they made me try it with a tutor of them).
They do courses for Java, Android, and many others..
I thought that instead of starting directly to Android, I would need some Java skills, then I was thinking to apply the Java basic course (40 hours + OCA certification that could also be a good thing for my Cv) on first, then in a second moment apply the Android developing course (80 hours).
I'm an IT technician, doing Helpdesk and similar things, i studied programming at the high school, ending with java and databases in the last year, but it has been 4 years ago and I don't remember it so well..I'm more skilled in programming languages like C, Visual Basic and similar..
About Java, I just remember a few things about Object Oriented..
Somebody told me that I don't need Java to learn Android, cause they're different.
Finally the question is, what would you suggest me to do?
Learning Java, then Android is the perfect thing to do. As Android app basically contains both XML and Java, if you're skilled enough in Java, then developing in Android will be much easy.
Learn c,c++, java.. then ur good 2 go
Sent from my E15i using xda premium
syahazu said:
Learn c,c++, java.. then ur good 2 go
Sent from my E15i using xda premium
Click to expand...
Click to collapse
C was my best..but never did anything of C++.
Then finally I applied to the Java course. :victory:
Thanks for your advices, I'd appreciate to read more about your thought on the subject.
Btw let's see how it goes :laugh:
Take a breath and skip the Java course
There is no better learning than actually applying a skill in trying to solve a real problem. This applies even if you're just starting to learn a language. Will you end up learning more if you take both courses? Yes. Will your CV look more impressive? Maybe. Is it a good way to spend your time? I'm not so sure.
The truth is, jumping directly into Android development will quickly improve your Java skills as well. If you have some knowledge of C and VB, you will be able to follow along from the very beginning. It might be slightly overwhelming at first, but I guarantee that after the first couple of exercises, your "lack" of Java knowledge will no longer slow you down. And if you get stuck with any Java-specific issue, the answer is always on the web a couple of Google searches away.
If I were you, I'd save time and money and go directly for Android. After that is done, you can spend your spare 40 hours on something that will give you a better bang for your buck, for example a UI design course. Or maybe iPhone development.
is there any video material course like bootcamp but for android studio, it takes a while for me to get where to look since its not same order of files and things when you work with eclipse and android studio
@Iluvatar The Killer
so, ur very great then ha3..
Im just an ordinary computer science student ....
Sent from my E15i using xda premium
syahazu said:
@Iluvatar The Killer
so, ur very great then ha3..
Im just an ordinary computer science student ....
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Maybe..
But it has been 4 years that i'm no longer programming (instead of my 8 years of learning programming languages starting from really basic programs like Basic, Assembler, Turbo Pascal) I have to focus all my memory right now..gnnn.!
What an effort..! :laugh:
Well, be strong-hearted..
May the F0rce b with u
Sent from my E15i using xda premium
syahazu said:
Well, be strong-hearted..
May the F0rce b with u
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Yes I will!!!
And thanks for the force
I just started the course this week.. It seems to be great!!! (The java language, and the training course)
:thumbup:
Sent from my Nexus S using xda app-developers app

Categories

Resources