How to write code with an Android device? - Android Q&A, Help & Troubleshooting

Hi all, with this thread I'd like to share with the community, and with your help of course, knowledge and Android apps to develop in differente programming languages using an Android device.
I tried several IDEs and I've always spent a few time to search and try them, so now would be great if anyone'll share his opinion and which IDE he use, either to simple script or big programme.
At the moment I don't have available any Android Device, so I can't test them, and make any video. (Soon I'll buy a tablet)
Jave
Sand IDE for Java developers (free) https://play.google.com/store/apps/...GwsMSwxLDEsImNvbS5qaW1teWNoZW4uYXBwLnNhbmQiXQ..
Java/C++
AIDE - Android IDE - Java, C++ (free) https://play.google.com/store/apps/...pps#?t=W251bGwsMSwxLDEwOSwiY29tLmFpZGUudWkiXQ..
AIDE Premium Key (9,99€) https://play.google.com/store/apps/...GwsMSwxLDEwMiwiY29tLmFpZGUucHJlbWl1bS5rZXkiXQ..
Arduino
ArduinoDroid - Arduino IDE (fee) https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid
I'll make videos as soon as I buy the tablet.
Write here which you tried!!!

Related

Best Books/online classes

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?

Starting with Android app development

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.

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

[Q] Developing for the Android, where to begin?

I am toying with the idea of developing for the Android. It's mostly for fun and to see where it goes. I am a programmer, but do not know Java specifically. If i was to learn Java, i would need to learn it from scratch, but for a programmer, not for a newcomer to the programming field.
I downloaded Android Studio and can follow the guides, but i wonder: Is it better to learn Java first and then Android? Or is it better to learn Android first? And regardless of which, is there a level of basic learning that is "enough" to foray into the other. I ask this because it seems that guides for Android expect one to know Java already. Then again, someone told me he learnt how to do Android, and found Java snippets on the web as he went along.
If there is no specific answer, please lend your advice or personal experience. I am very interested in hearing what other have to say about this.
Do both together
Hey there,
I was a bit worse off than you because the only "programming" experience I had was MS Excel formulas but with some effort now feel pretty good about getting even relatively complicated things working in Android. Basically, I would recommend you learn both Java and Android at the same time.
Here's why:
- you need to get the Android Studio tool set up anyway, and it will do a great job showing you syntax issues and recommending changes as you go. In this way you can rely on Android's developer tools to help you learn basic Java.
- the Internet is chock full of sample code for Android. You can use that as a base, deploy it to a device, change it around, deploy it to a device (or emulator) again, and so on. It will give you both hope and eventual confidence when you're able to see the changes you make in Java actually reflected in an app. It makes it more fun too.
- in the end the majority of your time will be learning the Android SDK frameworks, and I was often able to use the Android documentation examples themselves to teach myself both Java and the Android platform's ins and outs.
Dive in and enjoy!

Apps developed in Android Development Kit run in non-Java supporting mobiles?

Since Android Development Kit(ADK) creates applications by writing the code in JAVA, will the app run on mobiles which don't support java.
In short will an app developed in ADK, which accepts Java code run on mobiles like OnePlus One which don't support java?
Please explain your answers a bit.
What are the other softwares in which I can create Andorid apps with other languages like C/C++?Does games like Flappy bird, Clash of Clans made in ADK or it requires some other software & knowledge of another language as well?

Categories

Resources