Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add to Config and Set Icon
    1. Code Block
      javascript
      javascript
      this.nativeIcons = {
              ...
              hellowebview: 'default-icon.png'
          };
      
    2. 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. Image Added
Image Added

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.