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
35d79825
Commit
35d79825
authored
Jul 14, 2012
by
ylwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mit-cml/app-inventor-private into videocapture
parents
e22975c5
6bb811bb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
README
README
+16
-0
appinventor/components/src/com/google/appinventor/components/runtime/WebViewer.java
.../com/google/appinventor/components/runtime/WebViewer.java
+2
-2
No files found.
README
0 → 100644
View file @
35d79825
Welcome to the Source code of MIT App Inventor.
You can learn more about MIT App Inventor at http://appinventor.mit.edu.
This code is designed to be run in Google's App Engine. MIT runs a
public instance that all are welcome to use to build App Inventor
Applications. You do not need to compile or use this code if you wish
to build MIT App Inventor applications.
We provide this code for reference and for experienced people who wish
to operate their own App Inventor instance.
To build: cd to appinventor and type "ant."
This code is tested and known to work with Sun Java 6. There are
issues with using OpenJDK.
appinventor/components/src/com/google/appinventor/components/runtime/WebViewer.java
View file @
35d79825
...
@@ -168,7 +168,7 @@ public final class WebViewer extends AndroidViewComponent {
...
@@ -168,7 +168,7 @@ public final class WebViewer extends AndroidViewComponent {
"Home URL if new pages were visited by following links."
,
"Home URL if new pages were visited by following links."
,
category
=
PropertyCategory
.
BEHAVIOR
)
category
=
PropertyCategory
.
BEHAVIOR
)
public
String
CurrentUrl
()
{
public
String
CurrentUrl
()
{
return
webview
.
getUrl
();
return
(
webview
.
getUrl
()
==
null
)
?
""
:
webview
.
getUrl
();
}
}
/**
/**
...
@@ -180,7 +180,7 @@ public final class WebViewer extends AndroidViewComponent {
...
@@ -180,7 +180,7 @@ public final class WebViewer extends AndroidViewComponent {
description
=
"Title of the page currently viewed"
,
description
=
"Title of the page currently viewed"
,
category
=
PropertyCategory
.
BEHAVIOR
)
category
=
PropertyCategory
.
BEHAVIOR
)
public
String
CurrentPageTitle
()
{
public
String
CurrentPageTitle
()
{
return
webview
.
getTitle
();
return
(
webview
.
getTitle
()
==
null
)
?
""
:
webview
.
getTitle
();
}
}
...
...
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