Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ale_gia · May 29, 2014 at 09:59 AM · androidintegration

can I add activities to an exported unity-project into a Google-android project???

Hi I've just started using unity so I don't know it very well my question is: I am creating a project with unity , the project consists of a human rigged model that has to move following given inputs. I know that I can export a unity project into eclipse using the function << Google android project >> but the point of my question is once I have exported the project in eclipse- android can I add other activities??? My goal would be that to create an Android app where in a window there is the rigged model created with unity and in an other window there are other android functions??? is it possible and how ???

thanks for your answers and I hope I've been clear :-)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Catlard · May 29, 2014 at 10:16 AM

It seems like you want part of the screen to be a Unity Activity, and you want another part to be another android app. You can do this, I've seen it done, but you'll need to modify your android project in Eclipse, as you've said. I'm not sure. Then, to communicate between Unity and the Android app, you can use AndroidJavaObjects and AndroidJavaClasses. I'm not sure exactly if this is what you want to do, but it sounds like it.

EDIT: So, let's imagine that you want your app to take up half the screen on a mobile device. In that case, you'll need to do three things:

1) Modify the Native Unity Activity in the classes.jar file to take half the screen. 2) Modify either another activity to launch Unity when it starts, or start the other activity from a unity activity, to take up the rest of the screen.' 3) Create a class (or classes) that extend the Native Unity Activity class in order to help your unity activity communicate with the rest of your java project.

It's complicated, so I won't try explain everything here, but if you want to talk about it, we can chat about it (email me at sgbraunstein@gmail.com). The information you'll need to start is all here:

http://docs.unity3d.com/430/Documentation/Manual/PluginsForAndroid.html

Although to be honest, it took me a while to figure out what all of that means.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ale_gia · May 29, 2014 at 11:21 AM 0
Share

Thanks that's exactly what I want too realize  a part of the app must show the unity activity and another part must work an android app. Thanks for your answer 

avatar image aeroxr1 · May 29, 2014 at 01:09 PM 0
Share

i'm interested too in this argument, could you suggest me any guides or tutorial? :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Facebook Integration for Android Game 1 Answer

How to pass data from Unity Scene to Android Activity 1 Answer

Ads adding problem! 1 Answer

Question about Network and NetworkViewID 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges