WineHQ

Android: Difference between revisions

(Initial Android page)
 
(Add section about x86 Applications)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Wine On Android =
= Wine On Android =
Wine on Android was first presented at [[FOSDEM2014]].
Wine on Android was first presented at [[FOSDEM2014]].
=== Installing ===
Download the apk from our Download site and search the Internet for "install apk android" for instructions how to sideload the apk on your Android version.
=== Building ===
In case you want to build it yourself, the raw steps are:
# Download the current Android NDK and SDK
# Use build/tools/make_standalone_toolchain.py in the NDK to create a toolchain
# Add the toolchain to your PATH and correctly set ANDROID_HOME and NDK_SYSROOT
# Crosscompile libpng and freetype for Android using the toolchain
# Run Wines configure with correct parameters for --host= and --with-wine-tools= as well as information how to find libpng and freetype built before
# After a successful "make" the apk can be found in dlls/wineandroid.drv/


=== Keyboard Issue ===
=== Keyboard Issue ===
Currently the Keyboard won't pop up by itself if you would expect it. A workaround is to install the app [https://github.com/klausw/hackerskeyboard "Hacker's Keyboard"] from F-Droid or the Play Store. Then open its settings and check "Use permanent notification". Now, when running wine you can swipe down the notification area to enable the keyboard when you need it.
Currently the Keyboard won't pop up by itself as you would expect it. A workaround is to install the App [https://github.com/klausw/hackerskeyboard "Hacker's Keyboard"] from F-Droid or the Play Store. Then open its settings and check "Use permanent notification". Now, when running Wine you can swipe down the notification area to enable the keyboard when you need it.
 
=== Debugging ===
Search the Internet how to get adb shell access for your Android device. In that shell you can then run "run-as org.winehq.wine" to get into the correct folder and become the same user as the App files expect. Under files/ you can then set debug channels (e.g. ddraw) by writing them into a file called winedebug: "echo ddraw > files/winedebug".


=== Bugs ===
=== Bugs ===
Line 9: Line 24:
* [https://bugs.winehq.org/show_bug.cgi?id=44245 44245]
* [https://bugs.winehq.org/show_bug.cgi?id=44245 44245]
* [https://bugs.winehq.org/show_bug.cgi?id=45060 45060]
* [https://bugs.winehq.org/show_bug.cgi?id=45060 45060]
=== Running Windows/x86 Applications ===
See [[Emulation]]


=== See also ===
=== See also ===
* [https://wiki.winehq.org/images/d/da/Wine-on-android-fosdem-2014.pdf Presentation slides]
* [https://wiki.winehq.org/images/d/da/Wine-on-android-fosdem-2014.pdf Presentation slides]

Latest revision as of 16:57, 2 July 2018

Wine On Android

Wine on Android was first presented at FOSDEM2014.

Installing

Download the apk from our Download site and search the Internet for "install apk android" for instructions how to sideload the apk on your Android version.

Building

In case you want to build it yourself, the raw steps are:

  1. Download the current Android NDK and SDK
  2. Use build/tools/make_standalone_toolchain.py in the NDK to create a toolchain
  3. Add the toolchain to your PATH and correctly set ANDROID_HOME and NDK_SYSROOT
  4. Crosscompile libpng and freetype for Android using the toolchain
  5. Run Wines configure with correct parameters for --host= and --with-wine-tools= as well as information how to find libpng and freetype built before
  6. After a successful "make" the apk can be found in dlls/wineandroid.drv/

Keyboard Issue

Currently the Keyboard won't pop up by itself as you would expect it. A workaround is to install the App "Hacker's Keyboard" from F-Droid or the Play Store. Then open its settings and check "Use permanent notification". Now, when running Wine you can swipe down the notification area to enable the keyboard when you need it.

Debugging

Search the Internet how to get adb shell access for your Android device. In that shell you can then run "run-as org.winehq.wine" to get into the correct folder and become the same user as the App files expect. Under files/ you can then set debug channels (e.g. ddraw) by writing them into a file called winedebug: "echo ddraw > files/winedebug".

Bugs

There are some bugs on newer Android Versions, which might not be fixed soon.

Running Windows/x86 Applications

See Emulation

See also

This page was last edited on 2 July 2018, at 16:57.