[Q] how and where do i learn JAVA and XML for android development? - General Questions and Answers

Can someone give me the link or a guide?
ps: i do not know any programming languages other than C

shashanksetty said:
Can someone give me the link or a guide?
ps: i do not know any programming languages other than C
Click to expand...
Click to collapse
YouTube is full of good tutorial videos.

Go to YouTube and watch tutorials or learn it from oracle site
Sent from my GT-I9070 using Tapatalk

could u give me link to oracle guides?
I'm confused where to start

shashanksetty said:
could u give me link to oracle guides?
I'm confused where to start
Click to expand...
Click to collapse
Do you have experience in OO programming otherwise start with this tutorial: http://www.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html assuming that you are able to do basic operations like assigning values to variables etc. otherwise start with a basic java tut on google.
For a really basic start you could use something like ConTEXT: http://www.contexteditor.org/downloads/ . After installing a java sdk and adding the java/bin folder to your path (environment) variable you can set up Context to compile and run your opened java files.
I myself quickly switched to Eclipse: http://www.eclipse.org/downloads/pac...pers/keplersr1 . This has many more features like auto-complete/suggestions etc. If you want to create apps for the android dalvik platform you can download the ADT plugin for eclipse: http://developer.android.com/sdk/ins...lling-adt.html . From there you can download the android sdk and start using the android build platform.

Youtube and stackoverflow will be your two best friends

Related

[Q] Android SDK - How do I port ROMS???

Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
satopunch89 said:
Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
Click to expand...
Click to collapse
Do you know anything about programming? Do you know anything about Linux? Do you have any driver building experience?
I f you answer no to anyone of these, I would say it's extremely hard.
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
satopunch89 said:
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
Click to expand...
Click to collapse
hey why give up so easily? if you really wanted to learn there are so many threads to get you started. first get a linux distro, ubuntu recommended for most people.
there's dsixia's kitchen around somewhere. play with that a little. read the script's he uses in that kitchen. you'll learn a bit.
then onto building. cyanogen's wiki shows how to build from source and set up your machine to sync with it etc etc. get those sorted and try learn the above mentioned
Cool!
Are there any links to these (Or are we not allowed to post them?)
Does it have to be a linux distro? Can I use OSX?
Hacking is cool, but the problem is that it is very hard, and demands a lot of experience.
how do i delete android sdk from my vista computer
noeneel said:
Does it have to be a linux distro? Can I use OSX?
Click to expand...
Click to collapse
http://source.android.com/source/initializing.html
This is where i started... hope it helps
Sorry about bringing back this old thread, but I'm also interested in this. I have programming experience with C, C++, C# and Java. I've also developed apps for Android. I've been using Ubuntu as my main operating system for a while now, so I'm good with Linux too. The only thing I lack is the driver programming experience. I'd still like some info/tutorials about porting ROMs, if anyone knows any good ones.
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
wait4me2burn said:
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
Click to expand...
Click to collapse
Can't mess with 3.5 yet as they new files can't be decoded properly. For resizing you have to edit all the demention xmls on all the apks and m10 files. Lots of trial and error. Make sure you good with logcat
maybe this can help a little
http://www.freeyourandroid.com/guide/porting-android
heres your answer
cooltom1323 said:
how do i delete android sdk from my vista computer
Click to expand...
Click to collapse
by deleting the map where all the files are or, if you hae installed it using a setup,
use the uninstaller program.

[Q] Help?

So I have an old account on here, but I never used it for what it is intended to be. And quite honestly, I didn't like the account name. But what I'm really asking for here is help. I want to be a developer, but I dont know where to start. I want to learn how to make and/or port roms, how to theme other roms, and even make my own apps. If anybody would care to help a noob out, I would appreciate it greatly. Thank you in advance for your time, and any help that I recieve.
I would suggest learning java language which the source code is wrote in if you want to be a developer. But if you want the easy root look for the guides on cooking roms using kitchens then you can create roms with little programming knowledge.
anarchyuk said:
I would suggest learning java language which the source code is wrote in if you want to be a developer. But if you want the easy root look for the guides on cooking roms using kitchens then you can create roms with little programming knowledge.
Click to expand...
Click to collapse
Thanks for the tip on java language. And I know about the kitchens and such, its just that I don't have a mac or a linux based computer, and from what i read, you have to have one of those for a kitchen to work.
ubuntu is always free for download from their website (you can run it from a flash drive or dual boot it alongside windows)
ubuntu will install within the windows file system also and let you dual boot. might be a bit of a learning curve but its by far the best os to use when just getting started and even for more advanced usage..
once you are done with ubuntu as long as you installed it using the wubi installer you can remove it from add remove program etc...
First step on the journy to becoming a developer would be the most important one:
Learning to use search functions.
Your question has already been covered multiple times in this subforum.
anarchyuk said:
ubuntu will install within the windows file system also and let you dual boot. might be a bit of a learning curve but its by far the best os to use when just getting started and even for more advanced usage..
once you are done with ubuntu as long as you installed it using the wubi installer you can remove it from add remove program etc...
Click to expand...
Click to collapse
I did not know that, so thank you guys for all your help.

How to write android apps?

I have a little programming experience, and wanting to learn how to write anroid apps. Can someone point men in the direction of a good guide, whats the best language & tools to start with.. Thanks!
I use Java JDK for development.
more detail
http://androidcontrol.blogspot.com/2011/10/android-development.html
get on youtube and search for "thenewboston". that guy makes a lot of developing tutorial vids.
Hello,
I use Eclipse with the Android ADT and SDK.
Java JDK is also installed.
java with eclipse and android SDK

[Q] give a noob advice on how to get into developing?

this is my first time posting but i used this site a lot figure out how to root flash recoveries, custom ROMs ect for myself and a few friends. anyways sorry I know there are similar threads but I from seeing the cool stuff people make it got me interested in developing and I wanted some personal recomendations or feed back as apposed to something (maybe a website plus build kit???) I might be able to kinda "learn the basics" on? One thing though is that I only have a Samsung galaxy s2 and a CRAPPY old dell computer. I'd appreciate any feedback
You don't need a device. You develop with the emulator. The Google Android sdk site is good to begin. Just read the beginners tutorial. 2 things: don't install Eclipse,it's not worth. Install Intellij Ide. It's also Java. Second, download the android sdk for other platforms and follow the instructions but install in c:\android-sdk folder at all costs. Don't install it somewhere deep in the tree. There are still a lot of Problems with the sdk. You need also Java Jdk from Oracle. Just follow the Google tutorial but install the android sdk in c:\android-sdk (name without space). I didn't try the emulator but you can ask again?
Phpdna said:
You don't need a device. You develop with the emulator. The Google Android sdk site is good to begin. Just read the beginners tutorial. 2 things: don't install Eclipse,it's not worth. Install Intellij Ide. It's also Java. Second, download the android sdk for other platforms and follow the instructions but install in c:\android-sdk folder at all costs. Don't install it somewhere deep in the tree. There are still a lot of Problems with the sdk. You need also Java Jdk from Oracle. Just follow the Google tutorial but install the android sdk in c:\android-sdk (name without space). I didn't try the emulator but you can ask again?
Click to expand...
Click to collapse
Thanks. Are you referring to terminal emulator?
And when you said get the SDK for other platforms what do you mean just anything besides my galaxy s2?
I might realize what you mean when I get to it but what's the c:\ in c:\andriod-sdk
Phpdna said:
You don't need a device. You develop with the emulator. The Google Android sdk site is good to begin. Just read the beginners tutorial. 2 things: don't install Eclipse,it's not worth. Install Intellij Ide. It's also Java. Second, download the android sdk for other platforms and follow the instructions but install in c:\android-sdk folder at all costs. Don't install it somewhere deep in the tree. There are still a lot of Problems with the sdk. You need also Java Jdk from Oracle. Just follow the Google tutorial but install the android sdk in c:\android-sdk (name without space). I didn't try the emulator but you can ask again?
Click to expand...
Click to collapse
how you can develop custom roms with emulator?
---------- Post added at 09:38 PM ---------- Previous post was at 09:35 PM ----------
uknwimbeast said:
this is my first time posting but i used this site a lot figure out how to root flash recoveries, custom ROMs ect for myself and a few friends. anyways sorry I know there are similar threads but I from seeing the cool stuff people make it got me interested in developing and I wanted some personal recomendations or feed back as apposed to something (maybe a website plus build kit???) I might be able to kinda "learn the basics" on? One thing though is that I only have a Samsung galaxy s2 and a CRAPPY old dell computer. I'd appreciate any feedback
Click to expand...
Click to collapse
if you want to develop roms from source you need ubuntu and lot of knowledge which is not possible for you now as per your post
so first learn some basic things and then start modding and theming rom using android kitchen
if you want to develop apps install android sdk and eclipse and develop with it
pradeepxtremehacker said:
how you can develop custom roms with emulator?
---------- Post added at 09:38 PM ---------- Previous post was at 09:35 PM ----------
if you want to develop roms from source you need ubuntu and lot of knowledge which is not possible for you now as per your post
so first learn some basic things and then start modding and theming rom using android kitchen
if you want to develop apps install android sdk and eclipse and develop with it
Click to expand...
Click to collapse
I agree with you but eclipse isn't worth it.
---------- Post added at 06:41 PM ---------- Previous post was at 06:37 PM ----------
uknwimbeast said:
Thanks. Are you referring to terminal emulator?
And when you said get the SDK for other platforms what do you mean just anything besides my galaxy s2?
I might realize what you mean when I get to it but what's the c:\ in c:\andriod-sdk
Click to expand...
Click to collapse
First, No, I mean Sdk not bundle with eclipse. Eclipse is free that's why it's bundled with android. But Google likes more Intellij or it will become the standard id.
Second: C:\ is C:\. I install it there. Important I thing is no space in name. Of course you are free to install it where you want.

[Completed] [Q] Help about Java Programming.

Hi, i Great fan of XDA form..... This is my first post.
i am new in Android field. and i want to develop android app... can any one help me in this regard ,
any book....
i have already eclipse ADT intstalled and SDK as well , but i am conufse with the Jave and xml programing , like whats relationship between jave and xml in android...... i need guide about these language ,
any book or guide ....???
Thanks in Advance.
Sheikh Usman Iqbal said:
Hi, i Great fan of XDA form..... This is my first post.
i am new in Android field. and i want to develop android app... can any one help me in this regard ,
any book....
i have already eclipse ADT intstalled and SDK as well , but i am conufse with the Jave and xml programing , like whats relationship between jave and xml in android...... i need guide about these language ,
any book or guide ....???
Thanks in Advance.
Click to expand...
Click to collapse
I highly recommend to read through XDA University forum.
There are many useful guides such as:
1. [GUIDE] Setup Android Development Environment on Ubuntu 13.04+
2. Where to learn programming/coding
3. [GUIDE]GUI - SignApk Jar File Tutorial to Sign and Align APKs
And check the App Development Forums > Coding Discussion, Q&A, and Educational Resources forum.
E.g. Free Online Mobile Development Courses (Java, Android, etc.)

Categories

Resources