[Q] I want to start coding some Android applications. Where to start from? Guides? - Android Software Development

I've only studied pseudocode for only 2 years. And I want to learn how to code android apps. I downloaded the SDK. Installed the platform-tools and the API10 needed for the 2.3.3. I made a virtual device, but I get an error:
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
Also, I would like to ask for some links to learn how to code. Obviously, coding an Android application isn't ONLY done on Java, but C, C++ and some visual coding apps. So any help for your fellow Android friend? ^^;;

Hi,
How are you trying to launch the emulator? from SDK Manager or Eclipse?
In case you are trying to launch from Eclipse it seems like you SDK location is set incorrectly. Try changing Window->Preferences->Android->SDK location to:
c:\Progra~1\Android\android-sdk
Also, I would like to ask for some links to learn how to code. Obviously, coding an Android application isn't ONLY done on Java, but C, C++ and some visual coding apps. So any help for your fellow Android friend? ^^;;
Click to expand...
Click to collapse
Development is done mainly in Java using the SDK.
You can use the NDK and code in C++ but I wouldn't recommend it for a beginner.
Start with learning OOP in general, then learn Java, then read Android's developers guide. After that it really depends on what your app should do (e.g. for 2D games development learn AndEngine).
I don't have any links to offer. Just google it

Hello and thanks for the reply! No, I'm using the SDK. Fortunately, I found out what was going on and moved the folder From C:\Programs\ to C:\ That did the trick.
And finally, I made that virtual machine. And all I see is... an Android OS... How do I make an app now...? Seeing the Android OS doesn't help me... xD

How do I make an app now
Click to expand...
Click to collapse
Running an emulator won't teach you how to program
The emulator is just for running Android OS on your PC so you could test your applications even without a real device.
Be sure to follow all steps in http://developer.android.com/sdk/installing.html
They will guide you how to set up Eclipse IDE for android development.
After actually learning how to program in Java, follow http://developer.android.com/guide/index.html

Related

create a wiindows mobile application

hello,
Do you know any tutorial about creating windows mobile application can connect to GPRS ?
I search to download a xml file and I want to create a application.
Thanks.
lol :> :O
What development languages are you familiar with?
qbasic...
DaveOke said:
What development languages are you familiar with?
Click to expand...
Click to collapse
.NET, C++ and C#
thanks
Basic4PPC
Try Basic4PPC - they have a good set of libraries that makes it easy to write a program - as well as pretty good customer support and a helpful programming community.
Development tools
This link will get you started
http://wiki.xda-developers.com/index.php?pagename=Development Tools
thank you!!!!!!!!!

[Q] Compiling and running Java in nook?

Is there any way to compile and run java in nook or any android device?
So far I've found Terminal IDE, it compiles it, but it doesn't run it.
Thanks for any help.
Have you tried the program "Eclipse"? That is a Java runtime tool that is used by the developers to run Java programs. There is also some videos you can watch on cyanogenMods wiki to show you how to use and run that program. The wiki for this tool can be found here. http://en.wikipedia.org/wiki/Eclipse_(software)
Here is the website for this tool. http://www.eclipse.org/
Yes, I use eclipse. Perhaps you misunderstood my question, I'm asking if there is any way to compile java choose and run in in my nook color. The question is because I'm always in the road, usually in the subway.
Thanks
Sent from my Incredible 2 using XDA
joanchoma said:
Yes, I use eclipse. Perhaps you misunderstood my question, I'm asking if there is any way to compile java choose and run in in my nook color. The question is because I'm always in the road, usually in the subway.
Click to expand...
Click to collapse
I haven't tried it, but it sounds like you want something like this to allow editing and compiling directly on your Android device.
You can use Botbrew. It has jamvm working pretty well in Anise.
It has the JRE and JDK in the Basil dpkg version, but I haven't played with that yet. But with jamvm you can write your code with something like droidedit or use the terminal.
I have used AIDE, but it seems to be made for a very specific thing. I am just more comfortable working out of a terminal. Maybe the more familar with IDEs would feel otherwise.
joanchoma said:
Is there any way to compile and run java in nook or any android device?
So far I've found Terminal IDE, it compiles it, but it doesn't run it.
Thanks for any help.
Click to expand...
Click to collapse
joanchoma said:
Yes, I use eclipse. Perhaps you misunderstood my question,
Click to expand...
Click to collapse
Nothing to misunderstand if you did not include that in your original question now is there? So obtuse.

[Q] APK

Whats the easiest yet effective way to create an apk???
and what languages do i need to learn??
can i make an apk as a base use itz xml layouts and make my own apk??
thanks for answering a Noob!
Prerequisites:
Android sdk
Eclipse juno/helios whatever
Java jdk 1.6
Knows Xml editing
Java language
Usable brain
If above requirements are fulfilled, then there is no problem in making an android app... Any questions, ask google! That guy is the guy I like to play with! You can see those search buttons, that tickles when you click... Or i meant to say poke. Tickle him and he gives you answers.
Sent from my GT-S5360 using xda app-developers app
Gaurav8651000 said:
Whats the easiest yet effective way to create an apk???
and what languages do i need to learn??
Click to expand...
Click to collapse
Do you know any programming language? Java is the best choice, because Android OS API is in Java, but you can also use C++ (NDK) or C# (Mono, Unity).
Eclipse basic should be good,
and VTS for finalizing and editing

[Q] How to Begin to develop android

Hello my friends
I am a new member of xda
I want to know where to start a development in android
And what do I need to start
sorry bad english .......
........thanx
...
Google is your first point of call
development is such a general term - what exactly do you want to do
Once you know that type into google - how to xyz - or guide for xyz
for general stuff you will need
apktool
android sdk
java jdk
android kitchen
cygwin (if using windows)
notepad++
marcussmith2626 said:
Google is your first point of call
development is such a general term - what exactly do you want to do
Once you know that type into google - how to xyz - or guide for xyz
for general stuff you will need
apktool
android sdk
java jdk
android kitchen
cygwin (if using windows)
notepad++
Click to expand...
Click to collapse
thanx..... marcussmith2626
U may only navigate to XDA Univirsty for vedio tuts
if you want to develop apps :
download android SDK and search google for some tutorials (there are hundred thouthands)
stack over flow will help you alot too if you encountered an error
if you want to develop Roms:
you need to read some tutorials here on XDA and learn to use tools that marcus mentioned before
use android sdk ...and download its eclipse plugin too
Adt bundle is der in android developer site
There r lessons too to learn
Sent from my GT-S5360 using XDA Free mobile app

[Q] Learning App Development.

So I would like to learn how to develop apps for the android OS. I'm not sure where I should put this (sorry if in wrong section). I would like to learn how to code and do all the steps in app development. I have absolutely ZERO experience in coding other then changing the dedicated RAM for Minecraft. If someone could tutor me maybe twice a week or link me to other forums that explain this sort of thing and provide support for people. I would be very happy for either if the two! Thank you guys!
Learning Java
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
read book
read books, good books on programming - Android in 24 hours (loren Dersy( i ), Sheyn Kondor), and Android 2 ( Reto Mayer)
Thank you for the help.
Sent from my Nexus 5 using XDA Free mobile app
Thanks for your help. I'm going to start tonight.
Sent from my Nexus 5 using XDA Free mobile app
Java, java, java. Not JavaScript! Java, java, java!!!!
I'm having problems
LoXeras said:
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
Click to expand...
Click to collapse
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
NamesBass said:
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
Click to expand...
Click to collapse
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
uuugh
Just Call It said:
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
Click to expand...
Click to collapse
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
NamesBass said:
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
Click to expand...
Click to collapse
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
So I change jre7 to JDK(whatever)?
Sent from my Nexus 5 using XDA Free mobile app
how
hey please help me how to devlop own anrohd apps
Jogny said:
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
Click to expand...
Click to collapse
Why are you using JDK 8 for Android? It's not officially supported by Android SDK. Do you see any improvements/problems in compare with JDK 7?

Categories

Resources