Re: JAVAFX on ANDROID

2013-10-13 Thread Niklas Therning
For PlatformLogger et al you can probably use the compatibility lib we have
been using for jfx78+RoboVM: https://github.com/robovm/robovm-jfx78-compat

Den lördagen den 12:e oktober 2013 skrev Tomas Brandalik:

 I think that PlatformLogger initialization in CssHelper was causing
 problems. I had to write one. Not 100% sure though I will look at it when
 I'm back in the office. (Or you can comment out css processing in the
 node.) I was able to run without font then.

 -Tomas


 On 10/11/2013 06:22 PM, Tom Schindl wrote:

 On 11.10.13 18:10, Matthias Hänel wrote:

 Hi Tomas,


 today, I took the time to investigate a little more time on this.

 1. I build an entirely new openjfx78 build for android
 2. starting this gave me several errors that lead me to the
 conclusion that I need a java6 openjfx
 3. based on openjfx78 I ported it back to java6 (adapted gradled
 scripts, and tons of java source code)
 4. Now it's almost running on an 18th android. All libraries are firing
 up until the CssStyleHelper
 is called with a static call to createStyleHelper.

 That looks like the font stuff is not in jfx78. That's why new Font
 returns with null and therefore

 On OS-X font stuff is definately there in jfx78, but the low-level font
 stuff is loaded using reflection (at least this was the cause on robovm)!

 Tom





Re: JAVAFX on ANDROID

2013-10-13 Thread Rafal

On 11.10.2013 18:53, Richard Bair wrote:
How much time do you think it would take community designers to 
develop this?
RoboVM for iOS I think is basically at this stage, where they've got 
something up and running to the point of being able to do performance 
analysis and looking for bugs. It has been a several month process 
with stops and starts. Tom and the others working on RoboVM might be 
able to give a better estimate.


I don't understand one thing.
If you honestly encourage community to make a such big effort as 
developing, adjusting and maintaining JVMs on the two leading mobile 
platforms, you don't have any illusions that Oracle VM on android will 
be released in the next 2 years. :/
Otherwise, if such community's VM will come in blood, sweat and tears 
and be usable and Oracle announce own VM, then all this community's 
effort be for nothing and pointless.



Sorry for my English.


--
Best Regards
Rafal


Re: JAVAFX on ANDROID

2013-10-13 Thread Felix Bembrick
Perhaps having more than one JVM on iOS/Android implementation is good for
JavaFX as a whole?


On 14 October 2013 10:06, Rafal rafal...@gmail.com wrote:

 On 11.10.2013 18:53, Richard Bair wrote:

 How much time do you think it would take community designers to develop
 this?

 RoboVM for iOS I think is basically at this stage, where they've got
 something up and running to the point of being able to do performance
 analysis and looking for bugs. It has been a several month process with
 stops and starts. Tom and the others working on RoboVM might be able to
 give a better estimate.


 I don't understand one thing.
 If you honestly encourage community to make a such big effort as
 developing, adjusting and maintaining JVMs on the two leading mobile
 platforms, you don't have any illusions that Oracle VM on android will be
 released in the next 2 years. :/
 Otherwise, if such community's VM will come in blood, sweat and tears and
 be usable and Oracle announce own VM, then all this community's effort be
 for nothing and pointless.


 Sorry for my English.


 --
 Best Regards
 Rafal



Re: JAVAFX on ANDROID

2013-10-13 Thread Tom Eugelink


On 2013-10-14 01:06, Rafal wrote:

If you honestly encourage community to make a such big effort as developing, 
adjusting and maintaining JVMs on the two leading mobile platforms, you don't 
have any plans that Oracle VM on android will be released in the next 2 years. 
:/
Otherwise, if Oracle announce own VM, then all this community's effort be for 
nothing and pointless.


Open source done in the spare time by people with a full time job usually never grows much 
bigger than a nice but not too complex library; layout engines, testing frameworks, a web 
framework, that kind of stuff. Because as a project grows in size and complexity, so do the 
(number of) issues and the time required to provide support. That usually is the point where 
either a company is started (projects like Maven and Gradle) or the project gets corporate 
funding usually by that a corporation allows some developers to spent worktime on 
it (Apache, Eclipse, and Java  JavaFX is getting there).

A full fledged port of a JVM to a mobile platform cannot be carried in spare 
time, it can be showcased (which it has), but to make it production worthy one 
or more corporations needs to put their weight behind it.

My 2 cents,

Tom