A cross-platform framework for building beautiful natively applications.
- cross-platform: Android,iOS,Web,Desktop
- mobile-optimized widgets
- flexible style and layout
- async/await based Http client
- declarative programming
- install fanx runtime
- run build script:
sh build.sh
run demo:
fan vaseDemo
run script:
cd test/public/widget
fan WidgetTest.fwt
- add android jar:
cp AndroidSDK/platforms/android-23/android.jar env/lib/java/ext/
- build demo:
cd demo
sh build_android.sh
- generate c code
fangen -r vaseDemo
- open in xcode
open ios/vaseIOS.xcodeproj
cd demo
sh runJs.sh
Windows:
sh runJs_win.sh
Service started on http://localhost:8080/Main
cd demo
sh fogViewer.sh
sh scriptViewer.sh
- copy all .jar to fanHome/lib/java/ext/
- test3d/runJava.sh:
FAN_HOME=/Users/yangjiandong/workspace/code/fanx/env
jfan='java -Xmx512M -XstartOnFirstThread -cp '$FAN_HOME'/lib/java/fanx.jar -Dfan.home='$FAN_HOME/' fanx.tools.Fan'
$jfan Textures.fwt
- Get a browser that support WebGL
- run test3d/runJs.sh
- Go to http://localhost:8080/ with your browser.