Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
e22975c5
Commit
e22975c5
authored
Jul 14, 2012
by
ylwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some syntax issues
parent
415c84b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
appinventor/components/src/com/google/appinventor/components/runtime/Camcorder.java
.../com/google/appinventor/components/runtime/Camcorder.java
+5
-5
appinventor/components/src/com/google/appinventor/components/runtime/util/ErrorMessages.java
...le/appinventor/components/runtime/util/ErrorMessages.java
+0
-1
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/Camcorder.java
View file @
e22975c5
...
...
@@ -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
...
...
appinventor/components/src/com/google/appinventor/components/runtime/util/ErrorMessages.java
View file @
e22975c5
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment