Android Dev - General Questions and Answers

Where's the best place to start android development with no programing experience I've heard that java is the best doing some random searching but can someone point me to something more specific like a book or something any help would be greatly appreciated.
Sent from my DROID RAZR using XDA Premium 4 mobile app

ntrider1991 said:
Where's the best place to start android development with no programing experience I've heard that java is the best doing some random searching but can someone point me to something more specific like a book or something any help would be greatly appreciated.
Sent from my DROID RAZR using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I would start with any Java programming guide as well as Any linux beginners guide. You can find both at the local book store or library

ntrider1991 said:
Where's the best place to start android development with no programing experience I've heard that java is the best doing some random searching but can someone point me to something more specific like a book or something any help would be greatly appreciated.
Sent from my DROID RAZR using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://www.google.com/url?q=http://...twIwAA&usg=AFQjCNEOnPOwBk1Dea262w7Wc6YzOd5-mg
This what I used to learn java and I can say ever thing he went over was covered in my java classes. Also you need to know your way around Linux.
Sent from my YP-G1 using xda app-developers app

Related

[Q] HELP!!! Tutorials On Application Development

So I want to make an app but have NO experience...are there any tutorials? I want to make simple and advanced apps(maybe for some extra cash? Lol) any help?
Sent from my DROIDX using Tapatalk
Why don't you go to the official android developers page?
Xda app
Not everyone knows how to find the pages they need. Perhaps provide a link? I assume he hasn't come across that yet since he's asking.
Sent from my Incredible using XDA App
http://developer.android.com/index.html here you go
Xda app
TheRedDrake said:
http://developer.android.com/index.html here you go
Xda app
Click to expand...
Click to collapse
Thank you, I will start there. I knew about it but not exactly where it was..also if there are other tutorials out there I would be more than happy to have them thanks
Sent from my DROIDX using Tapatalk
Are there any shorter guides or maybe easier way to go through I am overwhelmed with all of this info
Sent from my DROIDX using Tapatalk
tycoon177 said:
Are there any shorter guides or maybe easier way to go through I am overwhelmed with all of this info
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
Programming is always hard. I suggest starting with a simple app that has 3 screens and a couple of buttons for interaction and maybe some images.
Xda app
Do you have any suggestions for staring apps for this
Sent from my DROIDX using Tapatalk
Anyone?
Sent from my DROIDX using Tapatalk
tycoon177 said:
Anyone?
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
First of all, do you know how to write in Java? Because none of the tutorials I have found include that part. You will find it very hard if you don't! Pick up a book on Java, and read all the way through it first. I found books better than online for some reason. It doesn't matter if the book is a few years old, many of the concepts will be the same.
Then find some beginning tutorials for developing Android apps. I've found a few, and I will update this if I find any more, but here are some:
http://hackaday.com/2010/07/12/android-development-101-–-a-tutorial-series/
http://www.vogella.de/articles/Android/article.html
http://androidwizard.net/ -- Make sure you have a look at the beginner ones first, because there are many tutorials here.
Then if you require more detail, move on to the info at developer.android.com/ as it is more advanced (well its aimed at users who already know a bit).
I would also learn just some basics on how a program flows. It is essential since most programmers know several languages or are able to know how to read code without knowing the syntax. After you get the basics down, look through all the examples given with the SDK and see if you understand it. Hope that helps. Good luck!
Sent from my SAMSUNG-SGH-I897 using XDA App
Do you have a suggestion for the type of java for the book? I am using eclipse
Sent from my DROIDX using Tapatalk
Anyone
Sent from my DROIDX using Tapatalk
I read "Sams Teach Yourself Android Application Development in 24 Hours". It was pretty cheap and they also have a java one. It was a nice start, pretty good explanation of code and space out each part so not overwhelmed.
Sent from my GT-I9000 using XDA App
Should I read the java one first? And where would I get this book? Im just wanting to learn this.
Sent from my DROIDX using Tapatalk
I only read the android one. I would say read the android one and if you are lost after the second or third chapter, read it again (they are short) and if still not understanding then get the java one. It all depends on you're background and current knowledge...also remember Google is you're friend for words/statements that you don't recognize. Hope that helps, and.you can get book at barnes and noble or borders. It seems to be a common book.
//Excuse all typos as I am most
//likely sending from phone
Thank you I will look into getting that book
Sent from my DROIDX using Tapatalk
I got the android one and might have to get the java one after looking at this
Sent from my DROIDX using Tapatalk
Anything you don't understand you can just ask questions about and and we all can try to explain it in better terms for you.
//Excuse all typos as I am most
//likely sending from phone
realhades said:
Anything you don't understand you can just ask questions about and and we all can try to explain it in better terms for you.
//Excuse all typos as I am most
//likely sending from phone
Click to expand...
Click to collapse
Thank you
Sent from my DROIDX using Tapatalk

Programming

Say I wanted to make an app for android, what's the best language to code it in? I'm still learning so yeah.
sent from my r800i using XDA app.
Oh, dude. CSS for sure!
aden35 said:
Say I wanted to make an app for android, what's the best language to code it in? I'm still learning so yeah.
sent from my r800i using XDA app.
Click to expand...
Click to collapse
Do a forum search and you'll get a more detailed answer as its been asked before but basically there are at least two answers.
Java, using an ide such as eclipse as android is java based.
Or basic4android if your used to the basic style programming languages like visual basic on pc or if java seems hard to learn.
Dave
Sent from my LG P920 using Tapatalk
Thanks guys will try java
sent from my r800i using XDA app.
Oh and also how should I go about learning, is there a super website or something?
Sent from my R800a using XDA App
I would say Java for sure with Eclipse. I use thenewboston.com for java android tutorials.
Start here:
http://developer.android.com/index.html
Everything you need, the SDK, sample code and tutorials, etc. etc. all in one place.

How would one learn to create software

I am interested i n learning how to create software for my phone I have a Samsung vibrant anybody who can offer any help I will accept it openly
Sent from my SGH-T959 using xda app-developers app
Hello I'm in the same boat. I was told to practice JavaScript and HTML. Believe me I've spent all day reading and searching and I have a head ache
Sent from my Sensation using xda app-developers app
Development for Android is done mostly in Java. It is very simple programming language, after a few weeks of practice you should be good at it. Here you have a tutorial on how to create first Application: http://developer.android.com/training/basics/firstapp/index.html
miki100 said:
Development for Android is done mostly in Java. It is very simple programming language, after a few weeks of practice you should be good at it. Here you have a tutorial on how to create first Application: http://developer.android.com/training/basics/firstapp/index.html
Click to expand...
Click to collapse
Not applications I'm talking a about things like roms
Sent from my SGH-T959 using xda app-developers app
The New Boston
The new boston has a 200 video series on android application development. It's a little bit dated but if you go to http://thenewboston.org/index.php. It shows you specifically how to develop for android 2.2 (froyo). that being said most (if not all) of those applications should fun just fine on any OS 2.2 and above.
The main things is that you are using the API level from 2.2 so unless you change it later on you won't be able to use newer features. BUT... it can take someone from 'eeerrr I think this be mah keyburd' to 'Yeah, i just wrote and android app and put it on the market. BYAAAH!!!'.
Definitely worth checking out. I checked it out and when they came out they were cuttign edge pretty much (like a year ago lol).
Once again http://thenewboston.org/index.php
---------- Post added at 09:42 AM ---------- Previous post was at 09:32 AM ----------
HA... I just realized that you said ROMS. well that is a completely different story... that is really trial and error until you figure out how everything works.
If you aren't running on ubuntu then download virtual box:
https://www.virtualbox.org/wiki/Downloads
Once you have that the EASIEST way to get started is to download the ISO for ubuntu 10.04:
http://releases.ubuntu.com/lucid/
Once you have created the Virtual machine with ubuntu 10.04(simply because it is the best for development):
http://www.youtube.com/watch?v=jC6jSiGSbUE
Then I recommend to get your environment setup you follow the instruction at the below site:
http://www.freeyourandroid.com/guide/compile-ics
Now that I actually read what you were askign for and am not a complete tard... hope this helps.
I looked it up and it also gave me a link on how to set up Ubuntu. So my next question is, where do you get source codes? I myself have a vibrant so of course it doesn't get source code updates although I know that some ports are from the gnex
Sent from my SGH-T959 using xda app-developers app
Is it fairly easy to pick up then? I program in a language called SAS and I have done bits of Java and VB in the past.
LeChuck85 said:
Is it fairly easy to pick up then? I program in a language called SAS and I have done bits of Java and VB in the past.
Click to expand...
Click to collapse
That's what I'm trying to figure out I haven't done programming but I usually pick up quick on tgings I would ask a dev for my service but they have a lot on their plate as it is
Sent from my SGH-T959 using xda app-developers app
sounds like xda veterans should compile an Android rom "how to for dumb dumbs" e book and put it for sale in the play store and on Amazon self publishing. you'd probably make a fair amount for yourselves and the site, depending on how you went about it; problem is I think all forums on this site would then be totally flooded with repeats, duplicate functions mods, crap roms, and just generally bring the average level of code down to hella-sloppy levels. yikes, pick your poison
I understand that serving requires a lot of time butnim serious about this. Not o my that my friend has an lg lucid and I have other people who would like development for that pho e which I would help with hopefully
Sent from my SGH-T959 using xda app-developers app
I understand that deving requires a lot of time butnim serious about this. Not o my that my friend has an lg lucid and I have other people who would like development for that pho e which I would help with hopefully
Sent from my SGH-T959 using xda app-developers app
skinzy98 said:
Not applications I'm talking a about things like roms
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
roms are also largely in java (or davlik, anyway)
You can start by compiling something like CM10 (not an easy task, I might add).
Most devs begin because there's something they are itching to have but that doesn't exist. Once you've successfully compiled, you can start tweaking these things in.
is there no how-to guide somewhere for your-first-compiling and what-files-do post for dummies somewhere?
Sent from my EVO using xda app-developers app
wlpywd said:
is there no how-to guide somewhere for your-first-compiling and what-files-do post for dummies somewhere?
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Yes I did recently find one in the vibrant forum on how to setup and compile using Ubuntu
Sent from my SGH-T959 using xda app-developers app
thanks
Sent from my EVO using xda app-developers app

What do you guys think of these 2 apps?

These are two apps i made... Do you guys have any suggestions/feedback to how i can improve these apps?
Here are the links
http://goo.gl/T5Duf
http://goo.gl/T3Q0Z
Droid mute is fun to play around with
Sent from my XT912
Can you help me how to create an app? How did you learn? What program do you use? Much appreciated
Sent from my DROIDX using xda app-developers app
mattselfking said:
Can you help me how to create an app? How did you learn? What program do you use? Much appreciated
Sent from my DROIDX using xda app-developers app
Click to expand...
Click to collapse
I used app inventor to create those two apps. I learned from experience and the tutorials on the sites, other sites, and forms. Here is the link http://www.appinventor.mit.edu/ . I recommend you learn java instead though. App inventor is very limited and not as powerful. Im currently trying to learn java. There are all sorts of tutorials on how to learn it. heres one from google. http://developer.android.com/training/basics/firstapp/creating-project.html

[Completed] Java Compiler

Hey guys I'm looking for a good java Compiler. Any help would be great
Thanks in advance.
sorry if this is the wrong section for this post.
Sent from my X501A using Tapatalk
Well we are here to help you navigate through xda. A quick Google search finds plenty to choose from but I would assume you have done this. Is there something specific you are looking for? Or what are you trying to accomplish?
Sent from my Nexus 7 using XDA Premium 4 mobile app
I've done that. Like I use code blocks now for c and c++. I guess I'm locking for something with a lot of options
Reppie30 said:
I've done that. Like I use code blocks now for c and c++. I guess I'm locking for something with a lot of options
Click to expand...
Click to collapse
Fair enough, I would suggest asking in developer tools forum or peek around there for some recommendations
http://forum.xda-developers.com/tools
Otherwise you may find some help in the general q&a forum as there are always plenty of people lurking here to help
http://forum.xda-developers.com/android/help
Best of luck!
Sent from my Nexus 7 using XDA Premium 4 mobile app
Cool thanks for the help

Categories

Resources