Download presentation
Presentation is loading. Please wait.
1
Working with Databases (II) 靜宜大學資管系 楊子青 2014.12.06.
2
Creating a Custom TinyWebDB Service (App Inventor 2)
TinyWebDB is an App Inventor component that allows you to store data persistently in a database on the web. can be used to facilitate communication between phones and apps (e.g., multi-player games). By default, the TinyWebDB component stores data on a test service provided by App Inventor, This service is helpful for testing, but it is shared by all App Inventor users, and it has a limit of 1000 entries. If you use it, your data will be overwritten eventually. For most apps you write, you'll want to create a custom web service that isn't shared with other App Inventor apps and programmers.
3
1. 下載Python 2.7版
4
安裝Python 2.7版
5
2. 下載及解壓縮appinventordb資料夾至c:\
6
3.下載Google App Engine SDK for Python
7
下載Google App Engine SDK for Python
8
安裝Google App Engine SDK
9
安裝後,Launch應用程式
10
4. 加入應用程式
11
設定應用程式路徑
12
Run應用程式,再Browse於瀏覽器 以Local端執行
13
於Local端執行 (有可能無法顯示,不過沒有關係)
14
5. Dashboard應用程式到雲端
15
設定應用程式Identifier與Title
16
應用程式註冊成功
17
編輯應用程式
18
修改app.yaml的application值
19
6. 部署(Deploy)應用程式至雲端
20
部署過程
21
7.開啟瀏覽器,連至自己設定的 網路資料庫服務 (_.appspot.com)
22
直接輸入Tag與Value進行測試
23
查詢Tag貯存的Value值
24
8.於App Inventor修改TinyWebDB 服務網址(ServiceURL屬性)
25
執行測試程式
26
透過程式,已將資料存入自己設定的專屬網路資料庫
Similar presentations