mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
The way we get local path here is different for now. Maybe we should get it from FS module in the future samples. Sample code Android:
var Image = require("image").Image;
var baseImage = Image.imageFromResource('foxie');