Required parts of XML to Learn - Java for Android App Development

Hi
I reviewed a book about XML and I think that parts of XML that i should read from that book is :
1 - attributes and elements
2 - namespaces
3 - XPath ( for @ and / parts that i have seen in XML files in Android projects . for example "@+id/my_button" )
My Question : Is this true ??? and Should i learn XPath for learning / parts and @ parts of Android XML ( for example "@+id/my_button" ) ??? Should i learn another parts of XML ???
Thanks for your help

Hi!
I've never heard about XPath before (at least the name).
In my opinion, you don't need a separate book about XML. If you buy an Android book, you will get an explanation for everything you need to know. Android XML isn't very complicated and you don't have to know how to define your own XML syntax. I've never read an XML book.

nikwen said:
Hi!
I've never heard about XPath before (at least the name).
In my opinion, you don't need a separate book about XML. If you buy an Android book, you will get an explanation for everything you need to know. Android XML isn't very complicated and you don't have to know how to define your own XML syntax. I've never read an XML book.
Click to expand...
Click to collapse
Hi nikwen
Thanks for your good helps.
I have many ebooks about Android . From Manning , Wrox , Apress and ...
Which is better for a student that his English is not very very well and more important he has no teacher and should learn all things from that book without any help from a teacher . For example Deitel's Java How to Program was very very good for me beacuse its English was simple and as well as it teaches Java without need for help from a teacher .
Thanks again to dear nikwen and everybody that helps to newbies

peter.sorotokin said:
Hi nikwen
Thanks for your good helps.
I have many ebooks about Android . From Manning , Wrox , Apress and ...
Which is better for a student that his English is not very very well and more important he has no teacher and should learn all things from that book without any help from a teacher . For example Deitel's Java How to Program was very very good for me beacuse its English was simple and as well as it teaches Java without need for help from a teacher .
Thanks again to dear nikwen and everybody that helps to newbies
Click to expand...
Click to collapse
I don't know. I used the Head First Java book and a German (only) book about Android. So I don't know the other books, sorry.

Related

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

[Q] tips about develop an application ?

Hello, i`m newbie to android programming ( java ) i want to make an aplication for an auction website.
With what i can start to learn to can build this application ?
I was thinking to build application for auction website over RSS feed its a good choice or bad ?
Any other suggestion from where to start or what type of application to go are welcome ( if rss feed type its bad )
Thanks.
gkilah said:
Hello, i`m newbie to android programming ( java ) i want to make an aplication for an auction website.
With what i can start to learn to can build this application ?
I was thinking to build application for auction website over RSS feed its a good choice or bad ?
Any other suggestion from where to start or what type of application to go are welcome ( if rss feed type its bad )
Thanks.
Click to expand...
Click to collapse
First you will need to learn Java. This is a great book for that purpose: http://www.headfirstlabs.com/books/hfjava/
I learned Java with it myself. It is good for beginners and in no way reading it is boring!
nikwen said:
First you will need to learn Java. This is a great book for that purpose: http://www.headfirstlabs.com/books/hfjava/
I learned Java with it myself. It is good for beginners and in no way reading it is boring!
Click to expand...
Click to collapse
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
gkilah said:
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
Click to expand...
Click to collapse
Ok. This is a tutorial for that: http://developer.android.com/training/index.html
Check the first lesson.
gkilah said:
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
Click to expand...
Click to collapse
There's a good series of 200 video tutorials for beginners made by thenewboston, it's quite good and it will show you how to build a dozen different applications with different purposes (i.e a stopwatch, an internet browser etc...). It will give you the basics of the Android APIs & the xml part of the job along the way.
Plus they're short videos so you can watch one when you have a few minutes anytime.
Here's the playlist with the 200 videos : http://www.youtube.com/watch?v=1j4prh3NAZE&playnext=1&list=PL33384E9848C4F55E&feature=results_main
I've looked through several books for beginners, and I think "Hello, Android" by Ed Burnette is the easiest to start with.

Developing for Android

I have no programming experience but I'm extremely interested in teaching myself how to program. My main goal is to one day develop my own apps for Android. Now I've read a lot online and most people recommend starting with Python as your first language as its easier to grasp than others. This sounds like a great idea but I dont believe you can code for Android in Python, correct?
So my question is, should I start with Python, get familiar with the language building my programming knowledge and later learn Java for Android? Or should I just jump head first into Java as my first language even though it may be more difficult to start with?
Thanks!!
michaelearth said:
I have no programming experience but I'm extremely interested in teaching myself how to program. My main goal is to one day develop my own apps for Android. Now I've read a lot online and most people recommend starting with Python as your first language as its easier to grasp than others. This sounds like a great idea but I dont believe you can code for Android in Python, correct?
So my question is, should I start with Python, get familiar with the language building my programming knowledge and later learn Java for Android? Or should I just jump head first into Java as my first language even though it may be more difficult to start with?
Thanks!!
Click to expand...
Click to collapse
Python is a great start.
However, with a good book like the "Head's first Java" you will also be able to start with (the desktop) Java. Get some programming knowledge before starting with programming for Android.
nikwen said:
Python is a great start.
However, with a good book like the "Head's first Java" you will also be able to start with (the desktop) Java. Get some programming knowledge before starting with programming for Android.
Click to expand...
Click to collapse
I looked at the book as an option for me but it says directly on the "Head First" website that these books assume you have expirence in other languages so I dont think that book is for me quite yet.
If I decide to go the Python route, I was looking at this book: http://www.amazon.com/Python-Progra...ie=UTF8&qid=1368992505&sr=8-6&keywords=python. Any thoughts on this book?
michaelearth said:
I looked at the book as an option for me but it says directly on the "Head First" website that these books assume you have expirence in other languages so I dont think that book is for me quite yet.
If I decide to go the Python route, I was looking at this book: http://www.amazon.com/Python-Progra...ie=UTF8&qid=1368992505&sr=8-6&keywords=python. Any thoughts on this book?
Click to expand...
Click to collapse
Ok. You are right. Found this on the web now, too: http://answers.yahoo.com/question/index?qid=20110111230807AA8fVgP
(Check the link.)

The best ebook about Android

Hi
I have many ebooks about Android . From Manning , Wrox , Apress and ...
Which is better for a student that his English is not very very well and more important he has no teacher and should learn all things from that book without any help from a teacher . For example Deitel's Java How to Program was very very good for me beacuse its English was simple and as well as it taught Java without need for help from a teacher .
Thanks again to everybody that helps to newbies

Develpoing GUI in Java

Hi everyone,
some days ago, i was substancially forced to join an Android project by my professor.
The fact is that his course was about C++ (your equivalent of that course should be Compuer Science II, and i have a good knowledge of C++), and this project is in Java. I have a little experience in Java (in fact, one of the courses that i am attending is focused on Java). Now, i think that in order to be a Computer Science engineer i have to fit myself to the situation ( i have some docs about the project) but i have no experience in Android app development and a very little knowledge of XML, so i ask you some help :good:.
What i have to do is to realize some GUI for his application. It is not very difficult, but i have no idea about from where i have to begin. In these 2 days i have managed to start some very simple application from Eclipse on my smartphones, but that's all, nothing more. So, is there any book or (better) some short guide or video to follow?
I use, as IDE, Eclipse (because i usually use it for Cpp, but some people said me that Android Studio should be better). I know that Eclipse is a really god IDE (For Cpp i tried also CodeBlocks, VisualStudio and Netbeans), but i know too that it raises some error that newbie user could not managed to solve easily: one of them is a java.lang.nullPointerException raised in every main.xml file...
Moreover, the project has to connect to a IBM Bluemix-stored database.
Last but not least please share a comment about my English (that, i have to admit, is not very good). I would really like to know how it - really - is.
(Excepting the typo in the thread title).
So, i ask you to kindly share resources (video, guides ...) about realizing GUI in Android.
Well first i'd recommend using android studio since it is the official ide for android by google, and I have worked with eclipse for 2 years and the android plugin is just too buggy.
About designing the ui it is usually done in xml rather than in code since its more intuitive and there is a preview.
You should start learning the basics and from there they teach you how to design the ui.
Try the official guide in the google developers section for android "developers android training"
Are you talking about https: //developer .android.com /training/index .html ?
Yes exactly, they have some nice guides there.
Here is a very nice guide for creating your first app in Android Studio: http://www.raywenderlich.com/78574/android-tutorial-for-beginners-part-1
Here is a layout tutorial: http://code.tutsplus.com/tutorials/android-user-interface-design-layout-basics--mobile-3671
Here is a compilation of Android beginners tutorials: http://www.sitepoint.com/12-android-tutorials-beginners/
If you give a more focused description of what you are trying to achieve (what are you intending to display and how do you want to display it), more focused tutorials can be suggested.
Best of luck
EliteRazor said:
Hi everyone,
some days ago, i was substancially forced to join an Android project by my professor.
The fact is that his course was about C++ (your equivalent of that course should be Compuer Science II, and i have a good knowledge of C++), and this project is in Java. I have a little experience in Java (in fact, one of the courses that i am attending is focused on Java). Now, i think that in order to be a Computer Science engineer i have to fit myself to the situation ( i have some docs about the project) but i have no experience in Android app development and a very little knowledge of XML, so i ask you some help :good:.
What i have to do is to realize some GUI for his application. It is not very difficult, but i have no idea about from where i have to begin. In these 2 days i have managed to start some very simple application from Eclipse on my smartphones, but that's all, nothing more. So, is there any book or (better) some short guide or video to follow?
I use, as IDE, Eclipse (because i usually use it for Cpp, but some people said me that Android Studio should be better). I know that Eclipse is a really god IDE (For Cpp i tried also CodeBlocks, VisualStudio and Netbeans), but i know too that it raises some error that newbie user could not managed to solve easily: one of them is a java.lang.nullPointerException raised in every main.xml file...
Moreover, the project has to connect to a IBM Bluemix-stored database.
Last but not least please share a comment about my English (that, i have to admit, is not very good). I would really like to know how it - really - is.
(Excepting the typo in the thread title).
So, i ask you to kindly share resources (video, guides ...) about realizing GUI in Android.
Click to expand...
Click to collapse
You can take a look at vogella web site tutorials
They have very usable tutorials, easy to understand.
Thanks everyone, i'll give a look to these resources

Categories

Resources