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.
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?
I have very little programming experience, just some in C and C++. But I'd like to start learning how to develop for Android.
Any good books/ebooks which will help me started? Or any guide or anything such?
Ill help you out if you want. Email me [email protected].
i wanted to start too, i just wanted to know if it is harder to learn to program for android than for example to programm with c#. and what's the best way to get started
meaningQo said:
i wanted to start too, i just wanted to know if it is harder to learn to program for android than for example to programm with c#. and what's the best way to get started
Click to expand...
Click to collapse
Just like me...
1. Start with learning Java as a programming language.
Don't waste time on learning how to create GUI in java as it is irrelevant to Android, but make sure you know the basics of how threading works, what collections you can use, learn the java event listeners model (concept only) etc.. Also make sure you're using Eclipse as it would probably be your primary IDE for Android development. For an experienced C++ programmer this step should take no longer than a week.
2. Install the Android SDK (follow http://developer.android.com/sdk/installing.html).
3. Read the developers guide basics.
4. Learn from examples!
The Android SDK comes with many example projects, just add a new Android project in eclipse and choose "from example" in the window that will follow.
There are also many open source Android projects you can learn from.
roee88 said:
1. Start with learning Java as a programming language.
Don't waste time on learning how to create GUI in java as it is irrelevant to Android, but make sure you know the basics of how threading works, what collections you can use, learn the java event listeners model (concept only) etc.. Also make sure you're using Eclipse as it would probably be your primary IDE for Android development. For an experienced C++ programmer this step should take no longer than a week.
2. Install the Android SDK (follow http://developer.android.com/sdk/installing.html).
3. Read the developers guide basics.
4. Learn from examples!
The Android SDK comes with many example projects, just add a new Android project in eclipse and choose "from example" in the window that will follow.
There are also many open source Android projects you can learn from.
Click to expand...
Click to collapse
good advice. but consider IntelliJ as well as Eclipse. i find IntelliJ nicer and faster to use
Another useful thread on this topic is here:
[Q] How did you learn to develop?
http://forum.xda-developers.com/showthread.php?t=1206082
As mentioned there, it would be good to get a general noob dev guide set up on here so that people can get started with developing.
Well i just started learning development in android as well,i have been trying hard to find sources to help me understand until i stumbled upon a gold mine....!
here it is:http://www.youtube.com/user/CornboyzAndroid
http://www.youtube.com/user/mybringback
this guys videos are awesome explains in detail....
Hope this helps all new learners like me,also the user in those videos has been doing this out of his busy schedule for free,if those videos teach you something or help you in anyway then please consider making him a small donation....!
I would also suggest to post your questions (or find answers) on the stackoverflow website (http://stackoverflow.com). It is full of smart guys
Another approach would be to build your apps in html / javascript using frameworks like JQuery, and then use a tool like PhoneGap which will bundle it into an app that will run cross platform
Found another good book:
android application devlopment for dummies.....!
great book see if u can find it,if u dont then let me know i will upload it ...!
its the best book i have seen for android
edit: ok here is a link for the book,i am doing this just because many ppl pmed me to upload it,if the mods feel the link shouldnt exist u can always delete it
http://stor1070.uploaded.to/dl/JnhVLWv0qz
link added to the above post
Thanks for this, good resources.
adicool said:
Found another good book:
android application devlopment for dummies.....!
great book see if u can find it,if u dont then let me know i will upload it ...!
its the best book i have seen for android
edit: ok here is a link for the book,i am doing this just because many ppl pmed me to upload it,if the mods feel the link shouldnt exist u can always delete it
http://stor1070.uploaded.to/dl/JnhVLWv0qz
Click to expand...
Click to collapse
Page not found
Error: 404
I would love to get that book but the link is not good. Thanks anyway.
i will be uploading it tonight then,u will see a link soon
Found the book here for download: http://www.google.com/url?sa=t&sour...s61ws8oFg&sig2=vQS3EtQFTFUaJWLnsmYGXQ&cad=rjt
Sent from my Transformer TF101 using Tapatalk
Ok another few of my good resources as always for laerning android:
Get hold of Android course videos by Plural sight
Android with java essential videos by Lynda.com
Android using essential java by O reilly
adicool said:
Ok another few of my good resources as always for laerning android:
Get hold of Android course videos by Plural sight
Android with java essential videos by Lynda.com
Android using essential java by O reilly
Click to expand...
Click to collapse
I have all 3 . They are really great sources. I've been learning development on android past 2 months.
Sent from my SAMSUNG-SGH-I997 using xda premium
you can also develop apps in adobe air. I have been able to port over some of my flex code into adobe air. You can compile into android, blackberry playbook, and the IOS with flash builder 4.5.1 only problem is flash builder is not free.
I'm currently churning my way through Thinking In Java. There's a free version on the official mindview.net website.
Learning Java as a programming language will pay off in the long run (I believe) as C# shares many fundamental areas with Java and so adapting to it should be easier if you have a good foundation in Java.
If you have previous experience with C++, then Java should not be too big a step for you.
I've heard that all those "Java for Dummies" books are pretty useless as they focus a lot on basic stuff and less on programming structure/patterns, etc.
as for the leap from Java -> Android Apps, I think the official android dev site is pretty sweet.
Hey guys!
I need to develop an android app for my summer project but I don't know how or where to start. I have some very basic knowledge of C++. What I want to make is a news app or something like that. The app would connect to a news website, whatever the user selects, (say xyz.com) and all the headlines and everything could be presented in a nice app layout.
Or
I want to make a very simple app that would just turn on and off the wifi, mobile data, GPS and all. A toggle app basically.
How can I make any of these?? Seriously need some help as I have to submit my project in about a week or so.
Thanks!
Sent from my GT-N7000 using XDA Premium
Start by finding a reference book or site on the basics of Java.
Download the Android SDK and set up your dev environment. I recommend you use Eclipse (with ADT plugin). Guides on how to do this can be found by doing a simple web search.
Next start going through intro tutorials. Create a hello world type app.
Android app development is not that hard. There are tons of tutorials and references online. Just gotta figure out what you want to develop.
Have fun!
This is usually a good place to start:
http://developer.android.com/training/index.html
They have a lot of demos and tutorials.
The second best place is StackOverflow! Literally! You'll find loads of tips by searching for the right things.
hey, i do develop apps, the project u have thought about, is very easy to execute, i use java and xml to make projects, u can use NDK if u have greater c++ knowledge,,,
but i would advise u to use java only, 1st set up eclipse with android plugins, adt and sdk, then create an android project and for the layout buttons/listview u can just have a webView activity to open up, its a library, this can be completed in 6 hrs, enjoy
thank me if i helped u
s4shyam95 said:
hey, i do develop apps, the project u have thought about, is very easy to execute, i use java and xml to make projects, u can use NDK if u have greater c++ knowledge,,,
but i would advise u to use java only, 1st set up eclipse with android plugins, adt and sdk, then create an android project and for the layout buttons/listview u can just have a webView activity to open up, its a library, this can be completed in 6 hrs, enjoy
thank me if i helped u
Click to expand...
Click to collapse
AceRoom said:
This is usually a good place to start:
http://developer.android.com/training/index.html
They have a lot of demos and tutorials.
The second best place is StackOverflow! Literally! You'll find loads of tips by searching for the right things.
Click to expand...
Click to collapse
theInfected1 said:
Start by finding a reference book or site on the basics of Java.
Download the Android SDK and set up your dev environment. I recommend you use Eclipse (with ADT plugin). Guides on how to do this can be found by doing a simple web search.
Next start going through intro tutorials. Create a hello world type app.
Android app development is not that hard. There are tons of tutorials and references online. Just gotta figure out what you want to develop.
Have fun!
Click to expand...
Click to collapse
thanks guys! i'll download the SDK and learn about all these things, google is my friend!
at least I know where to start now!
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Emmm....I think python won't help. By the way what languages do you know? If you like you can continue your project with Mono Android. Which is compatible with Microsoft Visual Studio and you can do many things easier with it. In that case you have to know C#. Here's the thread with many links. http://forum.xda-developers.com/showthread.php?t=2223114
Sent from my SonyX8 using Tapatalk 2
---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------
Here's the thread for setup Mono Android. http://forum.xda-developers.com/showthread.php?t=2223010
Btw if you would like to go on this, pm me problems you have, I will help you as I can. Good luck.
Sent from my SonyX8 using Tapatalk 2
virk36 said:
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Click to expand...
Click to collapse
Do yourself a favor and simply use Java if possible. That is how they intended to develop on Android. In my experience anything else is good only if specifically needed.
JAVA is the most used language to make apps for Android but there are alternatives and the biggest I see is Mono fro Android which uses C# as a programming language
const_char said:
Do yourself a favor and simply use Java if possible. That is how they intended to develop on Android. In my experience anything else is good only if specifically needed.
Click to expand...
Click to collapse
I second that. Android is mostly designed around C and Java. Even if you code C/C++, you sometimes have to use JNI to call back into Java, because some functionality is only exposed in a Java package, not in native code.
So Java is the best way to make full use of the Android platform, and gives you the best compatibility. Most tools, documentation and other resources are also aimed at Java development.
Java is default android development language
virk36 said:
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Click to expand...
Click to collapse
you can develop android app with python but maybe your released app size is so big
because your app must statically have python interpreter.
it is not easy stuff, if you have not many experience of android development.
python is not too far from java or c/c++ so it may help anyway, but now you should go to java ...
but the most important is now to know how to use the Android framework
Nowadays, Java is the most useful language to create application for android, but I will prefer mono for C# as a programming language.
yeah...man u should use java it would really help u.....i m 14 i too wanna develop apps...so i learn JAVA it's the best ....
By the way gud luck with ur project
Sent from my IRIS402 using xda app-developers app
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?