I want to integrate unity game in mobile Application on specific button action in App, I already integrate it in Android, in Android I need to open specific activity on Button Action. But in iOS, there need to lots of stuff work and manage to initialize unityView in appdelegate, in iOS is there specific way to open view controller for playing unity game.
I follow below references for integrate unity game in an iOS application,
- https://github.com/blitzagency/ios-unity5
Related
I have created a unity game and I wanted to use that as a view in my native android application and I wanted to pass some data from android to unity view or call some methods of unity from android.
I want to make a mobile app, something like a food ordering app with a game inside. So whenever user ordered a meal there, there would be a button to open the unity game embedded inside without opening a new separate application for the game. Can this be done?
Yes you can do this , here is the official repo on how to use unity as a library for android and ios native builds . https://github.com/Unity-Technologies/uaal-example .
We have some PWA's for flight, hotel booking, etc. we want to add it as a separate section and open it in our existing Android and IOS apps(Native apps).
we are trying to achieve the same behaviour as in native app
Hi you can use a webview in your native apps. It is possible for IOS and Android but you will never have the same "feeling" as a native app. For further information check the documentation of Google and Apple:
Android Web View
iOS WebKit
There should be a button in the unity application that will launch the android app, similarly there should be a button in the android app that will let us switch back to the unity app.
Please helo me to perform this task , since im a newbie, i dont know how to do it :(
You would have to use plugins. The same principal works for iOS apps, and Windows Phone beta apps. You can communicate back and forth from within the View and View Controllers into your Unity Apps via plugins.
Here is a good start:
http://docs.unity3d.com/Documentation/Manual/PluginsForAndroid.html
Have 3 flash games that I would like to integrate in a menu / list in an android app. So when the user selects the game from the list, the game starts with help of android flash player.
Is it best to do this with WebView or is there something better? I do not know where to place the flash games to get them in my compiled application.
Is there a good tutorial?
Thanks!
Adobe flash provides one good way: You can build an air for android app. Use that to create your menu and compile all three games into your AIR app.
Here are some tutorial links about it and also about publishing AIR for Android applications:
AIR to Android, PART1: http://gotoandlearn.com/play.php?id=123
AIR to Android, PART2: http://gotoandlearn.com/play.php?id=124
Publishing AIR for Android applications: http://gotoandlearn.com/play.php?id=131
I don't believe the android flash player can be launched from an intent yet, so using the Java Android will not solve it (for now)
And a third approach you mentioned, ought to work - using a webview.