Android Application Development... - Android Q&A, Help & Troubleshooting

Hey guys!
I need to develop an android app for my summer project but I don't know how or where to start. I have some very basic knowledge of C++. What I want to make is a news app or something like that. The app would connect to a news website, whatever the user selects, (say xyz.com) and all the headlines and everything could be presented in a nice app layout.
Or
I want to make a very simple app that would just turn on and off the wifi, mobile data, GPS and all. A toggle app basically.
How can I make any of these?? Seriously need some help as I have to submit my project in about a week or so.
Thanks!
Sent from my GT-N7000 using XDA Premium

Start by finding a reference book or site on the basics of Java.
Download the Android SDK and set up your dev environment. I recommend you use Eclipse (with ADT plugin). Guides on how to do this can be found by doing a simple web search.
Next start going through intro tutorials. Create a hello world type app.
Android app development is not that hard. There are tons of tutorials and references online. Just gotta figure out what you want to develop.
Have fun!

This is usually a good place to start:
http://developer.android.com/training/index.html
They have a lot of demos and tutorials.
The second best place is StackOverflow! Literally! You'll find loads of tips by searching for the right things.

hey, i do develop apps, the project u have thought about, is very easy to execute, i use java and xml to make projects, u can use NDK if u have greater c++ knowledge,,,
but i would advise u to use java only, 1st set up eclipse with android plugins, adt and sdk, then create an android project and for the layout buttons/listview u can just have a webView activity to open up, its a library, this can be completed in 6 hrs, enjoy
thank me if i helped u

s4shyam95 said:
hey, i do develop apps, the project u have thought about, is very easy to execute, i use java and xml to make projects, u can use NDK if u have greater c++ knowledge,,,
but i would advise u to use java only, 1st set up eclipse with android plugins, adt and sdk, then create an android project and for the layout buttons/listview u can just have a webView activity to open up, its a library, this can be completed in 6 hrs, enjoy
thank me if i helped u
Click to expand...
Click to collapse
AceRoom said:
This is usually a good place to start:
http://developer.android.com/training/index.html
They have a lot of demos and tutorials.
The second best place is StackOverflow! Literally! You'll find loads of tips by searching for the right things.
Click to expand...
Click to collapse
theInfected1 said:
Start by finding a reference book or site on the basics of Java.
Download the Android SDK and set up your dev environment. I recommend you use Eclipse (with ADT plugin). Guides on how to do this can be found by doing a simple web search.
Next start going through intro tutorials. Create a hello world type app.
Android app development is not that hard. There are tons of tutorials and references online. Just gotta figure out what you want to develop.
Have fun!
Click to expand...
Click to collapse
thanks guys! i'll download the SDK and learn about all these things, google is my friend!
at least I know where to start now!

Related

Starting with Android app development

I have very little programming experience, just some in C and C++. But I'd like to start learning how to develop for Android.
Any good books/ebooks which will help me started? Or any guide or anything such?
Ill help you out if you want. Email me [email protected].
i wanted to start too, i just wanted to know if it is harder to learn to program for android than for example to programm with c#. and what's the best way to get started
meaningQo said:
i wanted to start too, i just wanted to know if it is harder to learn to program for android than for example to programm with c#. and what's the best way to get started
Click to expand...
Click to collapse
Just like me...
1. Start with learning Java as a programming language.
Don't waste time on learning how to create GUI in java as it is irrelevant to Android, but make sure you know the basics of how threading works, what collections you can use, learn the java event listeners model (concept only) etc.. Also make sure you're using Eclipse as it would probably be your primary IDE for Android development. For an experienced C++ programmer this step should take no longer than a week.
2. Install the Android SDK (follow http://developer.android.com/sdk/installing.html).
3. Read the developers guide basics.
4. Learn from examples!
The Android SDK comes with many example projects, just add a new Android project in eclipse and choose "from example" in the window that will follow.
There are also many open source Android projects you can learn from.
roee88 said:
1. Start with learning Java as a programming language.
Don't waste time on learning how to create GUI in java as it is irrelevant to Android, but make sure you know the basics of how threading works, what collections you can use, learn the java event listeners model (concept only) etc.. Also make sure you're using Eclipse as it would probably be your primary IDE for Android development. For an experienced C++ programmer this step should take no longer than a week.
2. Install the Android SDK (follow http://developer.android.com/sdk/installing.html).
3. Read the developers guide basics.
4. Learn from examples!
The Android SDK comes with many example projects, just add a new Android project in eclipse and choose "from example" in the window that will follow.
There are also many open source Android projects you can learn from.
Click to expand...
Click to collapse
good advice. but consider IntelliJ as well as Eclipse. i find IntelliJ nicer and faster to use
Another useful thread on this topic is here:
[Q] How did you learn to develop?
http://forum.xda-developers.com/showthread.php?t=1206082
As mentioned there, it would be good to get a general noob dev guide set up on here so that people can get started with developing.
Well i just started learning development in android as well,i have been trying hard to find sources to help me understand until i stumbled upon a gold mine....!
here it is:http://www.youtube.com/user/CornboyzAndroid
http://www.youtube.com/user/mybringback
this guys videos are awesome explains in detail....
Hope this helps all new learners like me,also the user in those videos has been doing this out of his busy schedule for free,if those videos teach you something or help you in anyway then please consider making him a small donation....!
I would also suggest to post your questions (or find answers) on the stackoverflow website (http://stackoverflow.com). It is full of smart guys
Another approach would be to build your apps in html / javascript using frameworks like JQuery, and then use a tool like PhoneGap which will bundle it into an app that will run cross platform
Found another good book:
android application devlopment for dummies.....!
great book see if u can find it,if u dont then let me know i will upload it ...!
its the best book i have seen for android
edit: ok here is a link for the book,i am doing this just because many ppl pmed me to upload it,if the mods feel the link shouldnt exist u can always delete it
http://stor1070.uploaded.to/dl/JnhVLWv0qz
link added to the above post
Thanks for this, good resources.
adicool said:
Found another good book:
android application devlopment for dummies.....!
great book see if u can find it,if u dont then let me know i will upload it ...!
its the best book i have seen for android
edit: ok here is a link for the book,i am doing this just because many ppl pmed me to upload it,if the mods feel the link shouldnt exist u can always delete it
http://stor1070.uploaded.to/dl/JnhVLWv0qz
Click to expand...
Click to collapse
Page not found
Error: 404
I would love to get that book but the link is not good. Thanks anyway.
i will be uploading it tonight then,u will see a link soon
Found the book here for download: http://www.google.com/url?sa=t&sour...s61ws8oFg&sig2=vQS3EtQFTFUaJWLnsmYGXQ&cad=rjt
Sent from my Transformer TF101 using Tapatalk
Ok another few of my good resources as always for laerning android:
Get hold of Android course videos by Plural sight
Android with java essential videos by Lynda.com
Android using essential java by O reilly
adicool said:
Ok another few of my good resources as always for laerning android:
Get hold of Android course videos by Plural sight
Android with java essential videos by Lynda.com
Android using essential java by O reilly
Click to expand...
Click to collapse
I have all 3 . They are really great sources. I've been learning development on android past 2 months.
Sent from my SAMSUNG-SGH-I997 using xda premium
you can also develop apps in adobe air. I have been able to port over some of my flex code into adobe air. You can compile into android, blackberry playbook, and the IOS with flash builder 4.5.1 only problem is flash builder is not free.
I'm currently churning my way through Thinking In Java. There's a free version on the official mindview.net website.
Learning Java as a programming language will pay off in the long run (I believe) as C# shares many fundamental areas with Java and so adapting to it should be easier if you have a good foundation in Java.
If you have previous experience with C++, then Java should not be too big a step for you.
I've heard that all those "Java for Dummies" books are pretty useless as they focus a lot on basic stuff and less on programming structure/patterns, etc.
as for the leap from Java -> Android Apps, I think the official android dev site is pretty sweet.

Build own App

Hee,
I was wondering what is the best program or site to build your own android apps?
Jay448
google
you are long way from home, my friend. there is GOOGLE and your going to spend a day on reading its not like posting on this forum.
the web site "Stack Overflow" helps me a lot!
and if i had problem,i google it.
If you have to ask, app developing probably isn't for you...
The official Android Developer's Guide has a pretty good intro to Android app development. However, you need to know how to program in Java before you start with this guide.
If you know C++ you could make it without Java, since you can build apps using C++ if your target platform runs Android version 2.3 or higher. I would however recommend learning how to develop apps in Java first.
Sorry, I can't link to the developers guide because this is my second post in this forum and outside links are not allowed, but you could search for "android developer guide" on google and you should find it.
Happy deving, wish you best of luck
In my experiment, best way to learn new tech is try to make something with it rather than read document and tutorial.
There are many open source android on code.google.com, choose one of theme then try to custom it by adding feature, improve user experiment...
anddev and stackoverflow is good place to solver issue.
mobitourist said:
In my experiment, best way to learn new tech is try to make something with it rather than read document and tutorial.
There are many open source android on code.google.com, choose one of theme then try to custom it by adding feature, improve user experiment...
anddev and stackoverflow is good place to solver issue.
Click to expand...
Click to collapse
developer.android.com
I actually just started learning Java and it's quite difficult for a beginner to learn all this stuff in short amount of time. It will probably take years to fully understand this sort of stuff.
Sites to learn Android App Development from
Lars Vogel Android Tutorial
Official Android Developer Site
TheNewBoston Video Tutorial on YouTube
The best software to develop Android Apps would be
Eclipse - Juno - Either the Java or the JEE version (I personally use the Java x64 version)
Photoshop - for image editing
Illustrator - for SVG based image editing
There are instructions on the Android Dev Site on setting up Eclipse for App Dev
PS-im new so i cant post url's if u want the specific url's feel free to PM me

[Q] Where should I start if I want to learn how to develop Android apps?

I'm wondering what are the steps I should take to learn/know how to develop apps for Android OS.
It would be very appreciated if you would consider me as a complete nooblet and advised me what I should learn/study.
For example, first thing I assume I should do, is study to code/language for Android platforms. So what is it?
What are the necessary development environment required? (Linux PC?)
My ultimate goal is to be able to create a launcher (ex. Go Launcher Ex).
I'm willing and able to invest my time into properly learning how to develop apps for Android, and I just need some help on an outline of a
syllabus, per say, of how I should progress with my studies.
On another note, I was wondering what the difference is between Launchers and Themes?
I was reading up on this Theme guide http://forum.xda-developers.com/showthread.php?t=916814 and it got me wondering if this only pertains to themes
or ADW launcher?
As you can see I'm quite confused
Thank you for your time.
Download SDK and start looking at the examples. You'll find an excellent step-by-step tutorial at developer.android.com/training/basics/firstapp/index.html
http://www.xda-developers.com/xda-tv-2/how-to-build-an-android-app-part-3-arduino-development/
refer this series of 5 awesome episodes by Adamoutler
Thank you for the replies
I will look into every mentioned content.
Linux seem's the right choice, for app development and ROM development, i personally use Linux for ROM development, kernel compiling also most of tutorials are based on Linux, and for app development i use windows, you can do both on windows but i prefer a full Linux OS that Cygwin for more complex Android stuff.
hmmm, as I stated above, my ultimate goal is to create a launcher of my own which I can create themes and customize at will.
Launchers fall into the Apps category if I'm not mistaken, so I wouldn't need another testing platform, and just use my trusty ol' PC with Win 7 x64, right?
Creating Launchers would be an 'Advanced' step in App development. First you have to get used with the Eclipse and android-sdk, debugging, editing and modifying the xml's etc. So I'd suggest you to take some sample tutorials based on App development. If you have enough knowledge in Java, then its so easy. But getting straight into creating Launchers would be slightly difficult IMHO.
Anyways I've created some Threads (You can see by visiting my Profile) based on beginner level app development. If you're interested you may refer and do as mentioned in the guide.
~Cheers
So the initial step I should take is learn comprehensive Java.
Thanks for the input.
coolsandie said:
Creating Launchers would be an 'Advanced' step in App development. First you have to get used with the Eclipse and android-sdk, debugging, editing and modifying the xml's etc. So I'd suggest you to take some sample tutorials based on App development. If you have enough knowledge in Java, then its so easy. But getting straight into creating Launchers would be slightly difficult IMHO.
Anyways I've created some Threads (You can see by visiting my Profile) based on beginner level app development. If you're interested you may refer and do as mentioned in the guide.
~Cheers
Click to expand...
Click to collapse
I started learning not to long ago as well, and I have found that youtube is pretty good. I can't sit and read books for a decent amount of time, so videos really help me. Here is one I have been watching :
http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A&feature=plcp
or this bootcamp series is pretty good.
http://www.youtube.com/playlist?list=PLE08A97D36D5A255F&feature=plcp
I downloaded all the videos so I can watch whenever and jump around. Feel free to pm me, I have some more resources...
Just picked up a Java book :fingers-crossed:
In addition, looking into various Java beginner tutorials to back up the readings.
Hopefully, after I gain some basic understanding about Java (language), my transition into app dev for Android will be easier
AER0 said:
Just picked up a Java book :fingers-crossed:
In addition, looking into various Java beginner tutorials to back up the readings.
Hopefully, after I gain some basic understanding about Java (language), my transition into app dev for Android will be easier
Click to expand...
Click to collapse
If a Launcher is your ultimate goal, go with Java.
If you would also settle for lesser goals like simple timer apps, barcode scanner apps etc, trash your Java book.
Start with Python and the Python for android. You will be able to programm your first semi-sophisticated apps within a week.
AER0 said:
Just picked up a Java book :fingers-crossed:
In addition, looking into various Java beginner tutorials to back up the readings.
Hopefully, after I gain some basic understanding about Java (language), my transition into app dev for Android will be easier
Click to expand...
Click to collapse
i can suggest a few books...java for android developers , the android cookbook , linux in a nutshell , linux kernel by o'reily
Try to modify some android app/games first just like what im doing now:good:
Learning Java is for sure the first step, then look at the SDK examples.
Will do :good:
Thanks for the suggestions

Asking How to make This Applcation

Hello guys, I am Rizki, and this is my Thread,.
I want to ask about how to make Android Aplication using Map.
I want to make application with my own Map,
Example : I want to make My University Map, in this application user can see the building that i draw,and then user also can see the rooms of building. I don't really know how to make it. Hope you can help me..
Basics
rizki_newlive said:
Hello guys, I am Rizki, and this is my Thread,.
I want to ask about how to make Android Aplication using Map.
I want to make application with my own Map,
Example : I want to make My University Map, in this application user can see the building that i draw,and then user also can see the rooms of building. I don't really know how to make it. Hope you can help me..
Click to expand...
Click to collapse
For this you should know the basics of creating the Android apps and some basic of the launguage.
You will also have to setupp the android enviornment in you pc/lap.
watch some youtube videos and learn the basic and then try to have some resources and then start to create your own app.
beside that you won't be allowed by your university to publish this app due to security reasons.
writing an app is neither that easy nor "quickly done" grab "some advice" thread from cyanogen and start there
Thanks for Answer my Question Guys., I've been searching,.
do you have any tutorial for Making Indoor building map?
or making Mall Map?
rizki_newlive said:
Thanks for Answer my Question Guys., I've been searching,.
do you have any tutorial for Making Indoor building map?
or making Mall Map?
Click to expand...
Click to collapse
you cant just watch a tutorial that will tell you how to build specific apps like that
.
You need to learn some java, and how to use IDE's like eclipse. Watch general tutorials that teach you this.
Then using that general knowledge apply it to building your own specific apps.
Before learning u first need to setup android environment on your pc/laptop.
For practice.
Sent from my GT-N7100 using xda premium
A great first step would be to grab a grammar book so I could understand your question.
All you need is Eclipse + ADT Tools + Java knowledge + The will to use Google
From my experience Android is easy to program for. As long as you dont need to deal with wake locks and stuff. I am only stuck with the harder part

[Q] How to make an android app

I need to create a mobile app for my project. So here's my question.
What language should I use to create an android app?
And can someone share me some basic knowledge about mobile application.
I'd like to make a basic calculator.
kroragna said:
I need to create a mobile app for my project. So here's my question.
What language should I use to create an android app?
And can someone share me some basic knowledge about mobile application.
I'd like to make a basic calculator.
Click to expand...
Click to collapse
the most common basic app for beginners is the calculator. u should be able to find a lot of youtube tutorials online.
Most of your android app coding will be done with a combination of xml and java.
You would use either eclipse with the adt plugin, or android studio to do so.
As was previously stated a calculator app should have many many tutorials for doing so online.
One of the better basic android tutorials I have found is by a fella named travis who has made a series of tutorials that he has posted on youtube under the name "thenewboston" what I like about them is he doesn't get overly technical and his delivery is sorta like being taught by one of your buddies over some beer. I have passed that to several of my friends who have asked me to "teach them to code" as I don't tend to have the patience to do that properly.

Categories

Resources