![2-1-HelloPurrPPT優(yōu)秀課件_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-8/3/874f573b-425e-4f63-87a7-5d4e131bb695/874f573b-425e-4f63-87a7-5d4e131bb6951.gif)
![2-1-HelloPurrPPT優(yōu)秀課件_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-8/3/874f573b-425e-4f63-87a7-5d4e131bb695/874f573b-425e-4f63-87a7-5d4e131bb6952.gif)
![2-1-HelloPurrPPT優(yōu)秀課件_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-8/3/874f573b-425e-4f63-87a7-5d4e131bb695/874f573b-425e-4f63-87a7-5d4e131bb6953.gif)
![2-1-HelloPurrPPT優(yōu)秀課件_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-8/3/874f573b-425e-4f63-87a7-5d4e131bb695/874f573b-425e-4f63-87a7-5d4e131bb6954.gif)
![2-1-HelloPurrPPT優(yōu)秀課件_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-8/3/874f573b-425e-4f63-87a7-5d4e131bb695/874f573b-425e-4f63-87a7-5d4e131bb6955.gif)
版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、College of Mathematics and Computer Science, Hunan Normal University瞿紹軍湖南師范大學數(shù)學與計算機科學學院College of Mathematics and Computer Science, Hunan Normal Universityn/n/n/http:/http:/ College of Mathematics and Computer Sci
2、ence, Hunan Normal Universityn當你觸摸這只貓時,它會發(fā)出“喵嗚”聲和手機震動;當你搖晃它時,也將發(fā)出聲音。College of Mathematics and Computer Science, Hunan Normal University用Chrome (谷歌瀏覽器) 打開了App Inventor 主頁或http:/用你的電子郵件地址賬號注冊和登錄College of Mathematics and Computer Science, Hunan Normal UniversityColleg
3、e of Mathematics and Computer Science, Hunan Normal University項目名稱只能由字母、數(shù)字或下劃線組成,且大小寫敏感,名稱中間不能包含空格,如“Hello”和“hello”是兩個不同的項目名College of Mathematics and Computer Science, Hunan Normal University增加按鈕。在“組件面板”的“用戶界面”中拖動“按鈕”到“工作面板”下的“Screen1”。College of Mathematics and Computer Science, Hunan Normal Unive
4、rsity上傳貓的圖片和聲音College of Mathematics and Computer Science, Hunan Normal University修改按鈕的屬性l在“組件屬性”窗口中修改“圖像”和“文本”兩個屬性。l“圖像”屬性下面的“kitty.png” 。l“文本”屬性里面原有的內(nèi)容“按鈕1文本”刪除掉。College of Mathematics and Computer Science, Hunan Normal UniversityCollege of Mathematics and Computer Science, Hunan Normal University
5、增加標簽l在“組件面板”的“用戶界面”中拖動“標簽”到“工作面板”下的“Screen1”,用鼠標選定添加的“標簽1”,在“組件屬性”窗口中修改“背景顏色”為品紅,“字號”大小為32,“文本”中輸入“Pet the kitty!”。College of Mathematics and Computer Science, Hunan Normal UniversityCollege of Mathematics and Computer Science, Hunan Normal University增加音效l在“組件面板”的“多媒體”中拖動“音效”到“工作面板”下的“Screen1”,無論把它放
6、在哪里,它都會出現(xiàn)在預覽窗口的底部,并被標記為“非可視組件【Non-visible components】”。l非可視組件在應用中發(fā)揮特定作用,但不會顯示在用戶界面中。l然后用鼠標選定添加的“音效1”,在“組件屬性”窗口中為屬性“源文件”選擇聲音文件“meow.mp3”。College of Mathematics and Computer Science, Hunan Normal UniversityCollege of Mathematics and Computer Science, Hunan Normal University打開塊編輯器,即邏輯設計College of Mathe
7、matics and Computer Science, Hunan Normal University添加按鍵來播放剛添加聲音College of Mathematics and Computer Science, Hunan Normal University可以參考上節(jié)內(nèi)容連接你的測試設備。這里用模擬器測試結果。College of Mathematics and Computer Science, Hunan Normal University當點擊按鈕時,讓貓咪發(fā)出叫聲和讓手機震動。College of Mathematics and Computer Science, Hunan
8、Normal University在“調(diào)用 音效1.震動”塊的右下角寫著“毫秒數(shù)【millisecs】”。塊上的開放插槽表示需要插入其他塊,來設定行為的具體方式。College of Mathematics and Computer Science, Hunan Normal University最后單擊數(shù)字“0”,輸入新值“500”College of Mathematics and Computer Science, Hunan Normal University測試:試試吧!點擊設備上的按鈕,你不僅會聽到貓叫聲,還會感覺到半秒的設備震動。注意:測試震動效果只能在安卓設備上進行,模擬器上無
9、法測試。College of Mathematics and Computer Science, Hunan Normal University添加加速度傳感器College of Mathematics and Computer Science, Hunan Normal University添加事件處理程序College of Mathematics and Computer Science, Hunan Normal UniversityCollege of Mathematics and Computer Science, Hunan Normal University如果你想把應用分
10、享給朋友或發(fā)布到應用市場,就需要把應用打包成apk文件。AI2提供了二種打包方式。l打包apk并顯示二維碼l打包apk并下載到電腦College of Mathematics and Computer Science, Hunan Normal UniversityCollege of Mathematics and Computer Science, Hunan Normal UniversityCollege of Mathematics and Computer Science, Hunan Normal Universityapk文件下載下來后,默認保存在當前操作系統(tǒng)的用戶文檔中的“Downloads【下載】”目錄下面。然后可以
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 小學四年級開學第一課《安全教育》聽評課記錄
- 青年委員工作計劃
- 商品房預售資金監(jiān)管合作協(xié)議書范本
- 電商供應商合同范本
- 貴州經(jīng)貿(mào)職業(yè)技術學院《爆炸力學》2023-2024學年第二學期期末試卷
- 徐州工程學院《管理咨詢》2023-2024學年第二學期期末試卷
- 武漢軟件工程職業(yè)學院《構造地質(zhì)學B》2023-2024學年第二學期期末試卷
- 黑龍江交通職業(yè)技術學院《多元統(tǒng)計學》2023-2024學年第二學期期末試卷
- 河南城建學院《參展實務》2023-2024學年第二學期期末試卷
- 湘教版數(shù)學九年級上冊3.3《相似圖形》聽評課記錄2
- anthone溫控儀說明書LU920
- 童年創(chuàng)傷問卷(CTQ-含評分說明)
- 人教部編版小學五年級語文下冊 第三單元綜合性學習《我愛你,漢字》優(yōu)質(zhì)課教案
- 工廠主文件(新)
- 樓板配筋計算表格(自動版)
- 儀表基礎知識培訓.ppt課件
- 井下探放水設計編制培訓PPT課件
- 營養(yǎng)學緒論(精)
- 魯科版英語五年級下冊Unit 5 單元測試卷及答案
- 最新ICD-9手術編碼
- 軟件項目報價方法參考模板
評論
0/150
提交評論