狠狠撸

狠狠撸Share a Scribd company logo
AppInventor(3)
講師:王瑋毅
础辫辫滨苍惫别苍迟辞谤-接础笔滨资料
JSON是什麼?
? JSON全名叫做JavaScript Object Notation,就是在JavaScript之中,
表示物件的一種格式。
? JSON不是JavaScript的物件實字,JSON只是基於JavaScript的物件
實字。
? 在JSON只允許以雙引號(“”)包圍字串值。
? JSON的副檔名是 .json
JSON範例- ”名稱” : ”值”
{?
“brand”?:?“Crocs”,
“color”?:?“pink”,?
“size”?:?9,?
“hasLaces”?:?false,?
“title”?:?“This?is?the?body."?
}?
新增需要的元件-叠耻迟迟辞苍、尝补产别濒
新增需要的元件-奥别产
設定Web1的Url
? http://opendata.epa.gov.tw/ws/Data/UV/?$orderby=PublishAgency&
$skip=0&$top=1000&format=json
新增一个全域变数方块-名為箩蝉辞苍
全域变数方块设為空的濒颈蝉迟
设置取得奥别产1的文字事件
设置储存的全域变数
使用奥别产1的解析闯蝉辞苍方法
设置取得的鲍谤濒
设置显示的标籤
设置按钮事件
设置按钮按下呼叫奥别产1方法
执行结果
础辫辫滨苍惫别苍迟辞谤-标準体重
題目
? 男性: (身高cm - 80) x 70% = 標準體重
? 女性: (身高cm - 70) x 60% = 標準體重
上传两张图片
设置文字方块
设置水平布局
设置按钮1
设置按钮2
设置标籤
设置图片
设置按钮1事件
设置按钮1顯示文字標籤
设置按钮1數學式(1/4)
设置按钮1數學式(2/4)
设置按钮1數學式(3/4)
设置按钮1數學式(4/4)
设置按钮1顯示圖片
设置按钮1要顯示的圖片
设置按钮2事件
设置按钮2顯示文字標籤
设置按钮2數學式(1/4)
设置按钮2數學式(2/4)
设置按钮2數學式(3/4)
设置按钮2數學式(4/4)
设置按钮2顯示圖片
设置按钮2要顯示的圖片
执行结果
練習
? 標準體重正負10%為正常體重
设置按钮1合併文字
设置按钮1數學式(1/3)
设置按钮1數學式(2/3)
设置按钮1數學式(3/3)
新增按钮1合併文字(1/2)
新增按钮1合併文字(2/2)
新增按钮1显示文字
设置按钮2合併文字
设置按钮2數學式(1/3)
设置按钮2數學式(2/3)
设置按钮2數學式(3/3)
新增按钮2合併文字
新增按钮2显示文字
执行结果
Ad

Recommended

App inventor 教學講義 chapter3
App inventor 教學講義 chapter3
Jerry Wu
?
App inventor 教學講義 chapter1
App inventor 教學講義 chapter1
Jerry Wu
?
App inventor 教學講義 chapter2
App inventor 教學講義 chapter2
Jerry Wu
?
App inventor 5
App inventor 5
Roy Wang
?
OC4J to WebLogic Server Migration5
OC4J to WebLogic Server Migration5
Liran Zelkha
?
Microsoft Excel Tutorial
Microsoft Excel Tutorial
FaHaD .H. NooR
?
Ms word Presentation
Ms word Presentation
Madhab Behera
?
Powerpoint
heribertin
?
Photoshop CS6: Ejercicios
Ruth Thalia Chacchi Garcia
?
Making a Chart Using Excel
Making a Chart Using Excel
rebelbrindley
?
Modulo Photoshop Cs 6
Free TIC
?
Notepad
Notepad
John Bhatt
?
Ms excel (page layout)
Ms excel (page layout)
Saransh Arora
?
intro of ms word 2007
intro of ms word 2007
Pakeeza Noor
?
Understanding Microsoft Access
Understanding Microsoft Access
Ana Loraine Alcantara
?
ES6: The Awesome Parts
ES6: The Awesome Parts
Domenic Denicola
?
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
David Oromaner
?
Manual paso a paso de microsoft word
ELENA AGUILAR
?
Transitions animation
Transitions animation
rimshailyas1
?
Adobe page maker
Adobe page maker
vinothinisureshbabu
?
Microsoft word
Microsoft word
sujitbharti2
?
Introduction microsoft excel 2007
Introduction microsoft excel 2007
Celia Bandelier
?
Formation word 2010 partie 4
Alibi Mahdi
?
Initiation au traitement de texte avec Libre Office Writer
epnenghien
?
cuestionario de Microsoft Word
Patricia Ramos
?
Manual+de+corel+12.0+v2
Jenny Lourdes Inchu?a Cusacani
?
Ms excel
Ms excel
Muhammad Adeel Shoukat
?
Advance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptx
ssuserc9f959
?
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
信宏 陳
?
App inventor 教學講義 chapter4
App inventor 教學講義 chapter4
Jerry Wu
?

More Related Content

What's hot (20)

Photoshop CS6: Ejercicios
Ruth Thalia Chacchi Garcia
?
Making a Chart Using Excel
Making a Chart Using Excel
rebelbrindley
?
Modulo Photoshop Cs 6
Free TIC
?
Notepad
Notepad
John Bhatt
?
Ms excel (page layout)
Ms excel (page layout)
Saransh Arora
?
intro of ms word 2007
intro of ms word 2007
Pakeeza Noor
?
Understanding Microsoft Access
Understanding Microsoft Access
Ana Loraine Alcantara
?
ES6: The Awesome Parts
ES6: The Awesome Parts
Domenic Denicola
?
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
David Oromaner
?
Manual paso a paso de microsoft word
ELENA AGUILAR
?
Transitions animation
Transitions animation
rimshailyas1
?
Adobe page maker
Adobe page maker
vinothinisureshbabu
?
Microsoft word
Microsoft word
sujitbharti2
?
Introduction microsoft excel 2007
Introduction microsoft excel 2007
Celia Bandelier
?
Formation word 2010 partie 4
Alibi Mahdi
?
Initiation au traitement de texte avec Libre Office Writer
epnenghien
?
cuestionario de Microsoft Word
Patricia Ramos
?
Manual+de+corel+12.0+v2
Jenny Lourdes Inchu?a Cusacani
?
Ms excel
Ms excel
Muhammad Adeel Shoukat
?
Advance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptx
ssuserc9f959
?
Photoshop CS6: Ejercicios
Ruth Thalia Chacchi Garcia
?
Making a Chart Using Excel
Making a Chart Using Excel
rebelbrindley
?
Modulo Photoshop Cs 6
Free TIC
?
intro of ms word 2007
intro of ms word 2007
Pakeeza Noor
?
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
David Oromaner
?
Manual paso a paso de microsoft word
ELENA AGUILAR
?
Transitions animation
Transitions animation
rimshailyas1
?
Introduction microsoft excel 2007
Introduction microsoft excel 2007
Celia Bandelier
?
Formation word 2010 partie 4
Alibi Mahdi
?
Initiation au traitement de texte avec Libre Office Writer
epnenghien
?
cuestionario de Microsoft Word
Patricia Ramos
?
Manual+de+corel+12.0+v2
Jenny Lourdes Inchu?a Cusacani
?
Advance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptx
ssuserc9f959
?

Viewers also liked (8)

不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
信宏 陳
?
App inventor 教學講義 chapter4
App inventor 教學講義 chapter4
Jerry Wu
?
App inventor 教學講義 chapter6
App inventor 教學講義 chapter6
Jerry Wu
?
Android 程式設計(1)
Android 程式設計(1)
Roy Wang
?
App inventor 4
App inventor 4
Roy Wang
?
Android 程式設計(2)
Android 程式設計(2)
Roy Wang
?
App inventor 2
App inventor 2
Roy Wang
?
App inventor 1
App inventor 1
Roy Wang
?
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
信宏 陳
?
App inventor 教學講義 chapter4
App inventor 教學講義 chapter4
Jerry Wu
?
App inventor 教學講義 chapter6
App inventor 教學講義 chapter6
Jerry Wu
?
Android 程式設計(1)
Android 程式設計(1)
Roy Wang
?
App inventor 4
App inventor 4
Roy Wang
?
Android 程式設計(2)
Android 程式設計(2)
Roy Wang
?
App inventor 2
App inventor 2
Roy Wang
?
App inventor 1
App inventor 1
Roy Wang
?
Ad

App inventor 3