SlideShare a Scribd company logo
1 of 4
Download to read offline
DigitalDoodle: Drawing App 
This tutorial will show you how to draw a line on the screen as the user drags a finger around. 
Start a New Project 
From the My Projects page, click New Project. If you have another project open, go to My Projects 
menu and choose New Project. 
Name the Project 
Call this project DigitalDoodle, or create your own name for this drawing app. 
DigitalDoodle: Drawing App - 1 
Set the Screen so that it does not scroll 
The default setting for App Inventor is that the screen of your app will be "scrollable", which means that 
the user interface can go beyond the limit of the screen and the user can scroll down by swiping their 
finger (like scrolling on a web page). When you are using a Canvas, you have to turn off the 
"Scrollable" setting (UNCHECK THE BOX) so that the screen does not scroll. This will allow you to 
make the Canvas to fill up the whole screen. 
DigitalDoodle: Drawing App - 2
Add a Canvas 
From the Drawing and Animation drawer, drag out a Canvas component. 
DigitalDoodle: Drawing App - 3 
Change the Height and Width of the Canvas to Fill Parent 
Make sure the Canvas component is selected (#1) so that its properties show up in the Properties Pane 
(#2). Down at the bottom, set the Height property to "Fill Parent". Do the same with the Width 
property. 
That's all for the Designer! Go over to the Blocks. 
Believe it or not, for now this app only needs a Canvas. Go into the Blocks Editor to program the app. 
DigitalDoodle: Drawing App - 4
Get a Canvas.Dragged event block 
In the Canvas1 drawer, pull out the when Canvas1.Dragged event. 
DigitalDoodle: Drawing App - 5 
Get a Canvas.DrawLine call block 
In the Canvas1 drawer, pull out the when Canvas1.DrawLine method block.. 
DigitalDoodle: Drawing App - 6
Use the get and set blocks from the Dragged block to fill in the values for the 
Draw Line block. 
The Canvas Dragged event will happen over and over again very rapidly while the user drags a finger 
on the screen. Each time that Dragged event block is called, it will draw a small line between the 
previous location (prevX, prevY) of the finger to the new location (currentX, currentY). Mouse over the 
parameters of the Canvas1.Dragged block to pull out the get blocks that you need. (Mouse over them, 
don't click on them.) 
DigitalDoodle: Drawing App - 7 
Test it out! 
Go to your connected device and drag your finger around the screen. Do you see a line? 
Great work! Now extend this app 
Here are some ideas for extending this app. You can probably think of many more! 
- Change the color of the ink (and let the user pick from a selection of colors). See Paint Pot tutorial. 
- Change the background to a photograph or picture. 
- Let the user draw dots as well as lines (hint: Use DrawCircle block). 
- Add a button that turns on the camera and lets the user take a picture and then doodle on it. 
DigitalDoodle: Drawing App - 8

More Related Content

What's hot

Photo retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshopPhoto retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshopRemon Mia
 
Menggunakan Radial blur
Menggunakan Radial blurMenggunakan Radial blur
Menggunakan Radial blurasyarifaisal
 
Image Scrolling Tutorial in PowerPoint
        Image Scrolling Tutorial in PowerPoint         Image Scrolling Tutorial in PowerPoint
Image Scrolling Tutorial in PowerPoint kaitlynwilde
 
Surfboard Tutorial
Surfboard TutorialSurfboard Tutorial
Surfboard TutorialCPZ Media
 
5 combining images and applying filters
5 combining images and applying filters5 combining images and applying filters
5 combining images and applying filtersMarty Sison
 
Unit 5 Task 4 Tutorial
Unit 5 Task 4 TutorialUnit 5 Task 4 Tutorial
Unit 5 Task 4 Tutorialilyaboj
 
Fajardo, winfreya m. 11 caritas, abm
Fajardo, winfreya m. 11  caritas, abmFajardo, winfreya m. 11  caritas, abm
Fajardo, winfreya m. 11 caritas, abmshanneprincesspanamb
 
Designing with illustrator
Designing with illustratorDesigning with illustrator
Designing with illustratorLesley Baumann
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising techniquecedannatt
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising techniquecedannatt
 
3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographics3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographicsvsbma
 
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor RenderingsHOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor RenderingsstudioINSITE
 
Introduction to Sketchup basics
Introduction to Sketchup basics Introduction to Sketchup basics
Introduction to Sketchup basics Jad El Mourad
 
Paths, Masks And Blend Modes
Paths, Masks And Blend ModesPaths, Masks And Blend Modes
Paths, Masks And Blend ModesShan
 
Intro to Dimension
Intro to DimensionIntro to Dimension
Intro to DimensionAlex Hornak
 
How to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUpHow to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUpstudioINSITE
 
NewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveNewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveSamuel Edsall
 
Balloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanBalloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanRokas Petškevičius
 
Keying and Transparency
Keying and TransparencyKeying and Transparency
Keying and TransparencyNikki Mundy
 

What's hot (20)

Photo retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshopPhoto retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshop
 
Menggunakan Radial blur
Menggunakan Radial blurMenggunakan Radial blur
Menggunakan Radial blur
 
Image Scrolling Tutorial in PowerPoint
        Image Scrolling Tutorial in PowerPoint         Image Scrolling Tutorial in PowerPoint
Image Scrolling Tutorial in PowerPoint
 
Surfboard Tutorial
Surfboard TutorialSurfboard Tutorial
Surfboard Tutorial
 
What is Compositing in Animation?
What is Compositing in Animation?What is Compositing in Animation?
What is Compositing in Animation?
 
5 combining images and applying filters
5 combining images and applying filters5 combining images and applying filters
5 combining images and applying filters
 
Unit 5 Task 4 Tutorial
Unit 5 Task 4 TutorialUnit 5 Task 4 Tutorial
Unit 5 Task 4 Tutorial
 
Fajardo, winfreya m. 11 caritas, abm
Fajardo, winfreya m. 11  caritas, abmFajardo, winfreya m. 11  caritas, abm
Fajardo, winfreya m. 11 caritas, abm
 
Designing with illustrator
Designing with illustratorDesigning with illustrator
Designing with illustrator
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising technique
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising technique
 
3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographics3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographics
 
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor RenderingsHOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
 
Introduction to Sketchup basics
Introduction to Sketchup basics Introduction to Sketchup basics
Introduction to Sketchup basics
 
Paths, Masks And Blend Modes
Paths, Masks And Blend ModesPaths, Masks And Blend Modes
Paths, Masks And Blend Modes
 
Intro to Dimension
Intro to DimensionIntro to Dimension
Intro to Dimension
 
How to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUpHow to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUp
 
NewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveNewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in Lightwave
 
Balloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanBalloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelican
 
Keying and Transparency
Keying and TransparencyKeying and Transparency
Keying and Transparency
 

Viewers also liked

Power adriana
Power adrianaPower adriana
Power adrianamoslupita
 
Graficas circulares examen final
Graficas circulares examen finalGraficas circulares examen final
Graficas circulares examen finalismael rodriguez
 
El Leadership Fórum Senior reivindica un mayor papel activo en los mayores
El Leadership Fórum Senior reivindica un mayor papel activo en los mayoresEl Leadership Fórum Senior reivindica un mayor papel activo en los mayores
El Leadership Fórum Senior reivindica un mayor papel activo en los mayoresincoruna
 
La Escritura como Proceso
La Escritura como ProcesoLa Escritura como Proceso
La Escritura como Procesoglenisyraida
 
China ppt
China pptChina ppt
China pptLies12
 
Scaling Scrum with UX
Scaling Scrum with UXScaling Scrum with UX
Scaling Scrum with UXCaleb Jenkins
 
Hands-on Guide to Object Identification
Hands-on Guide to Object IdentificationHands-on Guide to Object Identification
Hands-on Guide to Object IdentificationDharmesh Vaya
 
Dominando la lengua
Dominando la lenguaDominando la lengua
Dominando la lenguaadanvilca
 
TDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScriptTDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScripttdc-globalcode
 

Viewers also liked (16)

Equipo 1
Equipo 1Equipo 1
Equipo 1
 
Power adriana
Power adrianaPower adriana
Power adriana
 
Flora
FloraFlora
Flora
 
Graficas circulares examen final
Graficas circulares examen finalGraficas circulares examen final
Graficas circulares examen final
 
Certificate (1)
Certificate (1)Certificate (1)
Certificate (1)
 
El Leadership Fórum Senior reivindica un mayor papel activo en los mayores
El Leadership Fórum Senior reivindica un mayor papel activo en los mayoresEl Leadership Fórum Senior reivindica un mayor papel activo en los mayores
El Leadership Fórum Senior reivindica un mayor papel activo en los mayores
 
Flora
FloraFlora
Flora
 
La Escritura como Proceso
La Escritura como ProcesoLa Escritura como Proceso
La Escritura como Proceso
 
Innoplexus
InnoplexusInnoplexus
Innoplexus
 
China ppt
China pptChina ppt
China ppt
 
Scaling Scrum with UX
Scaling Scrum with UXScaling Scrum with UX
Scaling Scrum with UX
 
Hands-on Guide to Object Identification
Hands-on Guide to Object IdentificationHands-on Guide to Object Identification
Hands-on Guide to Object Identification
 
Vandana
VandanaVandana
Vandana
 
Dominando la lengua
Dominando la lenguaDominando la lengua
Dominando la lengua
 
Biotechnology
BiotechnologyBiotechnology
Biotechnology
 
TDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScriptTDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScript
 

Similar to Drawing App Tutorial: Build a Digital Doodle App in 8 Steps

Adobe Illustrator CS6 Primer
Adobe Illustrator CS6 PrimerAdobe Illustrator CS6 Primer
Adobe Illustrator CS6 PrimerNYCCTfab
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demorkottam
 
Autocad 2007 Workbook Tutorial
Autocad 2007 Workbook TutorialAutocad 2007 Workbook Tutorial
Autocad 2007 Workbook TutorialJhongNatz
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demorkottam
 
Auto cad 2007-tutorial
Auto cad 2007-tutorialAuto cad 2007-tutorial
Auto cad 2007-tutorialSyed Javeed
 
Adobe Illustrator CC 2018
Adobe Illustrator CC 2018 Adobe Illustrator CC 2018
Adobe Illustrator CC 2018 NYCCTfab
 
Working with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.SivakumarWorking with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.SivakumarSivakumar R D .
 
Intro to Adobe Photoshop
Intro to Adobe PhotoshopIntro to Adobe Photoshop
Intro to Adobe PhotoshopDUSPviz
 
Designing for Android - Anjan Shrestha
Designing for Android - Anjan ShresthaDesigning for Android - Anjan Shrestha
Designing for Android - Anjan ShresthaMobileNepal
 
Graphical Tool Term Paper
Graphical Tool Term PaperGraphical Tool Term Paper
Graphical Tool Term Paperamit soni
 
Native Mobile Testing for Newbies
Native Mobile Testing for NewbiesNative Mobile Testing for Newbies
Native Mobile Testing for NewbiesSusan Hewitt
 
Sketchup-Handbook.pdf
Sketchup-Handbook.pdfSketchup-Handbook.pdf
Sketchup-Handbook.pdfAhmad Maher
 
2.1 graphics window
2.1   graphics window2.1   graphics window
2.1 graphics windowallenbailey
 
CHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptCHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptMuhammad Taufik
 

Similar to Drawing App Tutorial: Build a Digital Doodle App in 8 Steps (20)

Adobe Illustrator CS6 Primer
Adobe Illustrator CS6 PrimerAdobe Illustrator CS6 Primer
Adobe Illustrator CS6 Primer
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demo
 
Autocad 2007 Workbook Tutorial
Autocad 2007 Workbook TutorialAutocad 2007 Workbook Tutorial
Autocad 2007 Workbook Tutorial
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demo
 
Auto cad 2007-tutorial
Auto cad 2007-tutorialAuto cad 2007-tutorial
Auto cad 2007-tutorial
 
spec
specspec
spec
 
Adobe Illustrator CC 2018
Adobe Illustrator CC 2018 Adobe Illustrator CC 2018
Adobe Illustrator CC 2018
 
Working with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.SivakumarWorking with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.Sivakumar
 
Intro to Adobe Photoshop
Intro to Adobe PhotoshopIntro to Adobe Photoshop
Intro to Adobe Photoshop
 
Designing for Android - Anjan Shrestha
Designing for Android - Anjan ShresthaDesigning for Android - Anjan Shrestha
Designing for Android - Anjan Shrestha
 
Graphical Tool Term Paper
Graphical Tool Term PaperGraphical Tool Term Paper
Graphical Tool Term Paper
 
Native Mobile Testing for Newbies
Native Mobile Testing for NewbiesNative Mobile Testing for Newbies
Native Mobile Testing for Newbies
 
TUTORIAL ON PHOTOSHOP
TUTORIAL ON PHOTOSHOPTUTORIAL ON PHOTOSHOP
TUTORIAL ON PHOTOSHOP
 
A Primavera Tutorial
A Primavera TutorialA Primavera Tutorial
A Primavera Tutorial
 
Sketchup-Handbook.pdf
Sketchup-Handbook.pdfSketchup-Handbook.pdf
Sketchup-Handbook.pdf
 
Drawing Tool
Drawing ToolDrawing Tool
Drawing Tool
 
Tutorial flash
Tutorial flashTutorial flash
Tutorial flash
 
2.1 graphics window
2.1   graphics window2.1   graphics window
2.1 graphics window
 
3d game engine
3d game engine3d game engine
3d game engine
 
CHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptCHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.ppt
 

Recently uploaded

PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

Drawing App Tutorial: Build a Digital Doodle App in 8 Steps

  • 1. DigitalDoodle: Drawing App This tutorial will show you how to draw a line on the screen as the user drags a finger around. Start a New Project From the My Projects page, click New Project. If you have another project open, go to My Projects menu and choose New Project. Name the Project Call this project DigitalDoodle, or create your own name for this drawing app. DigitalDoodle: Drawing App - 1 Set the Screen so that it does not scroll The default setting for App Inventor is that the screen of your app will be "scrollable", which means that the user interface can go beyond the limit of the screen and the user can scroll down by swiping their finger (like scrolling on a web page). When you are using a Canvas, you have to turn off the "Scrollable" setting (UNCHECK THE BOX) so that the screen does not scroll. This will allow you to make the Canvas to fill up the whole screen. DigitalDoodle: Drawing App - 2
  • 2. Add a Canvas From the Drawing and Animation drawer, drag out a Canvas component. DigitalDoodle: Drawing App - 3 Change the Height and Width of the Canvas to Fill Parent Make sure the Canvas component is selected (#1) so that its properties show up in the Properties Pane (#2). Down at the bottom, set the Height property to "Fill Parent". Do the same with the Width property. That's all for the Designer! Go over to the Blocks. Believe it or not, for now this app only needs a Canvas. Go into the Blocks Editor to program the app. DigitalDoodle: Drawing App - 4
  • 3. Get a Canvas.Dragged event block In the Canvas1 drawer, pull out the when Canvas1.Dragged event. DigitalDoodle: Drawing App - 5 Get a Canvas.DrawLine call block In the Canvas1 drawer, pull out the when Canvas1.DrawLine method block.. DigitalDoodle: Drawing App - 6
  • 4. Use the get and set blocks from the Dragged block to fill in the values for the Draw Line block. The Canvas Dragged event will happen over and over again very rapidly while the user drags a finger on the screen. Each time that Dragged event block is called, it will draw a small line between the previous location (prevX, prevY) of the finger to the new location (currentX, currentY). Mouse over the parameters of the Canvas1.Dragged block to pull out the get blocks that you need. (Mouse over them, don't click on them.) DigitalDoodle: Drawing App - 7 Test it out! Go to your connected device and drag your finger around the screen. Do you see a line? Great work! Now extend this app Here are some ideas for extending this app. You can probably think of many more! - Change the color of the ink (and let the user pick from a selection of colors). See Paint Pot tutorial. - Change the background to a photograph or picture. - Let the user draw dots as well as lines (hint: Use DrawCircle block). - Add a button that turns on the camera and lets the user take a picture and then doodle on it. DigitalDoodle: Drawing App - 8