World Draughts Forum

It is currently Tue Apr 24, 2018 01:24

All times are UTC+02:00




Post new topic  Reply to topic  [ 21 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Wed Apr 11, 2018 19:10 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
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----


Top
   
PostPosted: Wed Apr 11, 2018 22:38 
Offline

Joined: Tue Aug 14, 2012 22:24
Posts: 129
Real name: Catherine Bourneuf
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.


Top
   
PostPosted: Fri Apr 13, 2018 02:27 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
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.....


Top
   
PostPosted: Fri Apr 13, 2018 04:50 
Offline

Joined: Tue Jul 07, 2015 07:48
Posts: 242
Real name: Fabien Letouzey
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.


Top
   
PostPosted: Fri Apr 13, 2018 06:54 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
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.


Top
   
PostPosted: Fri Apr 13, 2018 14:33 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 21 posts ]  Go to page Previous 1 2

All times are UTC+02:00


Who is online

Users browsing this forum: Baidu [Spider] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited