Android runtime xaml file loading
Posted: 12 Jun 2015, 22:19
Environment latest Noesis 1.2 with Unity 4.6.
I'm trying to load a xaml file at runtime using the method in C#:
NoesisGUISystem.LoadXaml(xamlFile).
It works on Windows. However on Android it complains with the output message:
E/Noesis﹕ NoesisError: Resource assets/UI/Views/_Themes/Default.xaml not found.
I can find it under the StreamingAssets\NoesisGUI\android\Assets\UI\Views\_Themes after Noesis builds the nsb files.
Is there a bug around the pathing on Android? Note that I opened and browsed the generated APK and it is also not there. Does the xaml need to be referenced somewhere before I can load it?
I'm trying to load a xaml file at runtime using the method in C#:
NoesisGUISystem.LoadXaml(xamlFile).
It works on Windows. However on Android it complains with the output message:
E/Noesis﹕ NoesisError: Resource assets/UI/Views/_Themes/Default.xaml not found.
I can find it under the StreamingAssets\NoesisGUI\android\Assets\UI\Views\_Themes after Noesis builds the nsb files.
Is there a bug around the pathing on Android? Note that I opened and browsed the generated APK and it is also not there. Does the xaml need to be referenced somewhere before I can load it?