StarScape

From UrbanWiki

Jump to: navigation, search
StarScape Capture Screen
StarScape Capture Screen

StarScape is a Jave Mobile (J2ME) enabled program for sensor data capturing and uploading on mobile phones. It has been tested with Nokia N80.

Contents

[edit] Overview

  • Approach
  • Key features
    • Automatic capturing and upload of image, sound, and location
    • One-button user interface + settings area
    • Secure transfer
  • Work-in-progress
    • Performance improvement (reduce upload size, gzip?)
      • Occasional: Starvation/race condition
    • Signed application for easy install
    • Multiple configurations
    • Live monitoring and management of captured data (location, audio, and photos)

[edit] The Name

The name is derived from the fact that each sensor used to have a dedicated application. One for audio (AudioScape), one for image (ImageScape), and one for location (LocationScape). Today they are all contained in one package that matches all the needs - kinda like the asterisk sign (the star like * symbol) matches all queries. And that's how StarScape was hatched.

[edit] Version Information

1.0

  1. Official release of redesigned StarScape. Includes location, image, and audio support.

1.0.1

  1. Fixed: Error in action log when uploaded succeeded.
  2. Fixed: Application hangs after one capture in manual mode.
  3. Feature: User isn't prompted for features that are deactivated.

1.0.2

  1. Fixed: Reduced the size of image samples.
  2. Fixed: Unable to set audio capture duration.
  3. Feature: Audio capture!

1.0.3

  1. Fixed: Reduced the size of audio samples.
  2. Feature: Signed application for increased security.
  3. Feature: Multiple settings profile.
  4. Feature: More sample intervals to choose from.
  5. Feature: Shutter sound after each image capture (no, we don't really want this, but J2ME enforces this on all N80 with IE firmware).
  6. Feature: CENS Logo.

1.1.0

  1. Feature: Support for video capturing

[edit] Developer Access

Savane

  • Name: StarScape
  • Subversion
    • Contains list of active developers
    • URL: svn.urban.cens.ucla.edu/starscape/trunk/starscape
  • Environment Recommendation
    • Eclipse + ANT
      • Includes: build.xml, .project (config file)
    • Nokia Carbide.J

[edit] How-to install StarScape

To get started you must do a) Setup a new StarScape project in SensorBase and b) download and install StarScape. The guide is meant to be used with Nokia N80.

[edit] Setup SensorBase

  1. Login to SensorBase
  2. Create a new project: MyStarScape
  3. Click on "Search Project"
    1. Search and select StarScape (project id = 149)
    2. Copy the table layout of the "data" and "log" tables to your MyStarScape project (the destination tables must have the same names)

[edit] Setup StarScape

  1. Download the installation JAD and JAR file: StarScape.jar StarScape.jad
 Hint: To install the application directly, simply point the browser of your phone to the jad file.
  1. Copy the files to the phone using the Nokia File Manager
  2. Install StarScape by running StarScape.JAD
  3. Go to the Nokia Application Mananger and set all permissions for StarScape to "Allow always"
  4. Start StarScape
  5. Enter your SensorBase username, password, and ID of your newly create MyStarScape project ID
  6. Click OK
  7. Click the Nokia N80's silver button to start uploading of samples immediately
 Hint: To change the settings click on the Options menu button and select settings.

[edit] Car-mount (headrest)

Depending on the type of headrest you may mount the phone to the headrest using one or two lanyards. You will need one rubber band in both cases.

Sample setup illustrations:

[edit] Known bugs

  • Shutter sound on each image capture (this is due to the version of J2ME for N80)

[edit] Tentative Plans

  • One-step Barcode based configuration
  • XML configuration file
    • Idea: Fetch from central store using alias
    • Idea: Standardized configuration file
  • Regret function (clear buffer)
  • Location using Triangulation
    • Depends on native API hook
  • Local filtering
    • Select from build-in filter

[edit] Campaigns