[Q] Learning App Development. - Java for Android 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?

Related

Confused about 9.png files

Ok, first sorry for posting this question, and I did search and found that the information is some what broken up and it confused me. Sorry I'm not a developer so the lingo is way far advanced.
But this is what I've gathered and done.
-I took an app that I wanted to edit. I got the images and did my PS CS4 editing to my liking and saved them.
-I did the draw9patch and manage to save them in a folder and then I put the correct names on the pngs with the 9 still at the end of the file name.
-I got lost with step no.6 of one of the threads talks about "eclipse" and thats where I'm lost.
I don't know what the heck its talking about workspace. I don't know what to do from here. Can somebody please explain it to me in laymans term. thank you.
You need to load up the sdk, eclipse is part of that.
evilkorn said:
You need to load up the sdk, eclipse is part of that.
Click to expand...
Click to collapse
I have the SDK installed but do I go to the SDK Manager or to the tools? if I go to the tools which app do I open? this is where I'm stuck at
Did you try this?
http://developer.android.com/sdk/index.html
@johnny quest: forget about that outdated method. Use apktool or ApkManager instead.
Brut.all said:
@johnny quest: forget about that outdated method. Use apktool or ApkManager instead.
Click to expand...
Click to collapse
hey brut is there a video or post relating to the steps on editing .9.png's using apkmanager or apktool? ive been looking into the draw9patch thing but everything i run into is an old post and i guess thats what you saying here. i was a total noob and now ive got down using theme porter, update.zip maker for modding stuff but ive only taken the png plunge seeing that most people are saying you gota be a pro to edit .9's and xml and all that. im fully capable of getting it im just not finding the right tutorial and info. any direction would be much appreciated
also im trying to mod my phone dialer (attached) is that something a semi-new modder can handle. eg-changing the background from black to white...the orange numbers from orange to white? just a shot in the dark you know

android sdk

is this proper forum to ask question about SDK?
made some basic programs and need to know how to sign .apks
thanks
if you're using eclipse, just go to file->export project
and it will walk you through the process
Agree. Very simple through eclipse.
Sent from my GT-I9000 using XDA App
And DO NOT lose your keystore!!!!!!!!!!!!!
thanks folks, ive figure it out
now im stuck on that tutorial where you simply make a program that will basically serve as a browser
im able to get it working , but when u click a link in my app, the link will open up your regular browser to complete the link
trying to figure out how to keep the link inside the app?
anybody know where i can find more help on this situation?

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

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

Signing an app for the market?

I had someone develop an app for me, I have the apk, and the source files, what do I need to sign it and submit it? I have Java sdk, android sdk, latest eclipse and the adt plugin.
Sent from my Nexus S 5g.
http://developer.android.com/guide/publishing/app-signing.html
I still can't figure out how to open up the app in eclipse, this is literaly the first thing Java or serious programming related I've ever done.
Create a new Android project in Eclipse and select "Create project from existing source" then hit Browse and find the source folder with AndroudManifest.xml in the root folder. After that just follow Gene Poole's link.
Okay, I figured it out, I just had to open it in the project browser and I was able to complie, sign and submit it to the market. Now its time to read some android for dummies books and make my own apps.
Sent from my Nexus S 5g.
look at the link to my blog below in my signature. ive demonstrated some pritty good trick that can be done with java. also feel free to message me it you need help with anything.
I can't post a link because I am new here, but this is the best guide I saw. Screenshots and all
Code:
ht tp://mobile.tutsplus.com/tutorials/android/publish-to-android-market/
remove the space between the two t's in http

[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.

Categories

Resources