How do I deploy an Android MonoGame game to an Android phone? - android

I recently created a game using XNA 4.0 for Windows Phone. I was able to deploy it to a physical device running Windows Phone 8 by connecting the device to my computer and deploying the project's XAP file with Windows Phone Application Deployment 8.1. I've now ported the game to MonoGame for Android and want to deploy it to a Samsung phone running Android 4.4.4. I was wondering how I would be able to do this. I see that the project folder contains an APK file rather an XAP file. Can I deploy this to the device in order to deploy the game? If so, what program would I use to do this?

Actually you need a Xamarin liscence to deploy your Android Monogame application.
Check out this example that shows what you want to do.
https://developer.xamarin.com/guides/cross-platform/game_development/monogame/introduction/part1/
Xamarin Studio actually cost 25 $ / month.
But I found that they have a free starter edition if you want to look up. It seems to not be limited.
https://xamarin.com/starter

Related

How to run Android Studio Emulator in Windows 10?

I am new to Android Studio and the purpose I use Android Studio is just for the emulator, not to develop apps etc. I am using the latest Android Studio version 3.6. I want to do mobile performance testing on LoadRunner, and I will use Android Studio Emulator instead of real device. The problem now is, I only can run the emulator in the Android Studio apps itself. The performance test tools will need the emulator exe path. May I know if I can run the emulator in a standalone apps? Such as run in Windows in exe file? So far I know, when I downloaded the Android SDK package, it doesn't include the emulator.exe file.
I tried searching and tried the suggested solutions already but not working. May I know what's the problem here?
Using emulation to record mobile applications
You do not have to use Android Studio
I would suggest something like genymotion for personal use.
https://www.genymotion.com/fun-zone/

Is it possible to build Android apps directly on an Android device?

I'm developing an android project on my laptop using android studio, But I have plenty of time in bus or submarine that I dont access to my laptop, but my rooted android tablet is available, I have installed termux app On my tablet, so I have access to linux environment from my phone, but using this app it is not possible to build android studio projects.
One solution is to install one linux distribution like ubuntu on tablet, and install android studio, but running a complete linux on android tablet is too lazy.
There is an app on google play, apk builder but it couldn't build my project and there is some error.
So my question is :
Is There Any Way To Build Android Studio Project On Android Device?

what is the available emulator to test android automotive app ( not android auto )

I am developing car launcher for infotainment system (not Android Auto) using AOSP (Android Open Source Project).
How can I test that application?
It is not possible to emulate Android Automotive at the moment. As you can see here, there's rumours of Google working on an emulator, but no news so far:
Two commits in the AOSP source code indicate the release of the emulator. One states the tag for Android Automotive image folders has been created, and the other mentions a test for “oc-car-m1″ emulator images. This likely stands for “Android Oreo Maintenance Release 1″, possibly being Android 8.1. If this is the case, then it’s likely we may see an emulator around the time Android 8.1 launches.

Xamarin Android Player - Failed to initialize device

I just installed Xamarin Android Player and installed some of the devices as you can see on the following image but I get the error: "Failed to initialize device..." when I try to launch some of the virtual devices.
Any idea on how to solve this?
Xamarin Android Player is good, but it is discontinued. Your issue could be with the version of VirtualBox or a broken android image. Check do you use VirtualBox 5.0.4. You could also try to re-download the android image for the problematic device.
But you have alternatives.
Genymotion is good, but it's paid. There is a free personal version, but if used by a professional, this violates the licence:
"This license is granted to the end user only and exclusively in
connection with personal use, the end user is an individual, and not a
professional, who downloads the application for personal and private
needs, excluding commercial and professional environment."
Visual Studio Android Emulator plays very nice. And allows you run both Android and Windows 10 Mobile apps with full hardware acceleration without any tricky solutions.
Visual Studio Emulator for Android is a component of the
cross-platform tools available in Visual Studio and will be installed
during a custom Visual Studio setup when you select Cross-Platform
Mobile Development, then Common Tools and Software Development Kits,
and then Visual Studio Emulator for Android.
I had the same problem and solved it using the following steps:
Install a newer version of virtual box.
go to virtual box choose your device (nexus 10 in my case).
go to settings > system > motherboard > base memory.
make base memory lower than 2 gigabytes.
start xamarin android player after that and it worked for me.

Deploy Qt 5 QML application to a real Android device

There are many tutorials how to build an application with Qt for Android.
So I do it in these steps:
Installed Android SDK, NDK, JDK and Apache Ant
Installed Qt 5.2 for Android
Created simple QML application.
Configured virtual device from AVD Manager
I tried to run it and it bringed up Emulator window with my app. OK, it is going as expected.
Now I want to run it on real device. I have Samsung Galaxy Tab 2 10.1 P5100 so I enabled USB debug and connected it to PC.
But when I run the application, in "Select Android device" window I see only emulator, not real device.
So how can I run the application on real device?
The easiest way is to follow the documentation
http://doc-snapshot.qt-project.org/qtcreator-2.8/creator-deploying-android.html
Using Ministro to manage having apk to deploy on real device is especialy a good point.
Hope it helps.

Categories

Resources