Android app development help? - Java for Android App Development

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

Related

[Q] First Android Project

I'm looking to start my first Android but I'm not sure where to start. I want to make a launcher app. Is that a little over the top for someone who has never written in this language before?
Have you done any programming before?
A little bit of Java not much though and some Python but that doesn't seem to matter much.
Check out this thread I just made:
http://forum.xda-developers.com/showthread.php?t=814908
It could be a valuable experience for you. If we find the right people, you could learn a lot AND still work on a Homescreen-app. I don't now about your current ideas, but I'd be excited to hear them.
Check out Resources in Android Developer website.
You can start with a simple Hello World app, and move on from there.
Hello Android!
There are more examples in the left navigation.
Have fun
Actually Python helps a lot. Try to learn C#, it's structure is very similar to Java but easier to learn.

[Q] Need to learn java

Hiya,
I have noooooo knowledge about any computer language and want to learn Java as i heard that its the language required to develop android apps. I know it takes alot of time to develop apps but im ready to spend my time so kindly let me know how can u start learning java at home? and should i learn anything before learning that as i dont know a word about programming
Thanks
http://www.megaupload.com/?d=65FYTS7W
That's a download for Java tutorials. To actually do them you'll need a compiler. I use jGrasp but there are many others you can use. Eclipse is pretty popular and they all do the same thing basically. A compiler can be downloaded on the internet, and you'll need to download Java from Sun Microsystems as well. Just to let you know you gotta be pretty dedicated, it takes a lot of time to make good apps. Google's App inventor is an alternative to learning code.
thanks for da help but da prob is dat i need to start from basics, like the full basics of programming even simple definitions, can u also guide me a book or ebook for that too so that i can learn the super basics like definitions first b4 learnin java
thanks
n btw the link doesnt work
This may get you started:
http://download.oracle.com/javase/tutorial/
But if you're never programmed in any language, you need to take an intro to programming course.
________________________________
Unrevoked forever
SkyRaider Sense 3.5
Radio 2.15.00.09.01
can u learn this intro to programming online? or thru any book?
I don't have anything I can recommend. But there's tons of info online. Just do a google search for 'Intro to programming'. That's how I found this:
http://math.hws.edu/javanotes/
________________________________
http://ron-droid.blogspot.com
thanksss ill take a look at it
I started with the book, hello android 3rd edition. Its a great book.
Nookie Froyo 0.6.8 (zoom2)/Tapatalk Pro
Did u start from zero from this book? I mean u had to learn the basic terms and definitions even??
Sent from my Nexus One using XDA Premium App
You cant try this Stanford University lectures on youtube: http://www.youtube.com/user/StanfordUniversity#g/c/84A56BC7F4A1F852 ..or just search for "Mehran Sahami Programming Methodology" in itunes U if you use itunes.. Same lectures. I think its a really good starting point.
Bro you should check out "Starting out with Java: From control structures to objects" by tony gadis. Just google it. Its the one I used in my intro to programming course. It starts out as basic as can be. Its really good
Sent from my SGH-T959
I was in his shoes...about 15 years ago LOL Wow, where does the time go? 2 degrees and a couple careers later I guess.
What I would stress are a few things:
1. Learn how to do some flow charts before you write code
2. Learn the basics of program flow (if/else, do/while, switch/case statements)
3. Learn the "types" of your language (int, String, float, char, modulus etc.)
4. Learn some data structures (arrays, Lists, Vectors etc.)
5. Learn about functions and/or classes. Remember that a function should be fairly short and very specific to a task, like: getUserName, calculateCheckingBalance etc.
6. START SMALL AND WORK TO LEARN SOMETHING NEW EVERYDAY!
I can't stress how important #6 is. Do a "Hello World" program just to get used to writing some code.
Think of some simple programs like: write numbers 1 to 10 to an array and print them out backwards, ask user to input what year they were born in and print them back their age. Advance up to something like a ATM simulator where you can make deposits, withdrawals, check your balance. I did all similar type things in Programming 101.
I still love the Dietel and Dietel books...get one for JAVA and it's money well spent in my opinion.
I've uploaded some of my university lectures which start from the absolute basics.
http://forum.xda-developers.com/showthread.php?t=854462
They may help you
Thanksss guyssssssssss ill look over all these! thanksss alottt
mohsin125 said:
Hiya,
I have noooooo knowledge about any computer language and want to learn Java as i heard that its the language required to develop android apps. I know it takes alot of time to develop apps but im ready to spend my time so kindly let me know how can u start learning java at home? and should i learn anything before learning that as i dont know a word about programming
Thanks
Click to expand...
Click to collapse
Here are the top tips for anyone who wants to start learning Java:
Learn the Basics. As with anything, knowing the basics about Java is the best place to start. ...
Practice Coding. To use the old cliché, practice makes perfect. ...
Set Your Algorithm Carefully. ...
Trace Your Codes on Paper. ...
Read Sources on Java Programming Regularly.

skill set required for android development!!

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

Where to start in Android application development?

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

[Q] Need some advice on Android apps

I want to start making apps. The only programing ive ever done was some visual basic and html back in high school and im not sure i remember much of that. I know that android uses java so my question is should i learn java first and then learn how to use it on android or just start by trying to make simple apps. Im planning on buying a few books so give me a head up if you know something that would help me out.
Thanks for any help in advance.
You should learn java first because if android apps are based from java, you will need to get the right coding information from java. Also android needs some high quality games so if I were you, i would learn java first so I can be able to meet these needs instead of making simple apps. We really need more developers like you who are willing to do this.

Categories

Resources