Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Just Curios

OP OkieKokie

18th July 2014, 12:12 PM   |  #1  
OP Junior Member
Thanks Meter: 3
 
13 posts
Join Date:Joined: Jul 2014
What are the advantages of developing android apps in C++ rather than in JAVA?
23rd September 2014, 11:39 AM   |  #2  
Junior Member
Thanks Meter: 1
 
14 posts
Join Date:Joined: Sep 2014
The biggest advantage for me is that you can have a shared codebase between the platforms.

The best example is creating cross-platform games. If you write the game code in C++ you only need to write a small amount of code specific for current platform (e.g. Android) that just runs your C++ code right after the start.

Just take a look at Cocos2D-x game engine project (its open-source) and how many platforms it supports because its written in C++.
1st November 2014, 07:36 AM   |  #3  
Account currently disabled
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2014
More
What are the advantages of developing android apps in C++ rather than in JAVA
Quote:
Originally Posted by OkieKokie

What are the advantages of developing android apps in C++ rather than in JAVA?

Mainly for game. Most of the mainstream 3D engine are written in C/C++, so for game developer, they can make use of the current c/c++ 3D engine directly without rewriting from scratch.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes