Related
Any thoughts on the best books and/or online classes to learn Java and Android developing.
There is one Android class at a UC school by me but it is $650 for like 6 meetings.
Thanks
1) Best source to get started with Java: http://java.sun.com/docs/books/tutorial/
2) For Android, check out "Busy Coder's Guide To Android"
It's not free, but it's not expensive either ($40 for 1 year subscription and updates).
You get 3 books: basic & advanced Android, together with a tutorial.
If found these books very informative and it helped me alot during my first Android application.
Covers up to Android 2.1 API.
Big Java by Cay Horstman is an excellent book and the one my university recommends for our Software Workshop 1 (Java) module.
We're ranked 5th in the UK for computer science so we can't be that wrong
http://www.anddev.org/
Lots and lots of tutorials.
finally a forum dedicated to this...**** yes im excited. now i know what imma be doing in my spare time at school hahahah. i already was on the forums 24/7....
So, is it alright to step directly to android?
Or is it Java first??
I would say Java first...
Another good book: Professional Android Application Development
And don't forget the tutorials and sample code at http://developer.android.com/resources/samples/get.html
RationalGaze said:
I would say Java first...
Another good book: Professional Android Application Development
And don't forget the tutorials and sample code at http://developer.android.com/resources/samples/get.html
Click to expand...
Click to collapse
The first book above is now into it's second edition which is obviously the one, of the two, to go for given the rate at which Android is changing. I've just bought that & the last edition of Thinking in Java.
Two more great books, they are very good, from the basics up to professional. They are updated with Android version 2 so relatively new:
Apress' Beginning Android 2
http://apress.com/book/view/1430226293
Apress' Pro Android 2
http://apress.com/book/view/1430226595
Oh and Java books are not so mandatory because Android is not REALLY Java, it's Google's own implementation, the basics are Java, but almost
everything is possible without knowing Java and reading these books.
Chapell said:
Oh and Java books are not so mandatory because Android is not REALLY Java, it's Google's own implementation, the basics are Java, but almost
everything is possible without knowing Java and reading these books.
Click to expand...
Click to collapse
The principal programming language for Android is Java. What you mean perhaps is that Android doesn't use the common Java class libraries such as AWT & Swing, but rather its own.
To code effectively you must understand OOP, the Java language & Android's class libraries. There's no way around that.
cauli said:
The principal programming language for Android is Java. What you mean perhaps is that Android doesn't use the common Java class libraries such as AWT & Swing, but rather its own.
To code effectively you must understand OOP, the Java language & Android's class libraries. There's no way around that.
Click to expand...
Click to collapse
Yeah, I know that the programming language is Java. What I mean is if someone has knowledge about OOP and has experience with other programming languages (C++, C#, etc) there is no need to buy a book about Java. Just learn the syntax in 1-2 hour(s). During Android programming you'll be using the Android's classes almost all the time, so it's not the same like really programming some java app from the beginning.
Here is a good set of video tutorials targeted towards programmers that provides a quick down and dirty intro to Android programming and concepts.
http://android.voxisland.com/
I find the biggest challenge having never really learned Java much is learning the Android API. Coming from C the syntax is very familiar.
I am looking to start learning on my own and got this link form Andrew Web.
http://oreilly.com/catalog/0636920001690
Anyone have or heard anything about these videos?
1) Is it possible to run windows application on android? C#.
I want to build an app on C# and i want it to run on my Android Phone, is this possible?
2) How can I run Html files on my phone?
Sorry for my english.
I'm not very experienced, but I think you'll need to emulate windows. I cannot guarantee that this is correct though.
jhaz04 said:
1) Is it possible to run windows application on android? C#.
I want to build an app on C# and i want it to run on my Android Phone, is this possible?
2) How can I run Html files on my phone?
Sorry for my english.
Click to expand...
Click to collapse
Html will work with, but you need to do some porting. C# is what apple uses for their apps. As far as I know, our apps are mostly written in java.
Sent from my SGH-I777 using Tapatalk
You won't be able to run C# apps on an android phone. The big problem is that Android doesn't use C# code at all. Applications are typically written in Java, although developers have the option of writing in native code (C++) if they are willing to forego the use of APIs. The short answer is that any C# app will have to be totally rewritten for use on and android phone.
As for HTML, there are a number of excellent browser apps that either come pre-installed or are on the market. These apps can open HTML files. They can even handle web apps using HTML5, javascript, css and AJAX.
Hope that answers your question.
Hello,
I am a total novice. However, I'd like to develop a simple timecard app for Android, specifically targeted like the apps below.
http://www.appato.com/edward-pereira/wrap-time-time-card-for-film-crews/
http://www.crewtimecard.com/
These only exist for Apple products, though. What is the easiest, most straight-forward (Windows-based) software for creating such an app? I've heard of something called Eclipse...? Or there's some Google thing?
Thanks!
You need eclipse ide and android adt plugin for exclipse to code for android.Also you need android sdk for the api's.Googling "how to setup eclipse for android development" will give instructions for those from android developers website
Sent from my GT-N7000 using xda app-developers app
thanks vijai2011. Is Eclipse easy to learn? Is there something easier that may not be TOO basic, so that I can create a timecard app like the ones I linked to above?
You dont have to learn to use eclipse .All you you need to know is java and few things about android resources which you can find at android developer website.They will pretty much cover everything.
But without java,you cannot take even the first step of app coding.Heart of app coding is java.
Sent from my GT-N7000 using xda app-developers app
I see... so there really isn't something similar to Adobe Dreamweaver for android apps?
daniel178 said:
I see... so there really isn't something similar to Adobe Dreamweaver for android apps?
Click to expand...
Click to collapse
Like Adobe Dreamweaver lets you design your web layout pages with PHP coding ... Eclipse lets you design the App layout with java coding. Its pretty much similar.
You can even use Netbeans or similar IDE's, but most developers use Eclipse and its the one that's being recommended by Google, I guess.
Thanks... I am little intimidated by Eclipse. Is it mostly graphical? can I get by without any coding? You see the type of app I want to create....
Also, have you heard of Phonegap? Is this easier/better/more or less limiting?
Eclipse is fully gui.You go through a wizard to create a new project,adding app icon,creating main activit(ies),select lowest api and the api for app then you get into a screen like a text editor where you type java,then go to android manifest then added the created activity,give perm and export the app signed.Even the adb is included at the bottom toolbar for easy debugging in real time .
So its pretty much straight forward but it can take sometime for the first time.
Sent from my GT-N7000 using xda app-developers app
Hmm, sounds like there's some java (at least) coding involved. Can I get by without any manual coding at all?
Also, to create an app like the timecard things above, for Android, what version of Eclipse would be best (simplest, yet able to do the job well).?
Well....Its not some java...It 99% java the remaining 1% is for the look and feel that you put to your preference .That is why I said
But without java,you cannot take even the first step of app coding.Heart of app coding is java.
Click to expand...
Click to collapse
on post #4
No...you dont need any specific version of java.Take the latest eclipse IDE and the latest ADT plugin and code it.There is nothing you can do without manual work of typing java.You cannot do those web page design using dreamweaver here Here is my first app I wrote.There is also the source code attached at the bottom.See how long the code is just to invoke a activity of another app with a default argument.
This is how I set up eclipse:
You must have sdk pre-installed for this.Also sdk needs a 32bit java JDK to work.(you need 32bit irrespective of if u run 32 or 64bit.Dont know why is that so.SDK never recognized my 32bit JDK)
Install eclipse classic
follow this to install ADT
daniel178 said:
Hello,
I am a total novice. However, I'd like to develop a simple timecard app for Android, specifically targeted like the apps below.
http://www.appato.com/edward-pereira/wrap-time-time-card-for-film-crews/
http://www.crewtimecard.com/
These only exist for Apple products, though. What is the easiest, most straight-forward (Windows-based) software for creating such an app? I've heard of something called Eclipse...? Or there's some Google thing?
Thanks!
Click to expand...
Click to collapse
Checkout HELLS-KITCHEN. It's a great starting point. With this Distro and a million Tutorials on XDA, you should be able to find what your looking for.
what about Flash? I've watched a couple of video tutorials on using Flash 5.5 and up to create Android apps, and it seems pretty graphical-only (no or less coding -- keep in mind my app is very simple). Would this be a viable option?
What ever you try,The last and final destination is TO USE JAVA for app even if the app is a "Simple" Hello world app!You have to have a main activity,type in the codes etc....You dont get it out my clicking out on wizards like:
Do you want Android app?click next
Do you need it to be simple?click next
What features you need?Select them.
If you are too lazy to type out codes or dont know java,Why not just try any alternative in play store?It is more Graphical and is only few taps
Sent from my GT-N7000 using xda app-developers app
Alternatively you could try to use phonegap.com or usepropeller.com / simplr.mobi.
Hi,
I am new to app developing world.
I dont know about app developement languages for android which are now used.
Gonna start to learn a language to develope?
Which is the best one to learn as a first language?
And plz guid me what i need to do right here right now.
By the way, I know html, css, javascript, jquery, php... I work as a web developer but wanna get into app developement.
Thanks
Sent from my HTC A310e using xda app-developers app
cyber-terrorist said:
Hi,
I am new to app developing world.
I dont know about app developement languages for android which are now used.
Gonna start to learn a language to develope?
Which is the best one to learn as a first language?
And plz guid me what i need to do right here right now.
By the way, I know html, css, javascript, jquery, php... I work as a web developer but wanna get into app developement.
Thanks
Click to expand...
Click to collapse
The biggest thing to pick up is object orientation (if you want to actually be a *good* developer ). I know php can be OO, but that doesn't mean you do have any experience of it as it doesn't have to be.
Java really is the way to go if you're starting from scratch with Android app development. You'll already be familiar with the C style syntax from javascript and PHP, but not enough for me to recommend using C/C++.
Have a look here...
http://developer.android.com/training/basics/firstapp/index.html
That's where I started, purely because it covers setting up the development environment and making simple apps.
Other than that, head over to stackoverflow.com (http://stackoverflow.com/questions/tagged/android+java). It is invaluable as a developer.
Have fun
Edit: Actually, I forgot one major option for someone with your skills...
http://phonegap.com/
It allows you to create apps using web development skills and builds for Android, iOS, BB, WP and a few others, all from the same code. I've used it to create a couple of small apps and it's pretty impressive.
Hi,
Thanks for your guidence,
Now I can start to learn java, but... Could u plz help me what to use to code?
I have eclipse but I dont know how it works as it is like windows command prompt which I do NOT have any expreince in such an environment.
By the way, can I use java programming language to code a windows software or a linux one?
Cause i need both pc app developement and mobile app development.
Thanks in advance.
The best.
Sent from my HTC A310e
No eclipse is not like that. I tried it months ago when trying to learn Java. It's likely MVS. You can find many guides about how to do it. You have to download eclipse and ADT and android SDK in order to begin your developments. Since I have some experiences using it, if you got a problem whenever you set-up it, just pm me. I will try to help you.
Good Luck n Happy Coding.
java or c, read the demo code,step by step, u ll get it, good luck.
Sent from my GT-I9100 using xda app-developers app
Language info
Hey Guys,
I am new here,i know C and C++ language.
Currently Learning .net But i am interested to learn java on my own..with the help of
google development
My Question is
IF Someone Learns it from there can he create cool apps and start generating revenues through it
and how much time period it will take to completly learn and start earning through android app
SnakeEyesNinja said:
Hey Guys,
I am new here,i know C and C++ language.
Currently Learning .net But i am interested to learn java on my own..with the help of
google development
My Question is
IF Someone Learns it from there can he create cool apps and start generating revenues through it
and how much time period it will take to completly learn and start earning through android app
Click to expand...
Click to collapse
Ehm, sorry I haven't learn Java. But I guess there are many things you can do with Java + C++
Yeah java is a cery good lang for dev.
Combination of java and c++ that sounds More interesting.
Sent from my WT19i using xda premium
SnakeEyesNinja said:
Hey Guys,
I am new here,i know C and C++ language.
Currently Learning .net But i am interested to learn java on my own..with the help of
google development
My Question is
IF Someone Learns it from there can he create cool apps and start generating revenues through it
and how much time period it will take to completly learn and start earning through android app
Click to expand...
Click to collapse
Not sure about mobile apps, but if you are good Java or .Net developer your earnings are guaranteed.
cyber-terrorist said:
Hi,
I am new to app developing world.
I dont know about app developement languages for android which are now used.
Gonna start to learn a language to develope?
Which is the best one to learn as a first language?
And plz guid me what i need to do right here right now.
By the way, I know html, css, javascript, jquery, php... I work as a web developer but wanna get into app developement.
Thanks
Sent from my HTC A310e using xda app-developers app
Click to expand...
Click to collapse
For the devlopment of androind apps you need to learn JAVA because most of apps are devloped in JAVA. But, to understand JAVA, you need to learn the concept of OOP (Object Oriented Programming). The Best Way to learn the concept of OOP you should concentrate to C++, that's where the concept of OOP starts. JAVA is used for the logical operations in the app. for designing part you should lean XML.
To View the Basic of android app devlopment. download AIDE {Android Integrated Devlopment Environment} this is a SDK for application devlopment.
vishjoshi said:
For the devlopment of androind apps you need to learn JAVA because most of apps are devloped in JAVA. But, to understand JAVA, you need to learn the concept of OOP (Object Oriented Programming). The Best Way to learn the concept of OOP you should concentrate to C++, that's where the concept of OOP starts. JAVA is used for the logical operations in the app. for designing part you should lean XML.
To View the Basic of android app devlopment. download AIDE {Android Integrated Devlopment Environment} this is a SDK for application devlopment.
Click to expand...
Click to collapse
And i guess to work for NDK layer you still need c.
Thanks,
Amit
amit.rai said:
And i guess to work for NDK layer you still need c.
Click to expand...
Click to collapse
No, C is an Procedure Oreinted Programming Language. You need C++ to work for NDK. To learn C++ you have to learn C language to know the basic concepts of language.NDK is based on command-line tools and requires invoking them manually to build, deploy and debug the apps
Thank You,
Vishal Joshi.
vishjoshi said:
No, C is an Procedure Oreinted Programming Language. You need C++ to work for NDK. To learn C++ you have to learn C language to know the basic concepts of language.NDK is based on command-line tools and requires invoking them manually to build, deploy and debug the apps
Thank You,
Vishal Joshi.
Click to expand...
Click to collapse
Does this means i cannot write a .so library in NDK using c ? i mean do i necessary need Class and cpp files ? are you sure ?
Thanks,
Amit
amit.rai said:
Does this means i cannot write a .so library in NDK using c ? i mean do i necessary need Class and cpp files ? are you sure ?
Thanks,
Amit
Click to expand...
Click to collapse
Don't worry, you can write your libs in C with the NDK.
svdree said:
Don't worry, you can write your libs in C with the NDK.
Click to expand...
Click to collapse
Hi svdree,
Thanks for confirming it. I was trying to correct vishal, as i dont find any restriction to use c++ in android, as few of my middleware are written in c only, and infact running example is openssl is properly compiled and ported which is written in c.
~Amit
amit.rai said:
Hi svdree,
Thanks for confirming it. I was trying to correct vishal, as i dont find any restriction to use c++ in android, as few of my middleware are written in c only, and infact running example is openssl is properly compiled and ported which is written in c.
~Amit
Click to expand...
Click to collapse
Sorry Amit, I didn't knew about C, I saw in wikipedia, u can write in C, As per my knowladge it was in my mind that we cannot use C languase as it is a procedure oriented language. C & C++ both can be used. bt check out this link. This Shows that NDK will not benifit most of the apps.
http://developer.android.com/tools/sdk/ndk/index.html
amit.rai said:
Hi svdree,
Thanks for confirming it. I was trying to correct vishal, as i dont find any restriction to use c++ in android, as few of my middleware are written in c only, and infact running example is openssl is properly compiled and ported which is written in c.
~Amit
Click to expand...
Click to collapse
Only restriction is that programming in C/C++ in Android adds much overhead proportionally to the amount of communication Java<->C/C++ So really take that into consideration.
Hello,
I'm looking for an easy way to write android apps in C++. I'm a begineer and I would apriciate a simple, easy to use metod. How can I do it? (Note: I don't know Java).
Regards,
Igor
Anybody?
You should start doing tutorials first if you have no programming experience. There are a lot of good resources available on YouTube. Search for Bucky and C++. Once you get the hang of it, you can try making some simple stuff.
Put coding programs for android to the side for a bit. Just try to master the language of c++. And then figure out how to code the grograms
Maybe you can start by developing with Qt on pc and then progressively switch to their Android framework .
Phurkus said:
Put coding programs for android to the side for a bit. Just try to master the language of c++. And then figure out how to code the grograms
Click to expand...
Click to collapse
Like this person said OP. Just master it first
In addition of what had been say and which is true, if you're targeting Android specifically, you should learn Java.
If you're going to dev, the language is not really important, when you master three language or more, you should be able to quickly master other needed languages. You should also read a bit about Algorithmic and Objects.
hi
First you need to know JNI,How to call function from c on java and opposite and Java is require !!!
go here : qt.io
windows , android , ios , osx , Linux and more
Definitely take a look at JNI. And this https://developer.android.com/tools/sdk/ndk/index.html
Sent from my XT1254
Is there some kinda ebook for it? ?
Dhruvam said:
Is there some kinda ebook for it? ?
Click to expand...
Click to collapse
Probably, there are ebooks for all sorts of things. Just be sure to understand you won't be able to write Android application in C++ (ok, you will be, but the struggle to call JNI won't be worth the effort). So do you want to learn C++ or to write an Android app?