Re: javafx on android - weird box within regions

2014-01-28 Thread Stephen F Northover
Hi Christoph, We don't build or run Android so it's a pain to recreate the problem. Please confirm the bug on a desktop platform. It might likely be the bug David is talking about. Also, on desktop, we can't do more than guess at a problem without code: https://wiki.openjdk.java.net/displ

Re: javafx on android - weird box within regions

2014-01-28 Thread David Grieve
https://javafx-jira.kenai.com/browse/RT-30479 is probably the issue you are bumping up against. On Jan 28, 2014, at 2:29 PM, Christoph Caks wrote: > Hi, > I have a question regarding regions on android > > it seems that all regions with a set background have some kind of white box > inside >

Re: javafx on android - weird box within regions

2014-01-28 Thread Christoph Caks
It seems the list got my attachment -.- i uploaded it here: http://de.tinypic.com/r/ou4p46/8 Am 2014-01-28 20:29, schrieb Christoph Caks: Hi, I have a question regarding regions on android it seems that all regions with a set background have some kind of white box inside (in this case it is gr

javafx on android - weird box within regions

2014-01-28 Thread Christoph Caks
Hi, I have a question regarding regions on android it seems that all regions with a set background have some kind of white box inside (in this case it is gray - its color has to do something with the background (in this case its aqua) look at the attached screenshot it is a very simple applic

Re: JavaFX on Android build (instructions)

2013-12-02 Thread Sebastian Rheinnecker
ages I want to open this project at this early stage, though, since I think it is important to have more community input. Also, I want to give a shout to the world that JavaFX on Android is not a dream. I hope many of you try out the instructions, improve them, correct them, and test your applicat

Re: JavaFX on Android build (instructions)

2013-12-02 Thread tomas.brandalik
a shout to the world that JavaFX on Android is not a dream. I hope many of you try out the instructions, improve them, correct them, and test your applications on Android. Thanks a lot to all the people on this mailinglist for telling how they were dealing with JavaFX on Android. Again, I didn&#x

Re: JavaFX on Android build (instructions)

2013-12-02 Thread Sebastian Rheinnecker
he Android packages I want to open this project at this early stage, though, since I think it is important to have more community input. Also, I want to give a shout to the world that JavaFX on Android is not a dream. I hope many of you try out the instructions, improve them, correct

Re: JavaFX on Android build (instructions)

2013-11-30 Thread Yennick Trevels
ate plugins for IDE's or maven to automatically build the Android > packages > > I want to open this project at this early stage, though, since I think > it is important to have more community input. Also, I want to give a > shout to the world that JavaFX on Android is not a

Re: JavaFX on Android build (instructions)

2013-11-26 Thread Sebastian Rheinnecker
zation with the main JavaFX repo * create plugins for IDE's or maven to automatically build the Android packages I want to open this project at this early stage, though, since I think it is important to have more community input. Also, I want to give a shout to the world that JavaFX on Androi

Re: JavaFX on Android build (instructions)

2013-11-17 Thread Jonathan Giles
IDE's or maven to automatically build the Android > packages > > I want to open this project at this early stage, though, since I think > it is important to have more community input. Also, I want to give a > shout to the world that JavaFX on Android is not a dream. > > I

Re: JAVAFX on ANDROID

2013-10-21 Thread Jonathan Giles
On 22/10/2013 7:26 a.m., Richard Bair wrote: >> 3. The Listview shows a scrollbar. That makes me believe that the control >> doesn't really know that it is running >> in embedded mode. Maybe the mouse emulation is not possible if the embedded >> mode is correcly enabled. >> Where do I enable the

Re: JAVAFX on ANDROID

2013-10-21 Thread Richard Bair
> 1. Is that mouse emulation supposed to be eliminated due to the latest > lensWindow changes? > I believe that must be handled in higher layers not in the input layer > itself. > > 2. What is the best way to fix this issue? Reimplementing the mouse emulation > is not a real good solution.

Re: JAVAFX on ANDROID

2013-10-18 Thread Matthias Hänel
Am 17.10.2013 um 17:45 schrieb Richard Bair : > Usually, file jira and attach a patch (and a unit test for expedited service > :-)) > > Richard Ok, I'll check that for the future. Actually, I am not sure how a unit test would look like for a crash fix like that ;) Matthias

Re: JAVAFX on ANDROID

2013-10-18 Thread Matthias Hänel
Hi Tomas, I am currently running a bit different openjfx than yours and got it kind of running. 1. the main difference is font deactivation. You disabled the entire CSS renderer, which I did not. I am deactivating just the font renderer. That means a lot more patching but it gives me the chan

Re: JAVAFX on ANDROID

2013-10-17 Thread Richard Bair
Usually, file jira and attach a patch (and a unit test for expedited service :-)) Richard > On Oct 17, 2013, at 8:26 AM, Matthias Hänel wrote: > > the mailerdemon striped my java file ;) > > The fixed code snippet from FXActivity.java is: > >} else { >//single tou

Re: JAVAFX on ANDROID

2013-10-17 Thread Matthias Hänel
the mailerdemon striped my java file ;) The fixed code snippet from FXActivity.java is: } else { //single touch actions[0] = actionCode; ids[0] = event.getPointerId(0); touchXs[0] = (int)event.getX(); touc

Re: JAVAFX on ANDROID

2013-10-17 Thread Matthias Hänel
Hi, I found the reason for the touch crashes on Android. It's a JNI threading error in the current implementation. We have to enqueue the touch events into the javafx dispatch thread. There is a workaround for this attached in the java source file at dispatchTouchEvent and dispatchKeyEvent. W

Re: JAVAFX on ANDROID

2013-10-16 Thread Matthias Hänel
Hi Tomas, thanks for your patch. Your way doesn't seem to be so different to the jfx78 approach except the retro-stuff ;) In the meanwhile I am pretty sure, this will not be entirely needed since DAVLIK can run java7 class code. Nevertheless, I tried your patch... Patching works. After adap

Re: JAVAFX on ANDROID

2013-10-15 Thread tomas.brandalik
I would recommend to build pango by hand first. I don't think that it is so straightforward. It has many dependencies iconv, expat, fontconfig, freetype, glib at least. After a whole day of struggling my pango build failed somewhere in the middle at "who-knows-where-it-comes-from" macro :( -wi

Re: JAVAFX on ANDROID

2013-10-15 Thread tomas.brandalik
Hi Philip, I do backport jfx8 to jfx7 and then retrolambda it to be jdk6 compatible. It sort of works ok. I suppose that it just replaces class file version since there are not used lambda expressions in jfx8 yet. Will see if that solution works when lambdas start to appear in jfx. -Tomas On

Re: JAVAFX on ANDROID

2013-10-15 Thread Matthias Hänel
Hi Tomas, I couldn't stand to merge it by hand ;) I merged the changes from RT-32802 into my backport. Unfortunately, it still crashes: 10-15 08:59:47.182: INFO/GLASS(3644): JNI call notifyTouchEvent 10-15 08:59:47.202: INFO/GLASS(3644): Window 1[0x2a41a138] isVisible=true, state=NORMAL 10-15

Re: JAVAFX on ANDROID

2013-10-15 Thread Philipp Dörfler
I might be a bit late to the party but I lately discovered something that might be useful for backporting JavaFX 8 to Java 6: > Retrolambda lets you run Java 8 code with lambda expressions on Java 7 or > lower. It does this by transforming your Java 8 compiled bytecode so that it > can run on a

Re: JAVAFX on ANDROID

2013-10-15 Thread Matthias Hänel
Hey Tomas, I've seen a check-in for RT-32802. This seems to be your fix. There are a lot of interface changes. Could you explain the changes a bit, so I can merge it by hand into my jfx678 code? Today, I merged from Stefans b111 JFX78 but it will take a while to get your changes through this w

Re: JAVAFX on ANDROID

2013-10-15 Thread Matthias Hänel
Hi Felipe, thanks for your fast answer. Unfortunately, this is not enough information for a sufficient solution ;) Maybe I am too far from gradle away in my thinking (Makefiles) to understand this one fully. I know where the sources are and I am pretty sure I can build a library by hand. Ac

Re: JAVAFX on ANDROID

2013-10-14 Thread Felipe Heidrich
Hi, I'm not familiar with the Android build process but basically this is what you need: Build graphics/src/main/native-font/fontpath_linux.c to a library called "javafx_font", that it will be loaded by PrismFontFactory.java (but used by FontConfigManager.java). This is our fontconfig binding

Re: JAVAFX on ANDROID

2013-10-14 Thread Matthias Hänel
Hi Tomas, Am 14.10.2013 um 14:31 schrieb tomas.brandalik : > Hi Matthias, > cool, I'm surprised you we're able to run it on emulator. I run on device not > on emulator for a long time. There wasn't opengl extension > GL_EXT_texture_format_BGRA in emulator. But that could have changed > o

Re: JAVAFX on ANDROID

2013-10-14 Thread Richard Bair
Hi Matthias, > The main point of irritation comes from an quite unclear position about > providing the JVM and JFX of the Java-platform. > That's why I will sumarize what I heard between the lines: > > 1. there is NO official jvm planned for iOS and Android in the near future. > 2. jfx8 is beei

Re: JAVAFX on ANDROID

2013-10-14 Thread tomas.brandalik
Hi Matthias, cool, I'm surprised you we're able to run it on emulator. I run on device not on emulator for a long time. There wasn't opengl extension GL_EXT_texture_format_BGRA in emulator. But that could have changed overtime. Regarding events: yes there seems to be a problem which I have

Re: JAVAFX on ANDROID

2013-10-14 Thread Matthias Hänel
Hi Tomas, never mind, I found the problem over here in the simulator ;) I had to activate the GPU support. So, now I had to BGRA image format for Android and now I get JFX up and running without fonts. There are two things missing: 1. fonts- here we probably need to get pango working

Re: JAVAFX on ANDROID

2013-10-14 Thread Matthias Hänel
Hi Tomas, since Tobi told me he had a similiar problem in the first place with the iOS port and he managed to run JFX8 without font. We deactivated fonts. There is some code to deactivate and after that it looks like it is starting the JFX-Application. 10-14 06:06:49.529: INFO/GLASS(1546): gla

Re: JAVAFX on ANDROID

2013-10-14 Thread Niklas Therning
opensource font stuff. > > I am sure that's not that easy ;) > Actually, I tried it but it didn't do anything in the first place. > > > > If I remember correctly I got a similar error, when I first build jfx78 > on linux. > > > > I made some experiment

Re: JAVAFX on ANDROID

2013-10-14 Thread Matthias Hänel
Hey Niklas, Am 13.10.2013 um 11:49 schrieb 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 Hehe, yes I read it in Tobi's blog post that you wrote one that's why this is

Re: JAVAFX on ANDROID

2013-10-14 Thread Matthias Hänel
Hi Tomas, thanks for your fast answer. Am 12.10.2013 um 14:04 schrieb Tomas Brandalik : > I think that PlatformLogger initialization in CssHelper was causing problems. > I had to write one. I took the compat library fro robovm. I believe this should be sufficient. But the CssStyleHelper was

Re: JAVAFX on ANDROID

2013-10-13 Thread Matthias Hänel
Hi Felie, thanks for you fast answer. Am 12.10.2013 um 01:36 schrieb Felipe Heidrich : > The 'native' font stack for Linux uses Pango (to handle complex text) and > freetype (rendering glyph images, outlines, metrics, etc). > > As long as we manage to build our freetype code on Android we sh

Re: JAVAFX on ANDROID

2013-10-13 Thread Matthias Hänel
st place. > If I remember correctly I got a similar error, when I first build jfx78 on > linux. > > I made some experiments with javafx on android by myself. > > I found the following interesting read: > http://stackoverflow.com/questions/7153989/java-7-language-features-w

Re: JAVAFX on ANDROID

2013-10-13 Thread Matthias Hänel
Hi Richard, thanks for your fast answer. Am 11.10.2013 um 18:53 schrieb Richard Bair : > As frustrating as it is, the fact is that today Oracle has no announced plans > to release any official JVM for Android and iOS. That being the case, the > biggest hurdle to getting FX on iOS and Android

Re: JAVAFX on ANDROID

2013-10-13 Thread Matthias Hänel
Hey Tom, thanks for you answer. while the OSX font stuff is there and Orcale's goal is to use the native font renderer on each platform. I am sure there must be some kind of an Android font renderer in the code. I couldn't find one until now. Another question: Since I ported you latest jfx78

Re: JAVAFX on ANDROID

2013-10-13 Thread Tobi
I absolutely agree. The point is: nobody can expect from oracle to build such a vm. But if they won't do it, JavaFX will die. Even in the embedded space where companies will use QT or HTML5 instead. Without license fees So to sell JavaFX for embedded devices oracle MUST support mobile platfo

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 a

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 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

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

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

Re: JAVAFX on ANDROID

2013-10-12 Thread 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 S

Re: JAVAFX on ANDROID

2013-10-11 Thread Felipe Heidrich
uct with a roadmap. >>>>>>> As you've noticed there are 2 launchers DalvikLauncher and >>>>>>> JavaSELauncher. Have a look at DalvikLauncher it is quite simple how it >>>>>>> launches an application. What you need to try it ou

Re: JAVAFX on ANDROID

2013-10-11 Thread Stefan Fuchs
Hi Matthias, I think you must |add the flag ||-PCOMPILE_PANGO=true to build the new opensource font stuff. If I remember correctly I got a similar error, when I first build jfx78 on linux. I made some experiments with javafx on android by myself. I found the following interesting read

Re: JAVAFX on ANDROID

2013-10-11 Thread Richard Bair
I've never seen a port of AWT to iOS or Android. Richard > -Original Message- > From: Tomas Brandalik > Sender: openjfx-dev-boun...@openjdk.java.net > Date: Fri, 11 Oct 2013 06:52:06 > To: > Subject: Re: JAVAFX on ANDROID > > COMPILE_TARGETS=android > Good,

Re: JAVAFX on ANDROID

2013-10-11 Thread rdarrylr
er: openjfx-dev-boun...@openjdk.java.net Date: Fri, 11 Oct 2013 06:52:06 To: Subject: Re: JAVAFX on ANDROID COMPILE_TARGETS=android Good, then use FX78 and you can give it a try. I have my local fork of javafx for testing DalvikLauncher. Standalone Vm for Android is not available for download.

Re: JAVAFX on ANDROID

2013-10-11 Thread Tom Schindl
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. ba

Re: JAVAFX on ANDROID

2013-10-11 Thread Matthias Hänel
>>>> On the other hand JavaSELauncher uses standalone vm which is not part of >>>>> the port. It expects that the vm is packaged with an apk. The launcher >>>>> unpacks vm, installs it, setup classpath, main class debug port etc (all >

Re: JAVAFX on ANDROID

2013-10-10 Thread Tobi
hes it . These are the 2 options which can >>>> be further extended by the community. >>>> >>>> best regards >>>> -Tomas >>>> >>>>> On 10/10/2013 06:10 PM, Tobias Bley wrote: >>>>> Tomas from

Re: JAVAFX on ANDROID

2013-10-10 Thread Tomas Brandalik
Tomas from Oracle is working on the Android port of JavaFX. He has developed a DalvikLauncher and a JavaSELauncher. So he is able to tell you (and me :)) more about that important theme „JavaFX on Android“. Best regards, Tobi Am 10.10.2013 um 16:55 schrieb Philippe TIFFEAU: Hello, Someone can m

Re: JAVAFX on ANDROID

2013-10-10 Thread Tom Schindl
6:10 PM, Tobias Bley wrote: >>> Tomas from Oracle is working on the Android port of JavaFX. He has >>> developed a DalvikLauncher and a JavaSELauncher. So he is able to tell you >>> (and me :)) more about that important theme „JavaFX on Android“. >>> >>>

Re: JAVAFX on ANDROID

2013-10-10 Thread Tobi
ed by the community. >> >> best regards >> -Tomas >> >>> On 10/10/2013 06:10 PM, Tobias Bley wrote: >>> Tomas from Oracle is working on the Android port of JavaFX. He has >>> developed a DalvikLauncher and a JavaSELauncher. So he is able to tell >

Re: JAVAFX on ANDROID

2013-10-10 Thread Tobi
omas > >> On 10/10/2013 06:10 PM, Tobias Bley wrote: >> Tomas from Oracle is working on the Android port of JavaFX. He has developed >> a DalvikLauncher and a JavaSELauncher. So he is able to tell you (and me :)) >> more about that important theme „JavaFX on A

Re: JAVAFX on ANDROID

2013-10-10 Thread Tom Schindl
avaFX. He has >> developed a DalvikLauncher and a JavaSELauncher. So he is able to tell >> you (and me :)) more about that important theme „JavaFX on Android“. >> >> Best regards, >> Tobi >> >> >> Am 10.10.2013 um 16:55 schrieb Philippe >&g

Re: JAVAFX on ANDROID

2013-10-10 Thread Tomas Brandalik
Bley wrote: Tomas from Oracle is working on the Android port of JavaFX. He has developed a DalvikLauncher and a JavaSELauncher. So he is able to tell you (and me :)) more about that important theme „JavaFX on Android“. Best regards, Tobi Am 10.10.2013 um 16:55 schrieb Philippe TIFFEAU:

Re: JAVAFX on ANDROID

2013-10-10 Thread Tobias Bley
Tomas from Oracle is working on the Android port of JavaFX. He has developed a DalvikLauncher and a JavaSELauncher. So he is able to tell you (and me :)) more about that important theme „JavaFX on Android“. Best regards, Tobi Am 10.10.2013 um 16:55 schrieb Philippe TIFFEAU : > He

JAVAFX on ANDROID

2013-10-10 Thread Philippe TIFFEAU
Hello, Someone can make a clear answer about JavaFX on ANDROID ? If it works how to use ? Otherwise the roadmap is Best Regard. This email and any attachments may contain confidential information and intellectual property (including copyright material). It is only for the use of the

JavaFX on Android: JavaSELauncher?

2013-10-07 Thread Tobias Bley
Next try :) @Oracle: which JVM uses the new JavaSELauncher class in the com.oracle.dalvik package? How to use this class to start JFX on Android? Best, Tobi Anfang der weitergeleiteten Nachricht: > Von: Tobias Bley > Betreff: JavaFX on Android: JavaSELauncher? > Datum: 1. Oktobe

JavaFX on Android: JavaSELauncher?

2013-10-01 Thread Tobias Bley
@Oracle: which JVM uses the new JavaSELauncher class in the com.oracle.dalvik package? How to use this class to start JFX on Android? Best, Tobi

Re: JavaOne: JavaFX on Android track canceled?

2013-09-25 Thread tomas.brandalik
Hi Tobi, about cancelled sessions please contact Mr. JavaOne stephen.c...@oracle.com I believe he will give satisfactory answer. best regards -Tomas On 09/25/2013 12:06 PM, Tobias Bley wrote: Hi Tomas, what happened with your JavaOne session track concerning „JavaFX on Android“ (https

JavaOne: JavaFX on Android track canceled?

2013-09-25 Thread Tobias Bley
Hi Tomas, what happened with your JavaOne session track concerning „JavaFX on Android“ (https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=7791)? Best regards, Tobi Am 11.09.2013 um 16:04 schrieb tomas.brandalik : > Hi Tobi, > project setup is straightforwar