sushihangover / SushiHangover.BlueStacks.Addin

Xamarin Studio Addin to allow the use of BlueStacks Player for debugging
MIT License
2 stars 0 forks source link

Xamarin Studio Addin for BlueStacks

Use the BlueStacks Android Player as a debug target for your Xamarin Studio Android projects.

Xamarin's My Shoppe app runnning in debug mode on BlueStacks

My Shoppe

Whack (ActionScript / Starling) compiled using with Xamarin.Android & PlayScript and running on BlueStacks. Game runs at 60 fps on BlueStack without breaking a sweat...

Whack GIF

Note: Windows is not currently enabled in this project, please post your vote

Why:

BlueStacks = Android API 19 Device

When activated as an ADB debug device within Xamarin Studio, BlueStacks will be listed under "Physical Devices" and displayed as "Samsumg SM-G900F (API 19)"

Andriod Project Build Setting:

This public version of the Addin does not currently automatically toggle the Use shared Mono runtime on/off during activation. You will need to do this manually otherwise you will get a deployment failure when you try to deploy a debug version of your app.

Xamarin Studio - Addin Manager

Xamarin Studio - Tools Menu

The menu item for the BlueStacks activation will change state based on the following:

Active BlueStacks as a debug device:

Remove BlueStacks as a debug device:

A Xamarin.Android project is not open and active:

Note: The BlueStacks menu item will be disabled

BlueStacks is not installed:

Select the menu item to go to BlueStacks to download their Player.

Note: BlueStacks does not have to exist in the typical /Applications or ~/Applications install locations. As long as OS-X Finder's location service can find it, it can be used.

"My Shoppe" Example on BlueStacks:

How well does your app scale? "My Shoppe" does it the right way...

Original application size on BlueStacks:

Select "Tablet" size for the app:

Tablet size "My Shoppe":

Disclaimer:

I have no connection to BlueStacks other than as an end-user and this is not a direct endorsement for their product (but I am a happy end-user...).

License:

The MIT License (MIT) (see LICENSE.md)