Playing unity from a button in an Android Studio application? - android-studio

I am building an app with a few buttons.
One of those buttons is supposed to open a unity application I created that includes Vuforia.
After exporting unity-vuforia and turning it into an AAR file, I can't seem to create a new module in Android Studio with it as a library.
It says that the roots are wrong.
I'm new to Android development and would like to know how to integrate a unity-vuforia app to a button.
When the button is clicked the unity-vuforia should be opened.

Related

New Image asset dialog does not open in android studio 3.1

Be informed, we are encountering a freak error in our android studio ide since a week. Whenever we right click "res/" folder and click new image asset, the new image asset dialog just does not open up. We tried opening it in different android projects but everywhere the IDE just stands still not opening any dialog. We are at loss as where this problem could be. Is there a need to upgrade to new android studio perhaps ? Any guidance on this issue would
be appreciated.

Editor Opens main.dart on Save

Have a flutter web project being developed using Android Studio and something has changed recently which is now causing Android Studio to open up the file main.dart in the editor pane whenever a file is saved while the project is running in chrome.
Say the project is made up of two dart files: main.dart and example.dart and I have only the file example.dart open in the editor. I then click run 'main.dart which causes the application to launch in chrome browser. If I then make a change in example.dart while the app is running and save the file, the main.dart file is automatically opened in Android Studio's editor pane and gets the focus. This is forcing me to have to switch back to the example.dart file each time I want to make another change to it.
Not sure if it is Android Studio doing this or flutter itself as part of its hot reload functionality. Or maybe something I clicked on by mistake making it do this?
Did a flutter upgrade and the issue has now gone away so maybe the problem was somewhere in flutter web's Hot Reload functionality.

Unable to set Launcher Icon in Flutter Project in Android Studio 4.0.1

I am trying to set launcher icons for Android through New > Image Asset and I don't see the option anymore. I believe this is a recent change in Android Studio as I used to do it until a few months ago by right-clicking the res folder to add New > Image Asset. How do I set the icons in Android Studio 4.0.1?
I wanted to see if Resource Manager would be of any help but it remains stuck with a message "Waiting for build to finish..."
You can follow this link if trying to change the icon of your app:
https://stackoverflow.com/questions/43928702/how-to-change-the-application-launcher-icon-on-flutter
I had the same problem and ended up creating a new empty native android project for just creating the launch icons. And then I just copied them to my Flutter project.
(After creating the icons via the resource manager, you can right click on them and clicking "show in explorer" will lead you directly to the folder. So it is easy to copy and paste from there on.)

android studio layout textbox not show on mobile app when running

I am developing a mobile app in Android Studio, using page layout.
I have created a profile page, it contains an image and two buttons. So my doubt is if I add a textbox above the image, it is successfully created, but when I run my app the textbox is not visible.
How can I solve that?

Visual Studio publishing to app store with Xamarin

I can't find any documentation on how to publish your app to the app store from Visual Studio? Is this a case of having to use Xamarin Studio once you are ready to submit your app?
It seems a bit odd that xamarin gives you the opportunity to use Visual Studio but then has absolutely no instructions on how to create a bundle to submit your app to the app store..
Any tips on how to do this with Visual Studio would be great.
As far as I know, there's no way of submitting to AppStore (or even TestFlight) from VS.
I believe that you can only submit builds to the App Store using Xcode or Application Loader. Both Mac programs.
Personally I make a release build in Visual Studio, and then click the 'Show IPA File In Build server' button.
If the buttons greyed out, right-click your iOS solution, select properties. Then go to 'iOS IPA Options' and check 'Build ad-hoc/enterprise package (IPA)'
Then I go to my Mac and start up Application Loader and drag the IPA file there.

Resources