Board index FlightGear Development

(FOA)Flightgear on Android (1.0)

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Re: (FOA)Flightgear on Android

Postby gigirock » Tue Jul 24, 2012 7:29 am

Hi all , I'm pretty new to this forum as writer but I used it as "news collector" for years... since 1.9 release.

I'm normally using fgfs on my pc in ubuntu or xp but I'm very interested to the Android version. I have Galaxy SII and I can test all the things,

What really don't understand is where to get the 'running' version of the application.

Do I have to compile by myself ? Is there an 'official' unstable release ?

Thanks for your answers and ... have nice flight !

GiGiRock
gigirock
 
Posts: 6
Joined: Wed Jul 18, 2012 8:31 am

Re: (FOA)Flightgear on Android

Postby spitfirebruce21 » Tue Jul 24, 2012 7:39 am

Hello, thanks for your interest, we will be releasing a build shortly as the first Alpha. At the moment however, this is not active, our main developer, Blusnowman is taking a break. Until he gets a new phone.
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android

Postby Hooray » Fri Jul 27, 2012 9:55 am

Just so that you know: I just finished building and running FG 2.8 on an old (5 years) computer, and the default settings left FG basically unusable (even when using just the ufo), the largest impact had disabling the AI traffic/model system (which was causing severe stutter, which also showed up in the system monitor) and ALL the shader support. Starting FlightGear in a no-scenery location gives me about 350 fps in 800x600, starting at KSFO is well above 60 fps (frame throttling disabled), usually between 50-90 fps and frame spacing between 35-45 ms.

So, I'd suggest to customize your FG version accordingly and keep these settings disabled for starters.
There are probably a number of other opportunities to customize FG without touching the C++ code (even though optimizing the C++ code would definitely seem like a good idea in my opinion). Custom texture packs and custom-built scenery tiles were already mentioned. Making use of frame throttling and adjusting the FDM update interval (model-hz) would also seem to make sense.

I didn't check the specs of the Android phones, but I'd also make sure to set up the threading mode properly.

In other words, even if you don't have access to an Android phone, there are certain things that can be done, and which would help (using an Android emulator via VirtualBox would be another option). Just customizing FG for limited targets like netbooks would also help, and if you have an old computer with an nvidia 6x/7x generation card, you could just as well try running FG.

EDIT: http://wiki.flightgear.org/index.php?ti ... le_devices
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12090
Joined: Tue Mar 25, 2008 8:40 am

Re: (FOA)Flightgear on Android

Postby spitfirebruce21 » Sun Jul 29, 2012 8:36 am

Blusnowman will be getting the Samsung Galaxy Nexus. This will be the flagship/first officially supported device for FOA project!

FOA team
Seb, Lac and MOS (blusnowman).
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android (1.0)

Postby spitfirebruce21 » Sat Aug 04, 2012 8:08 am

01010011 01101111 01101111 01101110 00100000 01110100 01101000 01100101 00100000 01000110 01001111 01000001 00100000 01010000 01010010 01001111 01001010 01000101 01000011 01010100 00100000 01010111 01001001 01001100 01001100 00100000 01000110 01001001 01010010 01010011 01010100 00100000 01000100 01000101 01000010 01010101 01010100 00100000 01001111 01001110 00100000 01010100 01001000 01000101 00100000 01000111 01000001 01001100 01000001 01011000 01011001 00100000 01001110 01000101 01011000 01010101 01010011 00001010 00001010 01010011 01001111 01001101 01000101 01010100 01001000 01001001 01001110 01000111 00100000 01000010 01001001 01000111 00100000 01001001 01010011 00100000 01000011 01001111 01001101 01001001 01001110 01000111 00100000 00111101 00100000 00110000 00110111 00101111 00110000 00111000 00101111 00110010 00110000 00110001 00110010 00001010 01010011 01000001 01010110 01000101 00100000 01010100 01001000 01000101 00100000 01000100 01000001 01010100 01000101 00100000

:P :P :D :D
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android (1.0)

Postby chrysilis » Sat Aug 04, 2012 8:11 am

I get it :) Looking forward to trying it myself!

kthxbai :)
Last edited by chrysilis on Sat Aug 04, 2012 8:27 am, edited 2 times in total.
chrysilis
 
Posts: 2
Joined: Mon Jul 09, 2012 2:28 am

Re: (FOA)Flightgear on Android (1.0)

Postby spitfirebruce21 » Sat Aug 04, 2012 8:19 am

That was very fast! Great job!!!

FOA team.
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android (1.0)

Postby spitfirebruce21 » Sun Aug 05, 2012 12:14 am

Anybody want some more technical information.

The port is done with BluSnowMan downloading the complete source code from http://gitorious.org/fg then making modifications based off Hooray recommendations from the wiki. then he did a lot of crazy hackery/modifications to remove the MP and Voice as-well as 3D clouds and perform general optimization. I then used NDK to finish off it and get it to compile.


In case anybody missed it "The Galaxy Nexus will be the first officially supported device."

Thanks from BluSnowMan
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android (1.0)

Postby m1ndgames » Sun Aug 05, 2012 10:30 am

Hi!
Nice project! :D

I would like to participate as beta tester...

Device Name: Google Galaxy Nexus GSM
Rooted(Yes/No) : Sure ;)
Stock Rom/Custom Rom(Yes/No) : Stock Jelly Bean (4.1.1)
Custom Kernal (Yes/No) : No
Other Modifications : None
FASTBOOT(Yes/No) : Yes
Other details(be descriptive please) : I dont have much eye candy installed.
Knowledge of Android Modifications (if you don't have much experience then i'll still help but you might have to wait a second) : Im not really deep into android coding/debugging, but with a little help i can most certainly set up any debugging/logging tool thats needed.
Agree to disclaimer (You must agree to this to be part of this project) : of course!
FGjobs - Virtual Airlines & Jobs Service Tool
m1ndgames
 
Posts: 22
Joined: Fri Aug 03, 2012 8:43 am
Location: Düsseldorf, Germany
Callsign: m1ndDE
IRC name: m1ndgames
Version: 2.6
OS: Windows 7 / debian

Re: (FOA)Flightgear on Android (1.0)

Postby spitfirebruce21 » Sun Aug 05, 2012 11:14 am

Flightgear wiki page:
http://wiki.flightgear.org/Flightgear_O ... t_Progress

Thanks M1ndgames, we will get onto it. Thanks!

The team again!
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android (1.0 Out Now)

Postby spitfirebruce21 » Tue Aug 07, 2012 11:12 am

Hello once again, we did say something was going to happen today! Here it is!!!

ALPHA 1.1

PLEASE NO TROLLS

How to get it:
Fill out this Google Docs form to express your interest in the project, we will get back to you with the files ect that you will need!
From the team at FOA we would like to thank Blusnowman for his amazing efforts and dedication to this project, Its his birthday today, he chose this day to release it!
The gitorious will be up this weekend.

FOA!
We hope you are enjoying news of this project!
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

Re: (FOA)Flightgear on Android (1.0)

Postby m1ndgames » Fri Aug 10, 2012 10:08 am

posted my info to google docs... note that i cant find a model number in info on my galaxy nexus... theres only "Galaxy Nexus"
FGjobs - Virtual Airlines & Jobs Service Tool
m1ndgames
 
Posts: 22
Joined: Fri Aug 03, 2012 8:43 am
Location: Düsseldorf, Germany
Callsign: m1ndDE
IRC name: m1ndgames
Version: 2.6
OS: Windows 7 / debian

Re: (FOA)Flightgear on Android (1.0)

Postby nebkat » Sat Aug 11, 2012 2:10 pm

The scenery should have multiple quality levels. Many devices with Tegra 3 and Mali-400M GPUs can really handle a lot :D
nebkat
 
Posts: 4
Joined: Mon Aug 22, 2011 3:00 pm

Re: (FOA)Flightgear on Android (1.0)

Postby Hooray » Sat Aug 11, 2012 2:55 pm

The problem is that the FG scenery is "statically compiled", i.e. it is pre-tesselated and not created dynamically - thus, different levels of detail for scenery, require different scenery builds. Only some features can be toggled dynamically.

Without redoing the whole FG scenery engine, the simplest workaround might be hacking the osgDB plugin simgear that loads the scenery, to dynamically reduce the polygon count based on some runtime attributes - so that the scenery build could be highly detailed, but the runtime could decide to skip some details if requested.
The current scenery scheme was never designed for this, so this may look weird in the beginning ;-)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12090
Joined: Tue Mar 25, 2008 8:40 am

Re: (FOA)Flightgear on Android (1.0)

Postby spitfirebruce21 » Sat Aug 18, 2012 7:44 am

OK guys...

Do we use 2.8 or continue developing with 2.4, please take into account difficulty and speed etc...
Projects: YMBD, YJST
Horizon Flightgear Hangar!
Flightgear On Android
I may have a house on the ground, but my Home is in the sky.
User avatar
spitfirebruce21
 
Posts: 753
Joined: Thu Mar 03, 2011 6:39 am
Location: Adelaide outskirts (YMBD)
Callsign: ADL-FTW
Version: 2.6
OS: Windows 7 profesiona

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest