...
- Add to Config and Set Icon
Code Block javascript javascript this.nativeIcons = { ... hellowebview: 'default-icon.png' };
Code Block javascript javascript this.LOCAL_MODULES.hellowebview = { title: 'Hello Web View', fname: 'hellowebview', url: Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory, 'html/HelloWebView.html').nativePath, externalModule: true };
...
Now you should be able to build your app in Titanium Developer and navigate to your new window from the uMobile home screen.
Tip |
---|
If you have errors building for iOS simulator, try deleting the <project>/build/iphone folder so that it will rebuild with the Filesystem module included. |