Learning to program - Android Q&A, Help & Troubleshooting

I would really like to learn to write software for androids. What programs will I need to write and test software? I have basic programming knowledge from taking c++ and java classes while in high school. I am running Mint 15 on my computer so the windows tutorial didn't help me out really. Still kind of new to Linux.
Sent from my HTC6435LVW using xda app-developers app

Knowing c++ and java will help a lot, go to androids development site and download the SDK with eclipse, learn eclipse, do the hello world tutorial, watch some videos, and read a lot! Learn github and repo, decompile some apps, see what they're made of. Download a ROM from source, see how its built. Tons of threads on xda and elsewhere on the web, try to start out small and work your way up, that's the best advice I can give... Read a lot, and search a lot
Sent from my Nexus 4 using xda premium

Go to youtube, search for android bootcamp posted by Marakana. Its an old video but it will give you the basics of getting an android app running.

Alright thanks for the tips! I'm going to check it out later today and can't wait to check out some ROMs. I'm running cm10.1 in my DNA atm so I think I'll check out that one first
Sent from my HTC6435LVW using xda app-developers app

Here is another question. I already have eclipse on my laptop and had downloaded android tools already. So where do u get the adt plugin for eclipse and the other android tools that I need?
Sent from my HTC6435LVW using xda app-developers app

Related

[Q] What to learn to develop a rom?

Ok, ive searched a couple times and asked around about where to start learning and what to read that will help me make a rom for the vibrant. Can anyone tell me what i need to know and where i can learn to develop a rom for the vibrant?
Same here.....10 yrs Network Engineering/Administration....but on Microsoft systems....Hoping Team Whiskey will implement a mentoring program...as this is my first Android phone.
Sent from my SGH-T959 using XDA App
i'm pretty sure a great working knowledge of Linux is required....so thats all Android is....mini Linuix for smartphones.....then you gotta have a programmer mentality...i'm a great VB/Java/BATCH developer....can't do sh*t in Android ROM development...tried it and failed miserably...thank God for Odin
Right...I had a few Linux Server clients over the years but nothing that I ever had to dig very deep into...basic mandrake...fedora core..some redhat setups at home. Did just d/l Unbuntu to check it out..
Sent from my SGH-T959 using XDA App
so are they any suggestions of what to read that will teach me how to make a rom on my own from a source code. i wanna no wut all this RFS talk is about i want to be able to understand everything developers talk about
There is a guide to compiling in the dev section....Gridlocks guide..has pics & instructions..good read
Sent from my SGH-T959 using XDA App

How to program Android apps

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

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