• Want to start on Android development, where to start?
    4 replies, posted
I've been considering developing for Android for quite some time now as I pretty much do everything else on it. I wouldn't be asking this if I simply wanted to develop applications on it as I'd just learn Java straight away but I want to also get into ROM development in the future. The Android OS itself is written in C but third party libraries are written in C++ I've heard (heard, so probably wrong) C++, or was it C, is similar to Java. Or vice versa. So my question is: Start with Java and develop apps, then learn C/C++ Start with C/C++ then move onto Java. Any websites, books or tutorials to help kick start learning would be greatly appreciated too.
I recommend that you learn how Android is set up and functions by starting off with Java. It's extremely hard to find information and support for Android development in C/C++, so it'll be much easier for you to learn about it by developing for it in Java. The C/C++ API is similar to the Java API (or so I've heard), so you won't lose much by learning the Java way first. I suggest you look through the following documents: [list][*][b]Installing the SDK[/b] - [url]http://developer.android.com/sdk/installing.html[/url] [*][b]Application fundamentals[/b] - [url]http://developer.android.com/guide/topics/fundamentals.html[/url] [*][b]Activity fundamentals[/b] - [url]http://developer.android.com/guide/topics/fundamentals/activities.html[/url][/list] Also note that Android 2.3 is the first version that supports applications only written in C/C++. So, even if you start developing in C/C++, you'll also be writing a Java back-end most of the time.
Relating to the subject, any good books to start learning Java? I had some lessons back in 9th grade, but I think (memory a bit hazy) we used some library thingie that made everything stupidly easy and I've forgotten most of it. I figured it'd be a nice way to sink 3 months since I can't find a summer job anywhere and looks like I'll be getting an Android phone soon. Also, how exactly does one transition from Java on the desktop on doing Java for Android?
I dont know any good books for learning Jave but once you have the basics nailed, i recommend [url]http://pragprog.com/titles/eband3/hello-android[/url] and the SDK docs to learn the android stuff. This is how i learned
[QUOTE=nikomo;29401012]Relating to the subject, any good books to start learning Java? I had some lessons back in 9th grade, but I think (memory a bit hazy) we used some library thingie that made everything stupidly easy and I've forgotten most of it. I figured it'd be a nice way to sink 3 months since I can't find a summer job anywhere and looks like I'll be getting an Android phone soon. Also, how exactly does one transition from Java on the desktop on doing Java for Android?[/QUOTE] learn how the Activity life cycle works, read a ton of documentation on developer.android.com, and debug with either the emulator, or plug in your phone and have it upload your program to the phone and start debugging when you compile.
Sorry, you need to Log In to post a reply to this thread.