CAVEDU教育團隊技術部落格 / MIT App Inventor

[App Inventor教學] Tinydb - 寫入姓名學號電話

✍ CAVEDU 阿吉 - 雜工📅 2014-11-18👁 1,181
本範例是介紹 App Inventor 中的本機端資料庫元件 TinyDB,相當於 Android 的 SQLite,只是功能很陽春而已。請如下圖來配置畫面,一共用到 2個Button,一個 ListPicker(讀取資料),3個 TextBox 以及一個 Label。當然啦,還有最重要的 TinyDB。

範例程式碼請由此頁面下載。

按下[寫入資料]按鈕時,會把三個 TextBox 的內容組合成一個 list 後寫入資料庫,並在 Label 上顯示寫入成功的訊息。如下圖
 
 
 

本文發表於MIT App Inventor,並標記MIT App Inventor、程式教學。

相關文章 📎

Arduino首次接觸就上手 - 藍牙4.0篇01_控制LED亮滅

2021-05-10

【App Inventor 路徑規劃專題】使用 Navigation 導航元件

2020-08-17

MIT App Inventor 重磅更新!Personal Audio Classifier 聲音辨識

2020-04-27

App Inventor 上傳資料到 Google試算表 - 作法1結合Google表單

2020-03-09

留言 💬 (0)

還沒有留言,來當第一個。