Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   IL-2 Sturmovik (http://forum.fulqrumpublishing.com/forumdisplay.php?f=98)
-   -   Control IL2 from android tablet (http://forum.fulqrumpublishing.com/showthread.php?t=38317)

John'Mad'Doe 01-25-2013 10:40 PM

Control IL2 from android tablet
 
Edit: new adress = version 1.03 = http://www.mediafire.com/?ed4h47rblkqfsc4


Hello !

I present you what I’m working on : it’s an application running on android tablet or smartphone to control IL2


Plane
http://images4.hiboox.com/images/111...1cb0fd41c3.gif

Engine
http://images4.hiboox.com/images/111...cafa67271e.gif

Views
http://images4.hiboox.com/images/111...f8ba2273f5.gif

Map
http://images4.hiboox.com/images/111...f06d2459de.gif

Bombing
http://images4.hiboox.com/images/111...a0a6d0356c.gif







Installation:

I do not have an Android Market account, you have to install the application manually .
The simplest way is to send the .apk file as an attachement to your email and read the mail from your tablet.
First of all make sure your Android device can install software outside of Android Market (Settings → Applications and check option labeled Unknown Sources). If you want, you can uncheck it after the installation.

Read also the file named devicelink.txt that is in your IL2 instalaltion folder.

nic727 01-26-2013 12:24 AM

Beau boulot!!!

Artist 01-26-2013 07:27 AM

Fantastique!

John'Mad'Doe 01-26-2013 10:44 PM

Merci Nic727 et Artist

MaD88 01-27-2013 06:32 AM

Very Nice - a 1st step.
After some time we probably will have something similar to the old touchbuddy profiles or even better?!
I'd like to see this on playstore or here.

John'Mad'Doe 01-27-2013 01:27 PM

Hello

I didn't knew touch buddy but that's the same idea.

The main difference is that here the program communicates with IL2 via the devicelink procedure. It's not a keyboard emulation.

All keys are not available, only those provided by the DeviceLink. On the other hand, the program has access to the information sent by IL2: speed, heading, altitude, flap positions, ...

You can find my program for test, (it has a limited time life of about 1 month) , here: http://www.mediafire.com/?968yot5j01t9mgn

I have to find how I will make it avalaible on an android store (probably it won't be google play store)

PS: remember it's for a tablet with a resolution of 800 x 480

MaxGunz 01-28-2013 06:34 AM

This uses bluetooth or a cable?

Pfeil 01-28-2013 02:18 PM

It probably uses Wifi. Using a LAN setup is the easiest method because Devicelink communicates using UDP.

John'Mad'Doe 01-28-2013 05:14 PM

Yes , it uses WIFI

Extreme_One 01-28-2013 06:54 PM

Looks great!
I'm looking forward to the English version.

I have struggled in the past (long, long ago) to get Devicelink working so I hope there will be some good English instructions even an idiot can follow :)

Will it work OK on a tablet with higher resolution (mine is 1280x800) ?

MaxGunz 01-28-2013 08:58 PM

I have devices that use USB CDC (Arduino) but am network-illiterate. I need to get some other things done before going back to trying to talk devicelink with that and one of those is bluetooth module.

I have a library that's supposed to let me talk to COM with C++ and have from a member here C++ devicelink code but haven't got the time to sit and work that out -just yet maybe for weeks- and I've seen another possible path using Java. The BT does some Wifi so maybe I will have another alternate route once I get that working.

It just bothers me that CDC can set up a COM port that I can see in a console window and hyperterminal and various standard apps yet can't seem to address in a simple way like I could before XP. It's there. Windows knows it. Why should I need a library at all? I should be able to stream a COM channel that's already set up, directly!

Oh well. I'll climb that hill soon enough.

If you ever want to play with Arduino, let me know. I'll set you up with links, etc, and if I can be any help then I'll do my best there too.

John'Mad'Doe 01-28-2013 09:17 PM

My next priority will be to do the translation in english.

After , to make the application to match any size of screen it's a lot of work and it will take some time. but I will do it.


To make devicelink running is quite simple , you have to add 2 lines in the conf.ini and you have also to know the IP adress of the computer that is running IL2.

John'Mad'Doe 03-11-2013 01:42 PM

Hello

My application to manage IL2 from an android tablet (or smartphone) is now ready.

You can find it here: http://www.mediafire.com/?yzb468bjvpb77n5

If you need information to configure IL2 to allow the communication with an other device , have a look to the file named DeviceLink.txt in your IL2 folder.


John

Tex-Twil 03-13-2013 08:21 AM

Can you post updated screenshots? I'm curious and I don't have a Android tablet :) I was working on an iPad version but I never really finished :(

John'Mad'Doe 03-13-2013 03:03 PM

I have updated the pictures.

As you can see it's quite different of your application.

I had plan to add some gauges , but I don't have to much time to do it , so it won't be in this version.

John

Tex-Twil 03-13-2013 03:05 PM

Quote:

Originally Posted by John'Mad'Doe (Post 499441)
I have updated the pictures.

As you can see it's quite different of your application.

I had plan to add some gauges , but I don't have to much time to do it , so it won't be in this version.

John

cool.

how do you handle the "map" view? Where do you get the map picture from?

John'Mad'Doe 03-13-2013 03:11 PM

For the map , my strategy is that the user does it's own snapshot and places it in a folder on the cloud (I use dropbox for example)

You enter the adress of this snapshot on the first tab (connection)

Tex-Twil 03-13-2013 03:12 PM

Quote:

Originally Posted by John'Mad'Doe (Post 499443)
For the map , my strategy is that the user does it's own snapshot and places it in a folder on the cloud (I use dropbox for example)

You enter the adress of this snapshot on the first tab (connection)

ok, thanks Will the app be available on Google Play ?

John'Mad'Doe 03-13-2013 03:48 PM

no, I don't have an Android Market account, you have to install the application manually .

You can find the file here: http://www.mediafire.com/?yzb468bjvpb77n5

The simplest way is to send the .apk file that is in the zip as an attachement to your email and read the mail from your tablet.

First of all make sure your Android device can install software outside of Android Market (Settings → Applications and check option labeled Unknown Sources). If you want, you can uncheck it after the installation.

Tex-Twil 03-13-2013 03:49 PM

Quote:

Originally Posted by John'Mad'Doe (Post 499448)
no, I don't have an Android Market account, you have to install the application manually .

You can find the file here: http://www.mediafire.com/?yzb468bjvpb77n5

The simplest way is to send the .apk file that is in the zip as an attachement to your email and read the mail from your tablet.

First of all make sure your Android device can install software outside of Android Market (Settings → Applications and check option labeled Unknown Sources). If you want, you can uncheck it after the installation.

I was just asking for the Google Play to see the number of people who downloaded/bought the app ;)

MaxGunz 03-13-2013 03:52 PM

Is there a minimum version/memory/etc android to run this?
I don't have android but been looking for a flimsy excuse to get a cheap one. :)

Artist 03-13-2013 05:42 PM

On Android 3.2 it says "outdated version" and won't run :(


Any reason for a minimum version, John?


Artist

John'Mad'Doe 03-13-2013 09:30 PM

Well sorry for that Artist , the reason seems to be that I haven't made the tests required before uploading the application...

It should work now. No need to download the last version 1.02 which is only to have the version displayed.

To answer to MaxGunz , It runs on this cheap tablet who has 1 Go memory and is android 4.0:
http://www.frandroid.com/actualites-...-pas-lacheter/


runs also on my smartphone under android 2.3.

JG27_PapaFly 03-25-2013 09:10 PM

Hi John,

I've installed the app. It works brilliantly offline, but when I'm online, or even when I try to host an online session, I get following error:

An error has occured in sub:
main_vvvvvvvvvvvv1 (java line: 2490)
java.lang.NumberFormatException:
Invalid double: "Ki-84-Ib"
Continue?


I have to end the app then. Same error occurs when i try another plane.

John'Mad'Doe 03-26-2013 09:29 PM

Hello PapaFly

Normally the devicelink fonctionnality doesn't work on line. May be that's the problem.

You need a mod to use it on line.
You could try the mod Devicelink 2.2 from Fireball for HSFX 6 , you can find it here: http://www.242sqn.com/phpBB2/viewtop...765dc7ef82c53c


Let me know if you use a mod , because I haven't test online , may be I will have to test this.


John

JG27_PapaFly 03-27-2013 08:22 PM

Hi John, I was using an unmodded 4.11. Too bad devicelink doesn't work online.

Artist 03-27-2013 09:19 PM

There's a reason for it: Otherwise you'd be able to create a 'flight assistant' system, reading the telemetric data and 'optimizing' the control input.

John'Mad'Doe 03-27-2013 10:30 PM

it should work on line also with the mod I told you.

AdrianKhor123 08-20-2015 07:18 AM

Thanks for sharing guys, have a nice day :)


All times are GMT. The time now is 05:48 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.