Android Development Language JAVA Or C++M?

2017-11-21 4:36 am
So basically the problem is that i am a Computer Engineer and in my University they make us work around C/C++ and i wanna learn to develop Android Apps for Extra Skills now the problem is that Java is the preferred language of Android and i can't risk to start learning another language its like learning German and then French seems easy for some but not for all.
So can i make Android Apps using C++?Is C++ used in newer Apps?

回答 (2)

2017-11-21 6:48 am
✔ 最佳答案
Yes - stick to C / C++
Use an independent "cross platform" development system.

Marmalade, Unreal engine or any of many others..

You can create an app once in C then compile for any supported target - android, ios, windows, mac, linux, consoles etc. etc..

http://docs.marmalade.shop/display/MD/Home
https://www.unrealengine.com/en-US/what-is-unreal-engine-4

To me it's idiotic to use a language that cannot be used on other devices / systems in similar classes. Each device or OS makers own language or development system either ties you in to a certain system or locks you out of others (or both).

A language that can work on all means you only write once and have one source to maintain, no matter how many how many target devices you build for.
2017-11-21 5:17 am
There's the NDK, where you get to use C++. However, only in addition to Java, and it's strongly recommended not to use that unless really necessary.

In my humble opinion, don't even try to go down that road. Take a look at Java, and developing a basic app, and I'm pretty sure you won't find it as hard as German at all. Java and C++ are cousins. Maybe somewhat distant cousins, but cousins nonetheless.


收錄日期: 2021-04-24 00:48:47
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20171120203609AARNQl2

檢視 Wayback Machine 備份