Import android project in Unity - android

I have an android project which I created in eclipse. Is it possible to import it in Unity for further development. If yes, please let me know the steps

No. Unity is only for developing Unity projects.
You can create external libraries (in Eclipse) which can be called from within Unity, but you cannot edit or develop them from within Unity.

you can create plugin for communicate with Unity. C# can call java method. You can read this link for create a plugin: http://docs.unity3d.com/Manual/PluginsForAndroid.html

Related

I want to create a native Android and iOS app including Unity AR

The fact is that I wasn't able to find documentation or tutorials about how do this. The app is completely native and it just contains one or two views that needs the Unity AR. In this case I should create the projects from Unity and edit them from XCode and Android Studio? Or I can create it and then add the Unity part?
I guess you can find information here :
For Android you have to follow 3 steps :
Build your Android project (select Android platform and enable
Google Android project)
Import your built project to Android Studio
Do what you want inside Android Studio and build
For iOS I guess it's quite the same process using views but never went into it.

How do I integrate a unity android app into an existing app using android studio?

I have a unity android application which I exported from unity, I wish to integrate it into my existing application using android studio. How would I go on to do this?
I have the same problem, the first thing I did was export the unity project by File->Build & Run->select android then switch platform->tick google android project->export after that just import the project into Android Studio and it will handle the build, by then you can access the source code. Currently I'm still working on it to meet my specific needs.
wow. Such a hard task, you can try opening up apk and implementing it in your project. But this is gonna be so painful and you might not get it to work if you are not experienced!!!

Can i use android studio to write libgdx games?

I am trying out libgdx for the first time. My game is only going to be made for android.Can i use android studio to write libgdx games?
Yes you can use Android Studio for libgdx projects.
https://github.com/libgdx/libgdx/wiki/Gradle-and-Intellij-IDEA
You "can" use android studio for libgdx projects, but I personally would use IntelliJ IDE. It is the base for what Android Studio is built from but is more suited for Java specific applications. Android Studio will do the job, but is being tailored more towards android specific development.
https://github.com/libgdx/libgdx/wiki/Gradle-and-Intellij-IDEA
Download the package builder and create a gradle project to import into IntelliJ.
https://libgdx.badlogicgames.com/download.html

Can I run C++ in Android Studio

I'm almost completely new to Android development, but can I use the new Android Studio to edit and run C++ code? Will I be able to import and use a C++ library with Android Studio in order to make an Android app?
Although it might be possible with some wrapper like explained here : android studio with cpp (not sure I did not try it) I suggest you to use Java as a programming language. You can also make your android application with unity by using C# or JavaScript if its a game.
Of course you can. Use android NDK for this: https://developer.android.com/tools/sdk/ndk/index.html

How to import Scringo library in Xamarin or Android Studio?

i'm new to android development and i'm using Xamarin and Android Studio ... i have created my Hello World App successfully and i have downloaded Scringo SDK.
in it's tutorial he is using eclipse.
so in tutorial he said to right click in eclipse workspace and click on import.
but i'm using Xamarin and i can't find Import option.
please if anyone has any idea tell me :). thanks and sorry for my English.
http://cdn1.scringo.com/resources/v1/import.jpg
where i can find this import option ?
You would need to create a C# to Java binding project. It is very easy but might need some tweaking depending on the Java library.
http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)/

Categories

Resources