Hello XDA World,
I started learning how to develop android apps and when I read books about it I found that we need to know two languages to develop apps i.e. Java and XML. I am an expert in Java but a stranger to XML. My question is I want to begin learning XML from basics so that my concepts are as clear in developing apps as with java. I want suggestions from all of you. Please take your valuable time to suggest me.
Thank you.
Suggestions: don't spend too much time "learning" XML
Ishan16 said:
Hello XDA World,
I started learning how to develop android apps and when I read books about it I found that we need to know two languages to develop apps i.e. Java and XML. I am an expert in Java but a stranger to XML. My question is I want to begin learning XML from basics so that my concepts are as clear in developing apps as with java. I want suggestions from all of you. Please take your valuable time to suggest me.
Thank you.
Click to expand...
Click to collapse
Hello,
I'm not familiar with Android per se, but pretty familiar with XML, so here is my take.
XML is not really a language that you "need to know". It's a format to package data when you pass it around between applications. It's not a programming language. Realistically, you need to understand just enough XML to fulfill your app communication needs (unless you develop an app specializing in manipulating XML). Syntax-wise it's about as complicated as HTML, except there are no implied presentation rules. To have an introduction to XML, feel free to head over to a simple tutorial such as on w3schools and read however much is necessary for you to accomplish what you need to do, which probably is not much. (Sorry, I can't post links because I'm a new user.)
Last note, XML is becoming a bit of a second-tier data format lately, with JSON becoming more popular because of its compactness and native handling in JavaScript. The takeaway here is: make sure you actually need to use XML before spending too much time on it, and in particular don't go crazy into advanced stuff like CDATA or XPath which most likely you won't ever have to use.
Daniel
U dont need to use XML if u you know your Java you could use different ways to do that Like packing a database with it or online just to get the information you need!
Sent from my GT-I9001 using xda app-developers app
You're not going to be using XML as a language really. In android it is mostly just for layout design.
many of the things can also be set programatically, but you WILL be using XML. I'd suggest looking at android documentation, or loading up Eclipse (or other IDE) and dragging in some views and checking the actual XML used to get familiar. learn about stuff like TextView, Listview, Fragment usage etc.
you wont be using it for data transfers or anything complicated, it will mostly just be settings layout orientations and views and such.
and of course the manifest for permissions and defining activities.
Related
Hello people
I've wanted to make a Android app for a while now but I don't know where to start.
Can someone give me some pointers on where to start.
If it involves coding then be warmed I'm a complete novice at that.
No coding method: search Google for Android app inventor.
Coding and better method: Android apps use JAVA. Take some basic online courses, then learn the Android sdk. (functions that are specific to android)
Option b is better, and if you have a little patience it won't be too hard.
Sent from my ADR6400L using Tapatalk
alex ainsley said:
Hello people
I've wanted to make a Android app for a while now but I don't know where to start.
Can someone give me some pointers on where to start.
If it involves coding then be warmed I'm a complete novice at that.
Click to expand...
Click to collapse
If you want to get somewhere forget the app inventor and invest some time.
Start by using google on terms like "android tutorial" "android hello world".
Download eclipse and the android sdk (google has all the info and tutorial on how to do that).
The sdk has ALOT of very good example apps. From 3D drawing to system infos and interface layouts.
AAAAAAAAAAAAAAAHHHHHHHHHHHHHHHH Google app inventor is doing my head in.
if anyone is reading this on a scale from 1 to 10 how hard/complicated is making a app using coding?
Depends entirely on what you want the app to do unfortunately. If you can give some basic ideas of what you want it to do it will be easier to say how hard it will be.
well all id like my first app to do is when it starts up to show a picture with text then link you to a web page.
Nothing hard
Thats not too difficult, you could patch work something out of existing tutorials/example.
But its always relative saying how difficult something is.
It depends on the person...
Well sorry that's not helping much. I'm still at a loss on what to do.
Basically all you need to do is copy and paste the code from some tutorial examples, or you could even use the app inventor as you need barely any code to do this, for example:
http://developer.android.com/guide/topics/graphics/index.html
http://developer.android.com/guide/webapps/webview.html
Putting it all together and making it into an application shouldn't take you more than half an hour once you have gone through the starter tutorials to understand how and what it is you are using.
Ok I'll try that.
Click Here is the link for a LIVE remote workshop / presentation
-Cheers
omg
i really wanna learn, so i went to purchase course and
DescriptionsAmount
Diploma in Java Programming.Diploma in Java Programming.
$1,695.00Item price: $1,695.00
$1,695
are you serious??
Well if you are really determined to learn it, you can manage doing it on your own too, with the help of free online resources. Search for a tutorial series on youtube. Here's one I had found useful when I was learning:
http://www.youtube.com/watch?v=Hl-zzrqQoSE
You should also buy a good book on Java programming and read it. That would help a lot too.
read android developers guide
You can check android developers official site it has lot of tutorials and resources.
You can go to next university library and borrow any Android book. It will not include the latest version of OS, but it will have lot of fundamental information in one place, written by one person. Tutorails often show you how to solve single problem only.
Thank you
Also great video
You're Welcome! Yes it is a great video. That guy really does explain it nicely.
Is App Inventor still working?
Look also at cornboyz tutorial on youtube. Same guy, slightly different tuts
Hi all,
I searched here on Android forum but I did'nt find any reference to this very nice development tool:
http://www.basic4ppc.com/
does someone of you know it? what do you think about it?
I find it very interesting, special for people (like me) that has some programming skill but not a specific java knowledge... it costs a reasonable price (starting from 39$) and it seems really powerfull, with a very original integrated designer tool... I'm thinking to buy it... I would like to have your dev's impressions and evaluations...
[mod edit]
I am using it and I think it is an excellent development tool.
Takes a lot lesser time than Java and if you are familiar with VB or any other Basic, then you will be up to speed in no time.
Besides they have very good support.
Any more reviews? I'm very interested in this application.
love it
personally i love it. the fact that its fast (and uses basic ) . its just a great program. they also added error support for your internal coding mistakes....so they are really moving forward...if your a student you can get a %50 discount on the enterprise edition . ( i did )
i had the same issue
thank you guys for sharing
I am also interested
I am just learning to make apps, I literally have no experience yet. Would Basic4android be good for the type of app I'm trying to make?
I am needing to make a fairly simple, mostly text-based app, kind of like a user manual/instruction guide. Key features I am needing for this app would be:
*a "find" like CTRL+F to find words or phrases
*an index to jump to specific sections
*rip/copy protection so people can't steal the text and put it on a different device or computer
*smooth scrolling and fit-to-screen text
I know nothing about coding but I am very willing to learn! if this program makes it more simple, please let me know!
darkangel314 said:
I am just learning to make apps, I literally have no experience yet. Would Basic4android be good for the type of app I'm trying to make?
I am needing to make a fairly simple, mostly text-based app, kind of like a user manual/instruction guide. Key features I am needing for this app would be:
*a "find" like CTRL+F to find words or phrases
*an index to jump to specific sections
*rip/copy protection so people can't steal the text and put it on a different device or computer
*smooth scrolling and fit-to-screen text
I know nothing about coding but I am very willing to learn! if this program makes it more simple, please let me know!
Click to expand...
Click to collapse
Basic for android could and would work. It is based off of visual basic. Which is a windows based code format...
I would recommend learning JAVA. Basic for Android is mostly for people who already Know visual basic....such as myself...
Learn Java. There are MANY xda tutorials on it.
Sent from my LG-E970 using Tapatalk 2
furius said:
Hi all,
I searched here on Android forum but I did'nt find any reference to this very nice development tool:
]
does someone of you know it? what do you think about it?
I find it very interesting, special for people (like me) that has some programming skill but not a specific java knowledge... it costs a reasonable price (starting from 39$) and it seems really powerfull, with a very original integrated designer tool... I'm thinking to buy it... I would like to have your dev's impressions and evaluations...
Click to expand...
Click to collapse
Yes, B4A and B4i are both awesome, easy to learn and very powerful, best on the market, no exceptions.
I was wondering what developers thought about using eclipse. Is it easy to use or is it not. When I look online most veteran programmers say its easy to pick up but when I tried it seem kind of tough. I read an articule about it here
http://eclipseandriod.blogspot.com/
The author seem to think it was tough but easy at same time which left me confused. What do you think?
I had very few problems getting set up to develop using Eclipse for Android Development.
Perhaps if you can give some details of the problems you are experiencing we could provide some guidance.
GingerBiscuit said:
I had very few problems getting set up to develop using Eclipse for Android Development.
Perhaps if you can give some details of the problems you are experiencing we could provide some guidance.
Click to expand...
Click to collapse
Same idea here. Just give some examples where you feel stuck and maybe we could help.
I think it really depends on your programming background. If you dont know Java, no IDE in the world is going to be easy to learn, however, if you do know Java and can understand how android layout are defined, then Eclipse is easy and straightforward!
Basically I dont know Java programming and Iam used to using visual tools like level editors where you can just code on the object after you place it on the screen. Are there any level editor type tools for eclipse?
The reason why Android uses Java is because the original goals of android was to make a fast spreading, open source smartphone OS that seats Google as the default search engine. Java had/has the largest community of developers. Because Android uses Java, applications can reuse lots of already written Java code saving programmers tons of time that it would've taken to rewrite in whatever other language they would have chosen.
As for a beginner trying to make an Android app -- there's no way to get around the coding. It could be much, much harder. Java's really popular and well documented language with lots of books on it. Learning it would be easier than lots of other languages they could've used.
Hi there
I wanted to ask what would be the best way to learn Android development from my background. I have been developing in HTML5 + CSS3 + JavaScript for a few years now, so where would be the best place to start? A wiki, book, tutorial?
I have been looking at some books but I'm not sure that would be the best way. Any help would be appreciated.
I'd start with some basic Java tutorials. Oracle's website has some good ones. Once you'r comfortable with Java, the transition to Android will be a lot easier, as it isn't the most user-friendly API in my opinion.
you can learn from abc, such as abc.. come on ,believe yourself
For Android tutorials themselves, edumobile has some nice ones (just google "edumobile android". They are a bit higher-level, but great once you have the basics down. And of course you can post specific questions here or on Stack Overflow when things don't make sense or you can't find exactly what you're after.
An obvious place to start is with the Android developer tutorials themselves - they have a Hello World example to get you started and familiar with the basis of app development. After that, read a lot, try coding, learn from your mistakes and hone your skills.
Alternatively, if you don't want to learn Java and make Android applications using the standard sdk tools, you could try something like Appcelerator Titanium platform, which allows you to create Android and iOS applications (cross platform) using Javascript, which you know already. It is only a subset of the entire API, but it is the most common stuff (so it might not work if you want to do some complex hardware interaction with NFC or something), and for standard apps should be fine.
TotallyApps said:
I'd start with some basic Java tutorials. Oracle's website has some good ones. Once you'r comfortable with Java, the transition to Android will be a lot easier, as it isn't the most user-friendly API in my opinion.
Click to expand...
Click to collapse
Kremlin987 said:
An obvious place to start is with the Android developer tutorials themselves - they have a Hello World example to get you started and familiar with the basis of app development. After that, read a lot, try coding, learn from your mistakes and hone your skills.
Alternatively, if you don't want to learn Java and make Android applications using the standard sdk tools, you could try something like Appcelerator Titanium platform, which allows you to create Android and iOS applications (cross platform) using Javascript, which you know already. It is only a subset of the entire API, but it is the most common stuff (so it might not work if you want to do some complex hardware interaction with NFC or something), and for standard apps should be fine.
Click to expand...
Click to collapse
Thanks, I'll be sure try Oracle's tutorials. My aunt actually works with Java in her work, so I'll ask her for help maybe. But like any programming language I'll try the Hello World first
I want to learn a programming code/language but I don't know where to start. I know about a code to start learning called lolcode but I don't know if you recommend me to learn it, if it is too easy, or just, stupid.
Maybe html?
I don't know
Learning a fake or un-useful "code" language might not be a great idea.
There are TONS of web-sites and even more books and classes that will teach you things like Java or C++ - start with one of those. I'm assuming you're interested in Android development - but if you're not, you might want to check out what you need to know for what you want to do.
HTML is still useful, and so is CSS - but they're for web development. Great to learn if that's what you want to do - but very different from Java, C++, Python, et cetera.
I recommend u C or C+ as it is the starting point for programming. And if u want t be android dev, a programmer told me to do this:C+ -> Java -> and then android app programming....
Sent from my GT-I9001 using xda app-developers app
kagouro said:
I recommend u C or C+ as it is the starting point for programming. And if u want t be android dev, a programmer told me to do this:C+ -> Java -> and then android app programming....
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
I'd recommend the sane to anyone interested in Android app dev
C++, then Java.
Should be over-kill for your first app.
HTML is a markup language, not a programming language.
C/C++ might be a bad place to start if you have no prior programming experience. Python is a good language for beginners. Once you understand one high-level language, it becomes much easier to pick up on others.
i think it is very hard to learn....
Sent from my Galaxy Nexus using xda premium
pageniao said:
i think it is very hard to learn....
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It can be hard if the learn technique is not the best.
I would recommend you to start with c then c++ (especially the object oriented part) and then java.
And make little steps, not the whole thing in one part, try to reach after each part a 'successful done' feeling. Sounds probably weird, but I know a lot of people that stopped it because they thought that they can't reach the project target.
I'd start with java, then go on to c or c++.
Also an easy way to start is by learning the syntax and then retype other peoples codes while trying to understand it.
Can't submit links yet, so you'll have to google 'thenewboston'. Check out the tutorials section.
Development
Pennycake said:
Learning a fake or un-useful "code" language might not be a great idea.
There are TONS of web-sites and even more books and classes that will teach you things like Java or C++ - start with one of those. I'm assuming you're interested in Android development - but if you're not, you might want to check out what you need to know for what you want to do.
HTML is still useful, and so is CSS - but they're for web development. Great to learn if that's what you want to do - but very different from Java, C++, Python, et cetera.
Click to expand...
Click to collapse
Is it good to learn those although I'm a beginner? I haven't tried any language yet.
I'm getting interested in the developer's world, so I'm interested in that.
What do you recommend?
Java and C/C++ are definitely coding languages that you will use.
speakerstick said:
Is it good to learn those although I'm a beginner? I haven't tried any language yet.
I'm getting interested in the developer's world, so I'm interested in that.
What do you recommend?
Click to expand...
Click to collapse
The biggest question is "what do you want to do?" . That will determine what you should set about learning. "Developing" is still a pretty big and diverse thing, even if just Android. You can work on Android projects without coding too - someone has to make the websites and do the artwork, et cetera.
Being a beginner isn't a big deal - everyone has to start somewhere. Think about human languages - if your goal is it go to France, speak to French people in their native language, would you start accomplishing that by learning Spanish or Esparanto?
If you want to work on apps on your own, C/++ and Java are what you need to know. Python is good to learn, and useful for non-Android applications, but it's up to you if you want to learn an extra programming language before you can start doing what you want. Personally, I don't think C is any harder - but that's what I started with. It's going to take time, you'll learn how to use the tools you have to solve problems and create new things.
Sent from my SGH-T999 using xda app-developers app
Nope just give it a go. C is a good way to start. Good luck!
pageniao said:
i think it is very hard to learn....
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Definitely go with Java or C++. You'll be in shape within 3 weeks of good practice.
speakerstick said:
I want to learn a programming code/language but I don't know where to start. I know about a code to start learning called lolcode but I don't know if you recommend me to learn it, if it is too easy, or just, stupid.
Maybe html?
I don't know
Click to expand...
Click to collapse
well if u want a start just for the sake of it den
- BASIC /QBASIC
you wanna be a programmer den
start with
-C /C++/ J2SE
advance with
-VB, .NET, C#
going into web designing and dev
- HTML / PHP/ CSS
advance with
- JSP, Java Flex
Database
- start with MySQL
and den my personal Fav. ORACLE
any versions 10g/11g and upcoming 12c are quite awesome!!
:fingers-crossed::highfive:
You have to start somewhere - so any modern language would be good (though I have to say that personally I'd rather start with something like ruby). The first one is by far the most difficult - after you have that one - adding others is relatively easy.
If you're totally new to programming, I would recommend Scratch it's not exactly a programming language - it's roughly a programming platform to teach programming through fun. After having fun and learning some programming concepts, I would suggest start Java with Android app development. Java is relatively easy to start, and Android app development is very simple to try basic things. You would also be happy to see your code running directly on your phone
http://scratch.mit.edu/
swiserest said:
Can't submit links yet, so you'll have to google 'thenewboston'. Check out the tutorials section.
Click to expand...
Click to collapse
I second this. I'm currently learning how to code Java through this guy's video tutorials. He explains it very well and he has guides for multiple languages.
If you want to do Android Development, you should go ahead with C++ >> JAVA >> Android Programming (Using Eclipse)
It's quite easy. If you want to do web development, you should go ahead with HTML >> XML >> CSS and start building websites using Adobe CS
Like a lot of people have said C is a good starter language
Sent from my SCH-I605 using xda app-developers app