Computer Draughts programs on Android

Discussion about development of draughts in the time of computer and Internet.
Sidiki
Posts: 107
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Computer Draughts programs on Android

Post by Sidiki » Wed Apr 11, 2018 19:10

Fabien Letouzey wrote:
AartBik wrote:Ideally, however, you just need a checkers GUI running on Android that supports importing third party engine binaries.
Sidiki already knows how to use my Java GUI "Hub" on Windows. I am guessing that Android is Java-friendly, so hopefully all we need is the path to the Scan directory.
Hi all,

It's true that i master now how to run hub.jar on windows.
But unfortunately, i don't know how to run it with a command directly on my ARM device.

If one of you can show me how to do it it will be very helpfull for us.

Or if it was possible to implement the binaries files into a GUI as Tim Vermeulen done for iphone https://itunes.apple.com/us/app/scan-dr ... 59384?mt=8

I know that i am importunating you but, it'snt easy to have a computer everywhere, but if you get your favory Chess or draughts game on your Iphone or your Android to spend time or do some analyses with friend it will be wonderful.

Our love for Draughts and Chess programs are much stronger than our will.

God bless you.

Sidiki----

Catherine
Posts: 129
Joined: Tue Aug 14, 2012 22:24
Real name: Catherine Bourneuf

Re: Computer Draughts programs on Android

Post by Catherine » Wed Apr 11, 2018 22:38

AartBik wrote:
Sidiki wrote:but can you tell me please how to run them on Android.
Note that these scan binaries run directly on ARM-based Android devices. In its raw form, you need to get to a command line on your device. Typically, ADB is used for this (see ADB overview). Ideally, however, you just need a checkers GUI running on Android that supports importing third party engine binaries. I added such support in my chess GUI back in 2010 (see Aart's Android UCI/XBoard page). Since I also have a 8x8 checkers GUI, I was interested in doing this a while back for checkers too. Due to the lack of a protocol standard (at that time) and the fact that most interest is in 10x10 draughts (which means I have to extend my GUI), however, I tabled the idea back then. Perhaps one of these days..... :-)

Hello, AartBik and Fabien,

This's very very intersting thing, please extend your 8x8 checkers Gui's to 10 x10.

Run a draughts of this strenght on Android will be great.

Sidiki
Posts: 107
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Computer Draughts programs on Android

Post by Sidiki » Fri Apr 13, 2018 02:27

Hi programmers,

I don't know a lot of things concerning programing, compilation and IDE. But, i thought about someone one minute ago the time i am writing these words.

"hub 1.0 and hub 2.0 are the GUI used to call the third part of respectively Scan 2.0 and Scan 3.0 on Windows, and AartBik kindly done the binaries files of Scan 2.0 and Scan 3.0, the only thing needed it's the board to call these binaries files.

So, if it's possible, can you compile hub 1.0 and 2.0 from .jar to .apk, Android extension, because the .jar programs don't work on Android environment.

Because Fabien said that with hub on Android, thing will be solved.

Thank again to all for taking time for us others fallen in love of draughts & chess and draughts & programs.

Sidiki.....

Fabien Letouzey
Posts: 275
Joined: Tue Jul 07, 2015 07:48
Real name: Fabien Letouzey

Re: Computer Draughts programs on Android

Post by Fabien Letouzey » Fri Apr 13, 2018 04:50

Sidiki wrote:So, if it's possible, can you compile hub 1.0 and 2.0 from .jar to .apk, Android extension, because the .jar programs don't work on Android environment.
You are right, Java does not work on Android after all! It never crossed my mind since, as I understand, Android is itself using Java technology.

You will probably find thousands of users in the same case by searching "Java Android" or "JAR Android". Here is one among many:
---
Even though Android uses Java, it does not support executing JAR files on Android devices. However, you can use emulators to do this which are not available on Google Play Store but are available from the developers' website. I have provided the source link and download instructions are available there.
---
https://www.wikihow.com/Get-Java-on-Android

Sorry, but it seems that you will have to jump through more hoops.

Fabien.

AartBik
Posts: 92
Joined: Wed Mar 11, 2009 01:30
Location: Mountain View
Contact:

Re: Computer Draughts programs on Android

Post by AartBik » Fri Apr 13, 2018 06:54

Android devices run Dalvik bytecode, in the early days on the Dalvik Virtual Machine or, from Android 5.0 (Lollipop) forward, on ART (Android RunTime).

Although class files and, by extension, jar files can be translated to Dalvik bytecode, it is a misconception to think that any Java GUI that runs on e.g. Windows will automatically run on Android. The lifecycle of an Android application and display programming are just very different (see here for more information on how to write Android applications).

So, besides the uncertain route of using emulation, I am afraid you really need something like Checkers for Android with third engine support.

Sidiki
Posts: 107
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Computer Draughts programs on Android

Post by Sidiki » Fri Apr 13, 2018 14:33

AartBik wrote:Android devices run Dalvik bytecode, in the early days on the Dalvik Virtual Machine or, from Android 5.0 (Lollipop) forward, on ART (Android RunTime).

Although class files and, by extension, jar files can be translated to Dalvik bytecode, it is a misconception to think that any Java GUI that runs on e.g. Windows will automatically run on Android. The lifecycle of an Android application and display programming are just very different (see here for more information on how to write Android applications).

So, besides the uncertain route of using emulation, I am afraid you really need something like Checkers for Android with third engine support.
Hi

Understood, please, wê will wait for this tool. Please, Who would be kind to do it for us.
It can the begin of draughts engine on Android like it's the case with chess.

Sidiki.

Yves
Posts: 27
Joined: Sat Feb 20, 2016 14:00

Re: Computer Draughts programs on Android

Post by Yves » Sun Jul 15, 2018 13:13

:)
AartBik wrote:Attached you will find a statically linked version of scan3.0.

Yves
Posts: 27
Joined: Sat Feb 20, 2016 14:00

Re: Computer Draughts programs on Android

Post by Yves » Sun Jul 15, 2018 13:13

Yves wrote::)
AartBik wrote:Attached you will find a statically linked version of scan3.0.


Please, tell me the procedure in detail to install scan30_android.
Thank you

Sidiki
Posts: 107
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Computer Draughts programs on Android

Post by Sidiki » Mon Jul 16, 2018 15:08

Yves wrote:
Yves wrote::)
AartBik wrote:Attached you will find a statically linked version of scan3.0.


Please, tell me the procedure in detail to install scan30_android.
Thank you
Hi Yves,
Have you read carefully all the last post?
Itsn't possible actually. A GUI is needed to do it.
No one has done this GUI for Android yet.

Sidiki.

Post Reply