Programming & learning on Android. - General Questions and Answers

Hi friends,
I assume that on XDA there are some very talented programmers and might be able to guide me with my queries.
So heres the deal. I'm planning to get my hands on learning c#. But the the catch is I want to learn it on my android tablet. The reason why I want to learn it on an Android tablet? Well I am a Computer graphics artist and want to get into apps and game development for android and ubuntu. AND I have time to learn programming only after my working hrs i.e at home. So I want put my galaxy tab10.1 to a better more productive use. Obviously I will not be developing apps on my tab because I have xeon and i7 systems at my office to do that.
So I did some Google and found this webpage very usefull for all the programming tools on android.
http://android.appstorm.net/roundups/developer/15-apps-for-programming-on-android/
So can anybody recommend or suggest me on how to start with learning programming on Android?
I think this maybe useful to many other new aspiring programmers.
sent from my Xperia S

let me knw if u get anyhting about this programming
:laugh::laugh::laugh::laugh::laugh::laugh::laugh::laugh::good::good::good::good::good::good::good::good::good::good:
let me knw if u get anyhting about this programming

I am not 100% sure but I believe you need to learn Java to make apps for android.

unoo said:
I am not 100% sure but I believe you need to learn Java to make apps for android.
Click to expand...
Click to collapse
The point of this thread is "how one can learn and practice various programming languages on the android device itself"
EDIT: I YouTubed for learning c# and found that to begin with c#, if we are Windows OS then .NET visual studio is required and if we are in Ubuntu OS Google mono is required.
I don't if we may need Google mono in android.
sent from my Xperia S

nostard19 said:
The point of this thread is "how one can learn and practice various programming languages on the android device itself"
EDIT: I YouTubed for learning c# and found that to begin with c#, if we are Windows OS then .NET visual studio is required and if we are in Ubuntu OS Google mono is required.
I don't if we may need Google mono in android.
sent from my Xperia S
Click to expand...
Click to collapse
C# is not a language you can easily code on android, or code android apps in.
If your looking to make programs for ubuntu and android java really is the best way forward, alot of game engines let you build a game in pure java and then easily convert it to a android game

zacthespack said:
C# is not a language you can easily code on android, or code android apps in.
If your looking to make programs for ubuntu and android java really is the best way forward, alot of game engines let you build a game in pure java and then easily convert it to a android game
Click to expand...
Click to collapse
Hey, did you checked out the link in the first post? It has many usefull code editor and tools that can be used on android for programming.
sent from my Xperia S

nostard19 said:
Hey, did you checked out the link in the first post? It has many usefull code editor and tools that can be used on android for programming.
sent from my Xperia S
Click to expand...
Click to collapse
I was under the impression that while you can get IDE's for a range of languages to do coding etc, if you want to actually make android apps Java really is your best bet

General browsing of XDA would have given you this thread - Android Chef Central

zacthespack said:
I was under the impression that while you can get IDE's for a range of languages to do coding etc, if you want to actually make android apps Java really is your best bet
Click to expand...
Click to collapse
Wow man! Just saw your Linux installer.. Killer app. And hats off sir! Im gonna try this on my g tab 10.1. This maybe the ultimate productive tool for me.. Thanks again. Will definitely get the key version.
sent from my Xperia S

nostard19 said:
Wow man! Just saw your Linux installer.. Killer app. And hats off sir! Im gonna try this on my g tab 10.1. This maybe the ultimate productive tool for me.. Thanks again. Will definitely get the key version.
sent from my Xperia S
Click to expand...
Click to collapse
Your welcome yes thats another way round it use my app and program from linux!

XperienceD said:
General browsing of XDA would have given you this thread - Android Chef Central
Click to expand...
Click to collapse
It sounds like he wants to do Android app development/Game development, not ROM development.
For general-purpose app development I would suggest learning Java and the Android SDK. There are numerous books available to help you, for example The Busy Coder's Guide to Android Development. Older editions are free but I would recommend getting the newest one since Android is a fast-developing platform. The Android SDK site is also a good place to start.
For game development you have more options. Corona and Cocos2d-x are both cross platform (can deploy to Android and iOS). Corona code is written in Lua, and Cocos2d-x can be written in C++ or Lua. There are also a lot of other options available if you look around.
I'd still recommend learning some basic Android apps before tackling game development, though.

Related

What are your thoughts on Eclipse Andriod game making tool is it easy to use or hard?

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.

[Q] Android development for newbies

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.

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

How to become a developer?

I would like to become a developer. Obviously, that means learning code, but which one? Also, I don't have a PC with Linux OS, so will that be any problem? What tutorials or ebooks or stuff like that do you recommend to start me learning?
King-V said:
I would like to become a developer. Obviously, that means learning code, but which one? Also, I don't have a PC with Linux OS, so will that be any problem? What tutorials or ebooks or stuff like that do you recommend to start me learning?
Click to expand...
Click to collapse
Yes, that's right. To become a developer means learning to write code and apply those while creating a software.
Question on which one? is completely upto you because you need to know what are you aiming for. If you're looking for web application development, you may have to study any languages like PHP, DotNet, Java - J2EE/EJB etc.
If you're looking for Android application development, first step is to study Java, because its the main language used for programming apps. Then you can move over to Tutorials on Android development, and it will be easy. If its iOS app/ Mac specific app development, Objective C it is.
Not having PC with Linux OS won't be any problem, because you can do these in Windows platforms or in a Mac.
Tutorials = Google my friend. It has almost everything in the universe. Also in Youtube, you get the video tutorials.
Some which I could recommend is, for Java Oracle docs is good and "Java - The Complete reference" by Herbert Schildt is a good book too. For Android, you can find all resources in the App development forums.
You can try out the freepascal with a good IDE (codetyphoon), simple to make windows or linux graphical apps, or the visual studio express with c#.
coolsandie said:
Yes, that's right. To become a developer means learning to write code and apply those while creating a software.
Question on which one? is completely upto you because you need to know what are you aiming for. If you're looking for web application development, you may have to study any languages like PHP, DotNet, Java - J2EE/EJB etc.
If you're looking for Android application development, first step is to study Java, because its the main language used for programming apps. Then you can move over to Tutorials on Android development, and it will be easy. If its iOS app/ Mac specific app development, Objective C it is.
Not having PC with Linux OS won't be any problem, because you can do these in Windows platforms or in a Mac.
Tutorials = Google my friend. It has almost everything in the universe. Also in Youtube, you get the video tutorials.
Some which I could recommend is, for Java Oracle docs is good and "Java - The Complete reference" by Herbert Schildt is a good book too. For Android, you can find all resources in the App development forums.
Click to expand...
Click to collapse
Thanks a lot. That surely will get me started.
Also, if you wouldn't mind, I'd add that green glowing gif of your signature to mine.
King-V said:
Thanks a lot. That surely will get me started.
Also, if you wouldn't mind, I'd add that green glowing gif of your signature to mine.
Click to expand...
Click to collapse
Sure, I wouldn't mind. :good:
Start Android Application Development
Hii..
If You Want to become android Developer best video tutorial series on Internet Is
Link
http://youtube.com/playlist?list=SP2F07DBCDCC01493A&hl=en-GB&gl=IN&client=mv-google&guid=
And Android ADT is ready made available on their website just download and start developing android apps.
Link: Android ADT
http://developer.android.com/tools/index.html
Best Of Luck....
Press Thanks Button ( Left corner of this post ) if I helped You
Sent from my GT-S6102 using xda app-developers app

[Q] Related to Java learning for android app development.

Hello! I have started learning java for android app development. I ve bought this book called Learn Java for android development by Jeff Friesen. I also learn from other sources. But sometimes there are codes, that i cannot understand and i think that I ll never become a good developer.
Does this happen to every newbie? Please give me some tips if you are an experienced developer?
alternative to java
If you have problems learning java try basic4android, and you can develope apps for android in language witch is similar to Basic, easy to learn, but powerful
vighaneshsharma said:
Hello! I have started learning java for android app development. I ve bought this book called Learn Java for android development by Jeff Friesen. I also learn from other sources. But sometimes there are codes, that i cannot understand and i think that I ll never become a good developer.
Does this happen to every newbie? Please give me some tips if you are an experienced developer?
Click to expand...
Click to collapse
Have you tried an app tutorial? It might add to your knowledge base.
It is not easy to start learning java with some specific framework (like Android Application Framework).
When something is not clear in the code, i suggest you should try switching to the basic core java stuff and do some tutorials on that.
After that you will have an understanding and more confidence in learning android development.
Good luck.
Thnqq every1
Thnqq every1 for help! I really appreciate u people and i followed ur suggestions now i can do some medium level programming! thnx
Question
hatab001 said:
If you have problems learning java try basic4android, and you can develope apps for android in language witch is similar to Basic, easy to learn, but powerful
Click to expand...
Click to collapse
I saw screenshots of basic4android but the coding looked completely different from java. Sorry! but i am a newbie. Can you tell me which language is that and which is easier and can i make games from this? Thank You! :good: :good:

Categories

Resources