why c + + and java mix in android?

This topic contains 1 reply, has 2 voices, and was last updated by  Joe Davis 5 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30832

    brewswang
    Member

    Hello, everyone, I the andriod have java project using the PowerVR Insider, SDK, I hope to get advice, thank you。

    #35742

    Joe Davis
    Member

    We use C++ in the SDK as it is the most commonly used language when writing graphics applications for our graphics cores and it is easier to write high performance code with than Java. Additionally, C++ is much more portable than Java for mobile OSs.

    It’s not currently possible on Android to write an entirely native C++ application on Android (many OS features can only be accessed through Java-based APIs) . A Java wrapper layer is required to use C++ code on Android.

    Joe2012-04-16 10:43:30

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.