The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


FX Mobilization

Posted by malenkov on June 18, 2009 at 1:01 AM PDT

My colleague has just returned from JavaOne and brought an HTC Diamond cell phone that supports JavaFX. Of course I couldn't stop but running my demos on it.

Here they are in the order as they appeared:
· Drawing Application
· Flying Letters
· Magnetic Balls
· Weather Widget
· Firework (We Salute You)
· Analog Clock
· First Layout Sample
· Drag-and-Drop Demo
· Reversi (Othello)

Those who know me will not be surprised to see the last demo. But this demo is still in progress...

The Weather Widget shows a loading error just because I did not have an Internet access at that moment. But let me assure you, the demo shows weather pretty well...

So far I failed to run the Controls demo although this sample runs on the mobile emulator without any problems. Well, I'll look into it later...

Original post here.

Related Topics >> Programming      
Comments
Comments are listed in date ascending order (oldest first)

Hi Sergey, the stack does not have JSR 256 for now - that is why you got the NoClassDefFoundError for SensorManager API.

Looks good for a prerelease runtime. Loading time is great, but I'd expect better performance in the animation for such device.

hi Sergey, i think, before you create your own demo for last app (reversi/othello), you can try mine (reversifx) that i was published the source code here http://jfxstudio.wordpress.com/2009/05/29/reversifx-javafx-mobile-reversi/ thank you :)

@hakimrie: Your algorithm is too easy for me. You can try the following ReversiFX: http://javafx.com/samples/Reversi/ It was developed by my colleague Pavel. We are going to compete our algorithms.

@opinali: As I know the performance improvement is the main task now.

Hey Sergey, I too bought the HTC phone. You should use the scribe located at the bottom right of the phone. I'm amazed at your demos they to run pretty fast. I noticed you didn't run the calculator demo which was oddly slow...(that came with the demos) And I didn't know why. I hope this isn't a stupid question, but is there a way to create apps in JavaFX to run like the game on the phone called 'Teeter' located at programs/games. I really like the forced feedback response when the ball hits a wall. The phone is a pretty phone. (blue tooth, wifi, video, camera, forced feedback, 2 browsers (IE, opera), JavaFX 1.2, GPS, pdf and office mobile. -Carl

@carldea: The scribe is too small. I didn't want to hide a phone by my hand. I ran only my own demos to ensure that they work as expected. JavaFX does not have Mobile API (only Desktop and Common). But it allows to use Java files. So you can use this ability if underlying JavaME has necessary API extensions.

@carldea: I tried to use SensorManager API, but JavaFX on HTC Diamond throws NoClassDefFoundError. I'll investigate...