Running windows program on android

Wine 3.0 lets you run Windows programs on Android

By Matt Hanson 23 January 2018

Take MS Paint wherever you go

Wine (also known as Wine Is Not an Emulator) is a popular piece of software that allows people to run Windows programs on other operating systems, particularly Linux and macOS, and it is now available for Android as well.

CodeWeavers, the company behind Wine, released a commercial version of Wine for Android, named CrossOver in 2016.

However, it remained in an early alpha testing stage, and was never fully released.

However, Wine 3.0, is now available, and it can be installed via an APK file onto Android systems, with the app running a full-screen Windows display – including the Start menu – when the app is opened.

Remember, it’s not an emulator

The APK file, which can be downloaded from the Wine HQ website, needs to be installed as an unknown source, rather than getting it from the Google Play Store. Check out our guide on how to install APK files for more information on how to do that.

At the moment the app supports audio and basic graphics, but not Direct3D, which many programs, especially games, need to use. However, Direct3D 10 and 11 support will hopefully be coming later this year.

So, Wine on Android is a bit limited at the moment, but it’s early days. As the name is keen to remind you, Wine is not an emulator, just a compatibility layer, so for the best results you’ll want to use an Android device with an x86 Intel processor (such as a tablet or Chromebook).

If your Android device uses an ARM processor (pretty much all smartphones do), then Wine uses the open source emulator QEMU.

This adds a layer of complexity, but for now it’s an impressive feat to get Windows programs running on Android devices, and users can look forward to future versions that add new features and iron out the kinks.

Запускаем Windows-приложения на Android через CrossOver

Разработчики из студии CodeWeavers выпустили инструмент CrossOver, который сближает операционные системы и Windows. Теперь на компьютерах, планшетах и даже смартфонах с процессорами x86 по управлением ОС от Google можно запускать классические приложения Windows. Мы протестировали эту утилиту и составили свое небольшое мнение о ней в этой статье.

Содержание

Примечание: утилита CrossOver работает на устройствах под управлением Android и Chrome OS, которые обладают процессорами с архитектурой x86 — это чипы Intel или AMD. Поэтому на большинстве аппаратов с ARM-чипсетами запустить приложения от Windows не получится. Автор статьи тестировал CrossOver на ноутбуке ASUS с процессором AMD и операционной системой Remix OS последней версии.

Что такое CrossOver для Android

Разработчики из CodeWeavers известны тем, что они выпустили утилиты CrossOver для Linux и macOS для запуска на этих ОС приложений от Windows. Утилита CrossOver основана на ПО с открытым исходным кодом под названием Wine. По сути своей CrossOver и Wine — это инструмент для виртуализации, который создает эмулируемую среду Windows для запуска соответствующих приложений.

Читайте также:  Минус операционной системы linux

Эмуляция возможна только на процессорах x86. Чипсеты с архитектурой ARM не поддерживаются, так как код программ Windows не может выполняться на них, а простого конвертера до сих пор нет. Грубо говоря, CrossOver работает только на компьютерах с Chrome OS, а также на планшетах с Android, где в качестве процессора выступает Intel Atom, например — ASUS ZenFone.

Как установить CrossOver для Android

На данный момент утилита CrossOver проходит бета-тестирование в Google Play. Там вы можете записаться на тест программы, либо можно скачать установочный APK-файл утилиты напрямую с Трешбокса и установить на своем гаджете (определенные антивирусами угрозы — просто особенность приложения, связанная с эмуляцией).

На хромобуках установка более сложная. Необходимо сначала отправить Chrome OS в режим рекавери, там активировать режим разработчика, перейти на канал Developer — Unstable в самом браузере, а потом включить поддержку Android-приложений в настройках и скачать соответствующую программу из Play Store.

Установка и работа с приложениями

Запустив установленное приложение CrossOver, перед нами предстает что-то вроде виртуального рабочего стола Windows со своим меню «Пуск». На этом рабочем столе появятся все иконки установленных вами Windows-приложений. Программа лучше работает в полноэкранном режиме, но это касается только Remix OS и Chrome OS. Самый простой способ установить программу с Windows — воспользоваться внутренним установщиком. Разработчики решили упростить этот процесс, добавив собственный установщик. Нажимаем на надпись “Install Application” в верхнем правом углу. Откроется окно с текстовым полем, выпадающим списком и кнопкой “Install”.

Сразу же CrossOver предлагает установить Steam — каталог игр. Можно просто нажать кнопку “Install” и установка начнется. В выпадающем списке предлагаются другие приложения или игры от Windows, которые точно работают на Android. Если снять галочку с пункта “Only applications”, то в выпадающем списке будет огромное количество игр и приложений от Windows, которые устанавливаются одним кликом. Но будут ли они работать — не гарантируется.

В текстовом поле можно искать приложения или игры по названию. Вот так выглядит Steam после установки на Android:

Большинство игр из Steam не будут работать из-за того, что CrossOver поддерживает только DirectX 9, но разработчики утилиты обещают добавить поддержку версий 10 и 11. Некоторые люди, например, смогли запустить Half-Life и классический Team Fortress, но для этого пришлось отключить полноэкранный режим и активировать программный рендеринг вместо OpenGL:

Конечно, играть в таком эмуляторе практически невозможно из-за низкого FPS и некорректной работы мыши. Контроллер вряд ли будет работать нормально. Но факт того, что игры запускаются уже говорит о чем-то.

Также вы можете установить браузер от Windows для интернет-серфинга в таком эмуляторе. Например, Firefox 45 устанавливается и работает без проблем. Даже расширения функционируют.

Есть возможность установить полноценный офисный пакет. Например — OpenOffice, LibreOffice или Microsoft Office 2007 / 2010.

Более того, желающие могут установить Adobe Photoshop. К сожалению, на моем устройстве многие приложения и игры выдавали ошибки, но автору похожей статьи с Android Police удалось запустить «тяжелый» пакет работы с графикой от Adobe.

Итоги

На текущем этапе разработки CrossOver для Android и Chrome OS — это очень нестабильная и во многом неудобная утилита, которая хоть и может запускать многие Windows-приложения, но все же делает это плохо. На планшетах и смартфонах работать с такой эмуляцией практически невозможно, но для ноутбуков на базе Chrome OS или Remix OS — это отличная возможность использовать приложения от Windows.

В будущем CrossOver может стать лучше в плане возможностей и совместимости. Так как Google сама собирается адаптировать Android для гибридных планшетов и компьютеров (десктопный режим Android 7.0), то можно сказать, что CrossOver ждет большое будущее. Главное — реализация. Будем надеяться, что разработчики из CodeWeavers доделают свою утилиту до хорошего состояния.

How to Run Windows Apps on Android with Wine 5.0

Wine is one of my must-have tools for working on Linux. If you do not know Wine, it is a compatibility layer between Windows and Linux, that bridges the gap between the two and allows Windows applications to work on Linux; almost magically.

Читайте также:  Bat файл центра обновления windows

While Wine has been available since a long time, but the 3.0 release brought an important update — support for Android. That means, now you can easily run Windows apps on Android. And through this post, I will tell you just how to do that.

Let’s take a look.

Wine + 6 Other Apps To Run Windows Programs On Other Platforms

Make no mistake, Windows is still the most used (and popular) operating systems for desktops and laptops. So. Read more

Prerequisites

Wine for Android is a simple app, and you only require an Android device with a working Internet connection to download and run it.

You can also download the required app (Wine’s APK) and Windows apps (.exe’s) on your computer and transfer them to your mobile device in case your smartphone does not have a working network connection.

Download & Install Wine

Please follow the below instructions to get started with this tutorial:

  1. Open “https://dl.winehq.org/wine-builds/android/” in your mobile.
  2. Download the latest available release per your device platform. For instance, I downloaded “wine-3.2-arm.apk” on my phone, but you may need its “x86” version if your device has an Intel CPU in place of an ARM CPU (as mine).
  3. Open the downloaded APK, and install Wine app on your device.

Try out Wine on Android

After you have downloaded and installed Wine on your device, it is time to experiment with it. Just follow the below steps to continue with this guide:

  1. Open the Wine app on your Android device. If you are starting it for the first time, it will take some time to extract its files and set up the Windows environment, but from the second time onwards, it will be much faster.
  2. Once Wine is loaded, you will see a classic desktop of Windows, which instantly reminds me of Windows 98. You may click the Start button, and to your surprise, you will see just two options there, suggesting there is a lot more to do.

Download apps & tools

As most of us own a device powered by an ARM CPU, we can only run WinRT apps using Wine on Android. The list of supported WinRT apps is small, as you must have guessed by now; and you can access the complete app list on this thread on XDA Developers.

However, if you are fortunate enough to hold a device with an Intel CPU like ASUS ZenFone 2, you have a lot more choices to pick from the supported apps.

That is because you can run Win32 apps, i.e., x86 aka 32-bit apps using Wine for Android.

If you need to install a Windows app inside Wine, the process is as simple as below steps:

  1. On Wine’s desktop, click on the Start button.
  2. Choose Control Panel and go to “Add/Remove Programs” from the options.
  3. A new window will open. Click the Install button in it.
  4. A file dialog will open. Here you can browse and select the app (.exe) you wish to install.
  5. You will see the program’s installer. Follow the on-screen instructions provided by the installer and install the app as you install any other program in Windows.

Alternatively, you can use Wine Command Prompt to install or run a program inside Wine. Just type the full path of the executable in the command prompt, and Wine will show the program’s installer.

Читайте также:  Помощник по входу windows live для чего

Afterward, simply follow the on-screen instructions and at the end of the process, the program will be installed. And you will see its entry under Start menu.

For example, if you are trying to install Notepad++ (with “npp.exe” as its file) and its installer is present in your device’s Downloads directory, which is located at “/sdcard/Downloads”. Then you must type “/sdcard/Downloads/npp.exe” inside the command prompt window.

Troubleshooting issues

Following are some of the most common Wine issues and some instructions on how to troubleshoot them.

1. Wine won’t install on my Android device.

If you can’t install it, maybe the downloaded APK file is corrupt. In this case, just download it fresh and try installing it again. While installing Wine, if you are getting a message saying “not allowed to install unknown apps“, then you need to change a setting.

You can do it by heading over to Settings > Security and then toggling on “Unknown sources”.

If you are not using Google’s flavor of Android, then this setting may reside at a different place — just search for it in Settings or google the procedure for your device. After you have changed this option, you can try installing this app — it shall work.

2. Wine won’t start/run on my Android device.

If you are able to install Wine but not able to start or run the same, then there is some issue with your device — probably a compatibility problem.

Also, please note that Wine 3.x (up to 3.2 at the time of writing) does not support Android 8 (Oreo) platform. That said, Wine 3.x on Android 8 will always get stuck on the “Setting up the Windows environment…” screen.

Moreover, during my tests using Android Emulator, I found that Wine 3.2 is not working on emulated devices — for both ARM and x86 versions. Though the devices are assigned enough resources yet I could not reach the classic desktop on Wine using an emulator. That being said, please know that Wine 3.2 may not work on AVD (Android Virtual Device).

3. Soft aka on-screen keyboard is not showing up.

Wine 3.2 is not yet complete in terms of features and this bug is one of the proofs of its imperfection. That being said, you will need a physical keyboard (like Bluetooth keyboard) to work with Wine. It is because soft keyboard won’t show up on the screen in case you wish to type something, and the only workaround is to plug in a hard keyboard.

4. I cannot choose a directory or a file in the file dialog.

Windows default setting needs you to double-click an item (say a file or folder) to open it, as you must have done in Windows. Since we are talking about touch-enabled devices, we need to double tap to emulate a double-click. And I found it does not work very well, at least for now.

That’s why, it is good to use a physical keyboard and use its navigation keys to navigate through windows, options, directories, etc. or choose a file or folder.

10 Apps To Connect Your PC to Android Devices

When you’re a vivid smartphone user, you may need to connect your device to your PC or Mac. Read more

That’s all about using Wine on Android

Hope you are successful at installing and running Windows apps on Android using Wine. If you get into problems, you can ask for a solution on WineHQ Forums, and you can also write a comment below to ask me directly.

Оцените статью