How To : Uploading a Resource

Page Status: Beta

Back to Concepts and HOW TOs

Contents

[edit] Description

This document describes how to upload a resource, and then add the resource to your ResourceProject.

[edit] Prerequisites

Introduction to Bungee Builder
Overview : Building a Bungee-powered Application
Understanding Control Bindings
Binding a Control to an Object

[edit] Procedure

You can add images and HTML files (View elements) to your solution by uploading the resource (image or HTML file) and adding it to a ResourceProject.

Uploading a resource:

  1. Connect to a WebDAV (Web-based Distributed Authoring and Versioning) folder on the Bungee Connect server and upload your images.
    1. For Windows:
      1. Open My Network Places.
      2. Click Add a network place.
      3. When the wizard appears,
        1. Click Next.
        2. Select Choose another network location and click Next.
        3. Type the name of the WebDAV folder, https://webdav.bungeeconnect.com, and click Next.
        4. Type your user name and password.
        5. When the WebDAV folder opens, drag your images from a local folder into the WebDAV folder. Your images are now located on the Bungee Connect server.
    2. For Mac OS X:
      1. Open a Finder window.
      2. Select the Go -> Connect to Server menu item or use command-k.
      3. In the Connect to Server dialog
        1. Type,  https://webdav.bungeeconnect.com, in the Server Address box.
        2. Use the new Finder window to manage your files.

Adding a resource to a ResourceProject:

  1. In Bungee Builder, add a ResourceProject to your solution.
    1.  Right-click on your solution and select Add Project.
    2. In the dialog box that's displayed,
      1. For Type, select ResourceProject.
      2. In Project Name, type the name for the ResourceProject.
      3. Click OK. The ResourceProject is listed under the solution along with the other project types.
    3. Right-click on the ResourceProject and select Import Resource Directory.
    4. In the file browser, locate the directory containing your images.
    5. Select the images you want to import into the ResourceProject and click OK. This copies the image files from the WebDAV folder into your ResourceProject.
    6. In your solution, expand the ResourceProject to see the resource object for the resources you imported.

[edit] Error Handling

 

[edit] Examples

 

[edit] Next Steps

Simulating or Testing Your Project or Application

[edit] Tags

    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.