Change URL for TinyWebDB

Update the URL to use tinywebdb.appinventor.mit.edu instead of at
appspot.com. This gives us the flexibility to move the service from
Google’s App Engine to a service hosted anywhere, including at MIT.

Change-Id: I1f68f118e20f25740b7667b1efe93b2a1b925ce0
parent 1de86a4b
......@@ -40,7 +40,7 @@ import org.json.JSONException;
* very limited and meant primarily as a demonstration for people who
* would like to create their own components that talk to the Web.
* The accompanying Web service is at
* (http://appinvtinywebdb.appspot.com). The component has methods to
* (http://tinywebdb.appinventor.mit.edu). The component has methods to
* store a value under a tag and to retrieve the value associated with
* the tag. The interpretation of what "store" and "retrieve" means
* is up to the Web service. In this implementation, all tags and
......@@ -93,7 +93,7 @@ public class TinyWebDB extends AndroidNonvisibleComponent implements Component {
androidUIHandler = new Handler();
// We set the initial value of serviceURL to be the
// demo Web service.
serviceURL = "http://appinvtinywebdb.appspot.com/";
serviceURL = "http://tinywebdb.appinventor.mit.edu/";
}
// The two procedures below give the getter and setter for the
......@@ -123,7 +123,7 @@ public class TinyWebDB extends AndroidNonvisibleComponent implements Component {
* The default value is the demo service running on App Engine.
*/
@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_STRING,
defaultValue = "http://appinvtinywebdb.appspot.com")
defaultValue = "http://tinywebdb.appinventor.mit.edu")
@SimpleProperty
public void ServiceURL(String url) {
serviceURL = url;
......
......@@ -464,8 +464,8 @@
</span>
component stores data on
a test service provided by App Inventor,
<a href="http://appinvtinywebdb.appspot.com/">
http://appinvtinywebdb.appspot.com/
<a href="http://tinywebdb.appinventor.mit.edu/">
http://tinywebdb.appinventor.mit.edu/
</a>
. This
service is helpful for testing, but it is shared by all App Inventor users, and it
......@@ -592,8 +592,8 @@
</li>
<li>
Modify the ServiceURL property from the default
<a href="http://appinvtinywebdb.appspot.com/">
http://appinvtinywebdb.appspot.com/
<a href="http://tinywebdb.appinventor.mit.edu/">
http://tinywebdb.appinventor.mit.edu/
</a>
to
your web service.
......
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