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
Related
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.
I want to create my own app are there any free or cheap tools to build own. I want it to be able to be able to stream videos, listen and read rss feeds and send credit card info. Any advice or points in the right direction would be very helpful. Thanks
Eclipse, and you need to know java language. Otherwise you can't just have a tool create everything for you.
Sent from my PG86100 using xda premium
I'm also interested in trying my hand at apps and games. Is Eclipse and Java the only route or are there other methods? I've heard of using Flash designer, but I don't know. price is not an issue for me, quality of the app/game is, so if there is a "better" way than eclipse I would like to know. Not saying Eclipse is bad(because I have NO clue). just would like to know all the options, free or paid, on how to create for both phones and tablets.
g0t0 said:
I'm also interested in trying my hand at apps and games. Is Eclipse and Java the only route or are there other methods? I've heard of using Flash designer, but I don't know. price is not an issue for me, quality of the app/game is, so if there is a "better" way than eclipse I would like to know. Not saying Eclipse is bad(because I have NO clue). just would like to know all the options, free or paid, on how to create for both phones and tablets.
Click to expand...
Click to collapse
Check out corona sdk.
Sent from my PG86100 using xda premium
You can develop your own application if you know java language with the help of Eclipse and ADT Plugin along with android SDK and any platform that you want to develop for in the SDK (Thats lots of tools there but once you setup you can develop unlimited amount of apps or games) You can download android sdk from developer.android.com/sdk/index.html and eclipse from eclipse.org (google download eclipse)...
For resources and tutorials (i.e to begin developing your own first app) setup android sdk and eclipse and visit to developer.android.com/resources/index.html (there are lots of tutorials and code to help you get along)
All the best with software development.......
---------- Post added at 03:25 PM ---------- Previous post was at 03:21 PM ----------
g0t0 said:
I'm also interested in trying my hand at apps and games. Is Eclipse and Java the only route or are there other methods? I've heard of using Flash designer, but I don't know. price is not an issue for me, quality of the app/game is, so if there is a "better" way than eclipse I would like to know. Not saying Eclipse is bad(because I have NO clue). just would like to know all the options, free or paid, on how to create for both phones and tablets.
Click to expand...
Click to collapse
Also everything you get to setup a environment for developing is free of cost and for developing in phone or tablets choose the os platform in android sdk and download the os that the device is running on...
Also Ecplise is the best for the job. (I think you can also use netbeans or othere java editors to edit souce code but not so sure)
For more detailed info on setting environment for developing your own applicaitons and games at your own personal computer please see this http://yagyagaire.blogspot.com/2011/09/how-to-develop-your-own-applications.html article.
Please Hit Thanks Button If my post was useful!!
There's also intellij IDEA, which has a free (opensource IDE) that comes with all their android development tools. It lacks the GUI building that eclipse has, but it makes up for it with other things. I bought their paid version when it was 50% off sometime ago for the extra features it had like python and php editing.
http://www.jetbrains.com/idea/
zuma for android
Hi, is there an app to change a cab file to a apk file? I use to have an HTC HD2 and there was a cab file with an awesome zuma app on there. Is it possible that anyone can show me how to convert a cab file please????
adbookeronline said:
Hi, is there an app to change a cab file to a apk file? I use to have an HTC HD2 and there was a cab file with an awesome zuma app on there. Is it possible that anyone can show me how to convert a cab file please????
Click to expand...
Click to collapse
lol...no. that's like asking if you can convert from a windows execute to something you can run on linux (without wine).
Hello Xda community , I want to get into java and android development. I want to develop apps for android but I have no experience with programming languages. Can anyone here suggest me some good books to get started with? Your help will be appreciated.
Regards
atta123 said:
Hello Xda community , I want to get into java and android development. I want to develop apps for android but I have no experience with programming languages. Can anyone here suggest me some good books to get started with? Your help will be appreciated.
Regards
Click to expand...
Click to collapse
you will need Cpp knowlege too here a book for it :The C++ Programming Language (it's from the developer of C++ but it's prety difficult to learn from it) I think that Stefan R. C++ for dummies will be better for you
Two good books
Android Application Development: Programming with the Google SDK
and
Professional Android Application Development
are two pretty good books. The latter is for people with some previous programming experience so you might want to give the first one a try.
---------- Post added at 07:48 AM ---------- Previous post was at 07:35 AM ----------
Also be sure to take a look at developer.android.com/develop/index.html it's a great source of information.
A very comprehensive book in Android programming is Professional Android 4 Application Development, from the author Reto Meier. It is very up to date, covering the Android 4.x APIs. There is a Kindle edition, as well (the one I´m reading).
But, IMHO, the best introductory text in Android Programming is the Android Developer website (developer.android.com). Look under the section "Develop", for the subsections "Android Training" and "API Guides".
Regards,
Bruno
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?