Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8244789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:58:19+00:00 2026-06-07T21:58:19+00:00

I made it by following steps: Integrating Unity and Eclipse . Can I call

  • 0

I made it by following steps: Integrating Unity and Eclipse. Can I call functions (that I created with JavaScript or C# in Unity) with the Android SDK or NDK and the other way around? There are an interface between UnityPlayer and Android SDK or NDK?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:58:21+00:00Added an answer on June 7, 2026 at 9:58 pm

    For whom this may help:

    As @Oli mentioned, you can communicate between Unity and an Android app by using this method:

    UnityPlayer.UnitySendMessage("GameObjectName1", "MethodName1", "Message to send");
    

    In order for this method to work, you must follow this guide: http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse

    You can also call Java methods from Unity C# file – http://docs.unity3d.com/Documentation/Manual/Plugins.html

    You can use this code in order to start the Unity app after you add it as library to your Android project:

    UnityPlayer mPlayer = new UnityPlayer(this); // Put your activity object here
        int glesMode = mPlayer.getSettings().getInt("gles_mode", 1);
        boolean trueColor8888 = false;
        mPlayer.init(glesMode, trueColor8888);
    

    Hope this helps anyone… I’ve researched a lot until I found this information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a sitecollection and in AAM I have made following settings for
In my Fortran code I made the following call to the dnrm2 routine: d
I recently made my own Javascript library and I initially used the following pattern:
I've been following the guide microsoft have made for setting up the Kinect SDK
I am trying to compile the following software so that I can step through
I have made a jquery functions which suppose to do 3 steps onload it
I've made following protection for my variables: $ad_title=htmlentities($ad_title); $ad_title=mysql_real_escape_string($ad_title); $ad_title=stripslashes($ad_title); But every time I
I made the following simulation: byte[] b = new byte[256]; for (int i =
I made the following graph with the command boxplot(tstats,names=c(expression(bar(x)),,med(x),,mad(x),, var(x),,expression(q[.75]-q[.25]),), col=rep(c(wheat,chocolate),5)) abline(h=2,col=steelblue,lty=2) abline(h=-2,col=steelblue,lty=2) title(main=normal
Very simple question, I made the following program : #include <stdlib.h> int main(int argc,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.