Recently, I felt inspired and I want to begin to try and create Android Applications, Widgets, and games. However, I have no idea what language it's written in and if there's a specific book that would help me plz link me to it.
Also, what language is it written in? lol
Thnx guys
Probably a good idea to do a search (xda or google) before posting threads like this, which there are already hundreds exactly the same.
Android apps are written in Java. There quite a few threads about android books on this forum.
Start with the sdk documentation and examples here.
Don't expect it to be super easy, there isn't a website, book or tutorial that is going to teach you to write awesome apps in 20mins. It will take time.
Download the .zip in the first post here - http://forum.xda-developers.com/showthread.php?t=854462
University standard basic java tutorials
Related
Hi all,
I want to start application development for android. Can anyone please let me know the requirements for this?
I know that I am asking very general question and please let me know if this is not the correct place to ask this query.
I know C/C++...what things I need to learn before starting application development for android?
Waiting for reply!!
From what I can tell:
Java.
Then hit the android developer's website and they'll teach you how to write for android platform.
Sent from my HTC Vision using XDA App
Thanks skulk, but do I need to start learning Java from scratch for that?
Can anyone please guide me in this?
vijay.gupta said:
Thanks skulk, but do I need to start learning Java from scratch for that?
Can anyone please guide me in this?
Click to expand...
Click to collapse
Well, it's pretty hard to learn a new programming language from the middle!
Go to the Android devs site... There are plenty of tutorials there, as well as links to Eclipse (favoured Android development platform).
sorry to be so naive...but what is the link of android dev website?
Clicky the linky.
many thanks floating man. I didn't knew that this is different forum from any android developer forum...btw can you please let me know the difference between this forum and any android dev forum?
This is a general smartphone forum, mainly catering for HTC made devices, but covering "some" others as well.
Thanks floating man. I will subscribe to any of the android dev forum and ask the same query there. But there is one doubt: whether such a basic (and naive) query be resolved there?
Do you recommend any particular android dev forum?
since you already know c/c++ you already know the basics of programming which are the same for each language i guess.
in my opinion writing basic/simple apps for android is more easy than writing the same app in c/c++.
so for basic/simple apps you could start with some general java tutorials especially about OOP and then go on to Android ...
just simply Google search terms like "android development for beginners" or "android app development tutorial" and plenty of websites come up offering handy dandy hints =]
Thanks elgubbo,
I will try that and let u know if thwre is any issue...let me kbow if anyone else has any suggestions....
For me it always helps to try to understand other code samples. Thats why I am looking for a book wich explains a few basic (and some advanced) code samples.
Sent from my fishbowl...
Java was originally created as a successor to C++ and if you know C++ the syntax of Java should look very familiar. It was designed to make OOP concepts more accessible to C++. It was also set up to make pointers and memory management a thing of the past.
Actually in a lot of ways, knowing C++ will give you an advantage over devs who only know Java. Eventually you'll be able to use Android's NDK (Native Development Kit). Although you will have to use some Java as all apps require the use of some java and the SDK on Android. But even then, you'll have a better idea of what is happening "under the hood" due to your C++ knowledge.
As for where to get started I would suggesst learning applications fundamentals:
http://developer.android.com/guide/topics/fundamentals.html
Especially the Activity lifecycle and Component lifecycles.
Do all the "Hello World!" tutorials and then you should be well on your way to becoming the next Angry Brid..... err Angry Bird dev.
Thanks alostpacket. That is a very useful link. I will read it and let u know if i have any queries. I just have a doubt, moreover, i am fearing because i have only written simple c++ programs till now. Will i be able to do it?
vijay.gupta said:
Thanks alostpacket. That is a very useful link. I will read it and let u know if i have any queries. I just have a doubt, moreover, i am fearing because i have only written simple c++ programs till now. Will i be able to do it?
Click to expand...
Click to collapse
Instead of being scared by it, TRY it! Install Eclipse. Install the Android SDK. Try the tutorials. Only you can know if you can do it or not.
Thanks floating man for supporting me, however, can you please let me know the place to help me out regarding very basic queries regarding starting programming...like I want to know what eclipse is, what is SDK (I know the full form though: Software Development Kit)
Is the place...http://developer.android.com?
Actually, I have worked on C/C++ at very basic level where we write programs in IDE and save the file as either .c or .cpp
These seems to be very basic things.. that i should know..i can read if you have any link or doc..
vijay.gupta said:
Thanks floating man for supporting me, however, can you please let me know the place to help me out regarding very basic queries regarding starting programming...like I want to know what eclipse is, what is SDK (I know the full form though: Software Development Kit)
Is the place...http://developer.android.com?
Actually, I have worked on C/C++ at very basic level where we write programs in IDE and save the file as either .c or .cpp
These seems to be very basic things.. that i should know..i can read if you have any link or doc..
Click to expand...
Click to collapse
Yup, That's the correct site. They have a whole section to get you started using eclipse there too.
This is a great place to start:
http://developer.android.com/sdk/installing.html
Hello everybody, long time lurker, first time poster. I'm posting to ask about where to get started in developing Android applications? I have half a degree in computer science, am familiar with coding, and work in Android software QA, but I'm trying to get my skillset up to the next level and actually start developing applications on Android. Is there any specific books or literature I should read to get me started on my journey? I'm also a long time IT guy on both Windows and Unix-based systems, so I'm by no means computer illiterate. I'm also a long time phone modder as I've been tweaking Android phones since the original G1 running 1.0. Thanks in advance!
Take a look at the Android Developer guide. It has samples and tutorials. If you google, there are also several free PDFs on the subject.
A good Java book will also help a lot. Just start to write a few trial apps and you will get there quickly!
The best place to learn for me, is android web page:
Here you have everything to start:
http://developer.android.com/guide/index.html
And to set up the environment for developing:
http://developer.android.com/sdk/index.html
If you want to learn from the scratch, the links I posted are your point. You can also take a look to the tutorials:
http://developer.android.com/intl/es...llo-world.html
You can also start with java, if you want.. I reccomend you take a look to this:
http://download.oracle.com/javase/tu...ava/index.html
http://download.oracle.com/javase/tutorial/
and start from Java SE 6 (http://download.oracle.com/javase/6/docs/)
http://www.oracle.com/technetwork/ja...sp-135888.html
I don't know what your college classes are like for CS, but you should have the basics of programming, why not start writing some Android apps?
Start with the basic "Hello World". Get used to working with main.xml and TextViews, EditViews, ListViews, Buttons and Listeners. Android is mostly JAVA, some Android-specific operations and your xml files.
Take some of your CS 101 type programs and try to write them on Android. The more programs you write, the more you learn.
Try to learn something new everyday and in no time at all you'll be impressed with how far you have come.
Rootstonian said:
I don't know what your college classes are like for CS, but you should have the basics of programming, why not start writing some Android apps?
Start with the basic "Hello World". Get used to working with main.xml and TextViews, EditViews, ListViews, Buttons and Listeners. Android is mostly JAVA, some Android-specific operations and your xml files.
Take some of your CS 101 type programs and try to write them on Android. The more programs you write, the more you learn.
Try to learn something new everyday and in no time at all you'll be impressed with how far you have come.
Click to expand...
Click to collapse
Yes this is really a good advice
Just start writting little programs and you will go up soon
You could use the sample code that comes with the sdk, and start with different things: First, layout, xml and the like. You could then start with some othe things, like services, broadcast receivers, content providers, to get the feel of them. And finally, work with the hardware: Internet (wifi or 3g), bluetooth..
Hey guys, Sorry to get off Track but I've been trying to Complete my ROM for Everyone that's Currently using it. Anyways... Reading All the Posts in this Thread it seems to me that there Definitely are some Well-Seasoned Veteran Developers here, so Forgive Me but I have to ask, Is there Anyone that can maybe Help assist me with getting FlashLite Working on my Rom.... Please?
The link to my Rom Thread is in my Signature... and my phone is a (CDMA) Sprint Hero!
Thanx in Advance!!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://www.mediafire.com/?bb1axugm0bw7oro
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS
At Barnes and Noble there is a book called Android App Development in 24 Hours. It is a freaking great book. Helped me a lot when I started. It breaks down the chapters in to hours with exercises and explanations. Being familiar with Java fundamentals would be good, but not necessary. The first couple hours(chapters) explains the a general overview of the history of the OS and helps you build your first app. My favorite part of the book is how it teaches you to build and app piece by piece over the rest of the chapters adding new features each hour. So, by the end you have and app with quite a bit of features that work and you actually understand how and why. At the end, you have an app that has a lot of Android features as well as knowledge of how they work and can be used. It doesn't go into the more advanced features, but it is well worth the money for beginners. I still use it as a reference because of the easy to understand instructions. Sometimes, the Internet guides assume you have been using Java for 10 years and skip how and why they are doing something. And even then I doubt every veteran Java programmer remembers everything. I am half asleep so forgive any grammar errors.
Ken
Sent from my iPhone with the bigger Gee Bees.
http://www.youtube.com/watch?v=SVZ1P35xgNQ
Really good tutorial for the first basic steps. In terms of installing eclipse/java and hello world. He continues with his tutorial in part 2, part 3 and so on.
Android/fruItphone app. idea needs help...
If there is anyone who has knowledge on building apps for Android, I would be extremely interested to share with them an idea for an app. I'd hope this app would be able to work on that other fruIt based dumbphone, too.
Well, there is planty of developers out here I'm one of them (thought not the smartest ) so, if you want to share the knowledge, feel free to PM me
Hello, i`m newbie to android programming ( java ) i want to make an aplication for an auction website.
With what i can start to learn to can build this application ?
I was thinking to build application for auction website over RSS feed its a good choice or bad ?
Any other suggestion from where to start or what type of application to go are welcome ( if rss feed type its bad )
Thanks.
gkilah said:
Hello, i`m newbie to android programming ( java ) i want to make an aplication for an auction website.
With what i can start to learn to can build this application ?
I was thinking to build application for auction website over RSS feed its a good choice or bad ?
Any other suggestion from where to start or what type of application to go are welcome ( if rss feed type its bad )
Thanks.
Click to expand...
Click to collapse
First you will need to learn Java. This is a great book for that purpose: http://www.headfirstlabs.com/books/hfjava/
I learned Java with it myself. It is good for beginners and in no way reading it is boring!
nikwen said:
First you will need to learn Java. This is a great book for that purpose: http://www.headfirstlabs.com/books/hfjava/
I learned Java with it myself. It is good for beginners and in no way reading it is boring!
Click to expand...
Click to collapse
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
gkilah said:
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
Click to expand...
Click to collapse
Ok. This is a tutorial for that: http://developer.android.com/training/index.html
Check the first lesson.
gkilah said:
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
Click to expand...
Click to collapse
There's a good series of 200 video tutorials for beginners made by thenewboston, it's quite good and it will show you how to build a dozen different applications with different purposes (i.e a stopwatch, an internet browser etc...). It will give you the basics of the Android APIs & the xml part of the job along the way.
Plus they're short videos so you can watch one when you have a few minutes anytime.
Here's the playlist with the 200 videos : http://www.youtube.com/watch?v=1j4prh3NAZE&playnext=1&list=PL33384E9848C4F55E&feature=results_main
I've looked through several books for beginners, and I think "Hello, Android" by Ed Burnette is the easiest to start with.
Hello, I am a computer science student and i need some help getting into android programming, i know a bit, but frankly it aint much.
I know C++, C#,Visual Basic,(I know C++ the most) and i am currently taking a class on Java, but I want to get into android programming too!(I made a game for android a while back using unity.)
I don't need a tutorial from the ground up.
I know how setup the environment, sdk, run, etc.
I want to learn how to work with layouts and make them look cool,
basic app functionality, work my way to internet connected apps, databases, apps with root, gestures, all that fun stuff.
I am just wondering if anyone would share any info or site that helped them.
I am not that much of a noob to programming but i am to the android sdk and a rookie with java.
if any mentor would step up or something i would really appreciate it.
Thank you.
btw if you're feeling bored check out my game!
http://forum.xda-developers.com/showthread.php?t=2495430
Yes, i know its hard, i have a better version, i just haven't compiled and uploaded, i will soon.
I think best Website is always developer.android.com.
It hasn't only the API reference, but also Training section and much more.
Whenever I don't know sth I first visit this.
Regards
According to me you should go step wise step...Watch video tutorials on YT.
You can ping me for help.
Thanks
then go to java website and start learning java. Loads of tutorial stuff is on their website
java.com
then go and download the Android SDK in about 2-3 months when you've completed the above.
how to convert Shell script to apk file?????
hello gud evening to all
i am a ECE student...anyone can tell me how can i make a apk file by the use of Shell script...i have a shell script and just want to make a apk of this...
need help please...:crying:
Okay so i have been reading a lot and programming for weeks.
I am getting very comfortable with the android api. i've built a few of my own ****ty apps..
now i'm looking for a project to work on, something simple but not too simple either.
I need a little help with fragments and layouts and such, so if anybody has an idea for a project i could work on
or could teach me about fragments, feel free to post please? xD
Good day everyone,
Please I am very very new to Android App development, I'm a complete nob but I really have a desire to build apps for the android platform. I recently downloaded an android tutorial pdf which I use to practice, I have installed on my PC ADT and Android Studio, but everything seems to complicated to me, the java language and everything looking soo hard. I managed to sail through and mastered the codes for Activities, Services but I got stuck when I got to the Content Providers chapter of the tut. The thing is I dnt knw how to write java.
Please what I need to know now is; what is the most basic of Android app development? Where do I have to start from first? and the steps to follow.
Thanks alot in advance
Yoozeey said:
Good day everyone,
Please I am very very new to Android App development, I'm a complete nob but I really have a desire to build apps for the android platform. I recently downloaded an android tutorial pdf which I use to practice, I have installed on my PC ADT and Android Studio, but everything seems to complicated to me, the java language and everything looking soo hard. I managed to sail through and mastered the codes for Activities, Services but I got stuck when I got to the Content Providers chapter of the tut. The thing is I dnt knw how to write java.
Please what I need to know now is; what is the most basic of Android app development? Where do I have to start from first? and the steps to follow.
Thanks alot in advance
Click to expand...
Click to collapse
If you're completely new to Java (and programming in general), you should learn it first. You don't need to know everything, but you should at least learn the basic syntax, variable types, and object oriented programming. I know MIT Opencourseware has free course materials on learning Java, it might be a good place to start.
Need Support
Hello Guyz,
I am a newbie. I just published my first android app in Google Play Store. I need your support to grow...please help me grow. Rate if you like this game:
play.google.com/store/apps/details?id=com.hachi72.flynofly
Thanks
Adding to flywheels, next you might want to check Android specific materials from official web-site. You need to learn base/fundamental, I believe this is why you stuck with Content Providers.