1. Home
  2. Computing & Technology
  3. C / C++ / C#
photo of David Bolton
David's C / C++ / C# Blog

By David Bolton, About.com Guide to C / C++ / C#

Google Android Can be Programmed in C/C++ (Sort Of!)

Thursday November 15, 2007
I spotted this on an Australian website and thought that with all the publicity about Android- Google having just released an SDK for their forthcoming open source driven mobile phone. Unfortunately the main development language is Java but as it's a Linux box, assuming you have a cross compiler that generates machine code for the ARM GNU/Linux Target it is possible to write and run C/C++ code. I haven't tried it out yet though.

That said, Google's SDK and intention for application development is only in Java (boo!). A big shame as they are offering $10 million in awards to encourage development of applications. I've a feeling though that with the low level machine being Linux that sooner rather than later, you will see applications in C especially as they run 10 to 100 x as fast as Java code! That is of course speculation on my part based on what I've seen happen on PSP and XBOX. consoles.

Comments

November 22, 2007 at 3:23 pm
(1) lollan says:

Hi,
I am a big fan of C++, not as experienced as you but I do okay.
I think that you underestimate Java. I don’t like Java, sometimes I use it but I really don’t like it.However I am pretty sure that Java is not that slow. At least not since Java Tiger

September 17, 2008 at 8:55 am
(2) shebin says:

A parasitic applications cannot be fater than native especilay the ones doing interpretation all the time

March 26, 2009 at 5:28 pm
(3) kill_gates says:

Hi everybody, I don’t know if someone is going to read this but I’m a beginner in C++ and I don’t like JAVA neither. Moreover I believe in Open Source and I hope it will kill Microsoft & Apple soon :D . So when I heard about Android I was interested a lot and I’m about to buy G1 or G2 , so I’d like to know if it will be possible to code in C++ since you assume it will work without having tested it, I would like to be sure before spending a lot of money. Thanks.
PS : Sorry if I did mistake in my comment I’m French and my English is far from being perfect

May 6, 2009 at 2:51 pm
(4) mike says:

C++ is needed to run code faster, e.g. games and not only for rendering.

If they were to disable malloc/new they can provide custom containers (with destructors) so memory is more or less automatic.

September 3, 2009 at 1:53 am
(5) wwhiphop says:

I like the open Source , i think the android must sure the programmer could deveplment in c/c++.so people coulde develpment application by the language theirselves liking.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.