Commit e22975c5 authored by ylwu's avatar ylwu

fixed some syntax issues

parent 415c84b1
......@@ -26,11 +26,11 @@ import java.util.Date;
*/
@DesignerComponent(version = YaVersion.CAMCORDER_COMPONENT_VERSION,
description = "A component to record a video using the device's camcorder. " +
description = "Camcorder is a non-visible component that records a video using the device's camera" +
"After the video is recorded, the name of the file on the phone " +
"containing the clip is available as an argument to the " +
"AfterRecording event. The file name can be used, for example, to set " +
"the source property of a VideoPlayer component.",
"AfterRecording event. The file name can be used, for example, as " +
"the source of a VideoPlayer component.",
category = ComponentCategory.MEDIA,
nonVisible = true,
iconName = "images/camcorder.png")
......@@ -58,7 +58,7 @@ public class Camcorder extends AndroidNonvisibleComponent
}
/**
* Records a video, then raises the AfterRecoding event.
* Opens the phone's camera to allow a video to be recorded. Records a video, then raises the AfterRecoding event.
*/
@SimpleFunction
public void RecordVideo() {
......@@ -138,7 +138,7 @@ public class Camcorder extends AndroidNonvisibleComponent
}
/**
* Indicates that a photo was taken with the camera and provides the path to
* Indicates that a video was recorded with the camera and provides the path to
* the stored picture.
*/
@SimpleEvent
......
......@@ -21,7 +21,6 @@ public final class ErrorMessages {
public static final int ERROR_LOCATION_SENSOR_LONGITUDE_NOT_FOUND = 102;
// Camera errors
public static final int ERROR_CAMERA_NO_IMAGE_RETURNED = 201;
// Twitter errors
public static final int ERROR_TWITTER_UNSUPPORTED_LOGIN_FUNCTION = 301;
public static final int ERROR_TWITTER_BLANK_CONSUMER_KEY_OR_SECRET = 302;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment