Commit e22975c5 authored by ylwu's avatar ylwu

fixed some syntax issues

parent 415c84b1
...@@ -26,11 +26,11 @@ import java.util.Date; ...@@ -26,11 +26,11 @@ import java.util.Date;
*/ */
@DesignerComponent(version = YaVersion.CAMCORDER_COMPONENT_VERSION, @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 " + "After the video is recorded, the name of the file on the phone " +
"containing the clip is available as an argument to the " + "containing the clip is available as an argument to the " +
"AfterRecording event. The file name can be used, for example, to set " + "AfterRecording event. The file name can be used, for example, as " +
"the source property of a VideoPlayer component.", "the source of a VideoPlayer component.",
category = ComponentCategory.MEDIA, category = ComponentCategory.MEDIA,
nonVisible = true, nonVisible = true,
iconName = "images/camcorder.png") iconName = "images/camcorder.png")
...@@ -58,7 +58,7 @@ public class Camcorder extends AndroidNonvisibleComponent ...@@ -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 @SimpleFunction
public void RecordVideo() { public void RecordVideo() {
...@@ -138,7 +138,7 @@ public class Camcorder extends AndroidNonvisibleComponent ...@@ -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. * the stored picture.
*/ */
@SimpleEvent @SimpleEvent
......
...@@ -21,7 +21,6 @@ public final class ErrorMessages { ...@@ -21,7 +21,6 @@ public final class ErrorMessages {
public static final int ERROR_LOCATION_SENSOR_LONGITUDE_NOT_FOUND = 102; public static final int ERROR_LOCATION_SENSOR_LONGITUDE_NOT_FOUND = 102;
// Camera errors // Camera errors
public static final int ERROR_CAMERA_NO_IMAGE_RETURNED = 201; public static final int ERROR_CAMERA_NO_IMAGE_RETURNED = 201;
// Twitter errors // Twitter errors
public static final int ERROR_TWITTER_UNSUPPORTED_LOGIN_FUNCTION = 301; public static final int ERROR_TWITTER_UNSUPPORTED_LOGIN_FUNCTION = 301;
public static final int ERROR_TWITTER_BLANK_CONSUMER_KEY_OR_SECRET = 302; 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