#1
Posted 24 December 2011 - 12:44 AM
So far I've got a build environment that requires some manual intervention. We currently need a build step that creates the uavobjectgenerator to generate synthetic uavobjects that are then used to regenerate the openpilotgcs make files. This presents a problem for cross compilation as we need uavobjectgenerator to be built for the host platform, not the target. I've yet to work out how to do this automatically so I currently need to build uavobjectgenerator on linux and copy it to my android build directory.
Currently it builds as far as OpenGL stuff in cachedsvgitem so currently I've a way to go yet. I notice that necessitas comes up in this thread and wonder if anyone else has managed to get this working more recently. I should point out that I've only tried this in Qt Creator, not the stand alone makefile...
#2
Posted 24 December 2011 - 02:21 AM
Good luck!
#3
Posted 24 December 2011 - 02:57 AM
#4
Posted 28 December 2011 - 12:17 AM
Edited by dwillis, 28 December 2011 - 12:18 AM.
#5
Posted 28 December 2011 - 12:23 AM
dwillis, on 28 December 2011 - 12:17 AM, said:
On the rawhid, (this is a guess, didn't chase it down in the code right now) that is probably the raw Human Intf. Driver (HID) that GCS uses to talk to the fw on the board with. Other than on a tablet with USB (Acer Iconia & a couple others), you are going to be talking via BlueTooth, so as a temporary measure, you could probably turn it off. Those of us with the Iconias (me
#6
Posted 28 December 2011 - 10:18 PM
#7
Posted 29 December 2011 - 12:59 AM
GCS_Android_Deployed.png 51.09K
21 downloadsThis is the GCS app installed in an android 3.2 emulator. Sadly it currently doesn't run as the deployment is missing bits...
Edited by dwillis, 29 December 2011 - 01:02 AM.
#8
Posted 06 January 2012 - 12:28 AM
#9
Posted 12 January 2012 - 11:17 PM
#10
Posted 15 January 2012 - 02:37 AM
#11
Posted 15 January 2012 - 04:20 AM
I am also working with Trevor and Mike to help you make this port much easier regarding the UI.
#12
Posted 15 January 2012 - 08:44 PM
#13
Posted 30 January 2012 - 11:37 PM
#14
Posted 31 January 2012 - 11:03 PM
#15
Posted 10 February 2012 - 09:35 PM
SC20120210-211226.png 29.5K
11 downloadsDoesn't look like much but I'm happy and it's QML loaded by the core plugin.
#16
Posted 10 February 2012 - 10:31 PM
I also attached the test.qml file to the review request with an example how the binding used.
#17
Posted 11 February 2012 - 12:13 AM
#18
Posted 20 February 2012 - 11:28 PM
SC20120220-230914.png 84.01K
15 downloadsAs a proof of concept, I think this isn't bad...
#19
Posted 21 February 2012 - 03:50 AM
The big motivation behind QML for us is android, here's the plan as I hope you see it
1. A separate and stripped down core plugin for android, no menubar and load of stuff can go like the tool bar as well. It can be stripped back to the bare essentials really. The Android core will also have to support slide to change screens also but also have a way of locking them from this.
2. We really need to share as many plugins as we can and to do this, I need to convert the desktop ones to QML, Android should only need new QML if we get this right. Welcome is the test case as this is pure QML already and it is your work why we rushed this. The physical home button should always return to the welcome screen if a device has one as that is where the different screens are selected, especially on screens where sliding to change screens is locked.
Right now we have Welcome and a base Gadget called QMLView that are QML, QMLView is not yet used in the desktop GCS but it will soon when Dmytro gets back from his travels. Currently a Android GCS can be completed to 80% if we start using pure QML with that one Gadgets based off that one, we also having all the UAVOs accessible from QML already thanks to a change by Dymtro. Best to combine that work with moving the applicable Gadgets to QML to save double lifting really, I am trying to find some time to do some of this.
I will ask Steve for a new graphic design for the android home page, can you give me screen dimensions? Is there a way to change QML based on screen rotation or size yet in necessitas (this would be important for example for tablets also).
#20
Posted 21 February 2012 - 08:25 PM
dankers, on 21 February 2012 - 03:50 AM, said:
I didn't take out much to get this to work. I'm just #ifdefing bits out as I go. I'll have a look at gesture handling and have a go at prototyping a slide-to-change pager. This should result in a replacement for the mode stack tab control.
dankers, on 21 February 2012 - 03:50 AM, said:
I wondered if the back button should return to the welcome screen leaving the home button to return to the actual device home screen.
dankers, on 21 February 2012 - 03:50 AM, said:
The Galaxy S screen is 480x800 (4"). I assume it should be possible to change the QML based on orientation. Apparently rotation sends resize events so that could be used to tweak the appropriate properties of each component.



United Kingdom
United States
Australia








