SlideShare a Scribd company logo
Android does pressure!
(a look into problems I discovered when writing pressure sensitive applications)
actual situation


          resitive touchscreens
 (e.g. ViewSonic Viewpad, Jay-tech, ...)
actual situation


          resitive touchscreens               capacative touchscreens
 (e.g. ViewSonic Viewpad, Jay-tech, ...)   (e.g. Samsung Galaxy Nexus)
actual situation


          resitive touchscreens                   capacative touchscreens
 (e.g. ViewSonic Viewpad, Jay-tech, ...)       (e.g. Samsung Galaxy Nexus)




capacative touchscreens with capacitive pens
     (e.g. Samsung Galaxy Note 10.1)
actual situation


          resitive touchscreens                   capacative touchscreens
 (e.g. ViewSonic Viewpad, Jay-tech, ...)       (e.g. Samsung Galaxy Nexus)




                                                 capacative touchscreens with
capacative touchscreens with capacitive pens
                                                     pressure sensitive pens
     (e.g. Samsung Galaxy Note 10.1)
                                               (e.g. Samsung Galaxy Note 10.1)
Android touch APIs
Ordinary touch events since API level 1

Getting touch directly dispatched on Views

Some APIs can decide if then take the touch or not!

Pressure available since Android API level 9 (2.3, 2.3.1, 2.3.2,
Gingerbread!)
Demo




       own drawing demo
       (drawn on a Samsung Galaxy
             Note with S-Pen)
Demo




          own drawing demo
       (drawn on a Samsung Galaxy Nexus)
Android pressure APIs
public boolean onTouchEvent (final MotionEvent event)



MotionEvent

android.view.MotionEvent
 general touch (since API level 1) and multi touch methods (since API level
 5), pressure data (since API level 5, enhanced since API level 9)

android.view.MotionEvent.PointerCoords
 information regarding the drawing tool (since API level 9)

android.view.MotionEvent.PointerProperties
 information regarding the drawing tool (since API level 14)
Demo




       a view into code
Conclusion




             a pen works
             better and ist
             more detailed
Conclusion




             but it can
             even be
              better
Conclusion




              with the
             right SDK
Download




     http://innovator.samsungmobile.com
Simple JAR file (Demo)

More Related Content

Viewers also liked

Thong diep cho cuoc song
Thong diep cho cuoc songThong diep cho cuoc song
Thong diep cho cuoc songlethao1491
 
Lte의 불편한 진실
Lte의 불편한 진실Lte의 불편한 진실
Lte의 불편한 진실jihyae0265
 
Capital Investment Industrial Modeling Framework - IMPRESS
Capital Investment Industrial Modeling Framework - IMPRESSCapital Investment Industrial Modeling Framework - IMPRESS
Capital Investment Industrial Modeling Framework - IMPRESSAlkis Vazacopoulos
 
Branding and Social Media
Branding and Social MediaBranding and Social Media
Branding and Social Media
Brian LeDuc
 
Arthst2 mat techniques_porcelainlacqueredwood_final
Arthst2 mat techniques_porcelainlacqueredwood_finalArthst2 mat techniques_porcelainlacqueredwood_final
Arthst2 mat techniques_porcelainlacqueredwood_finalall_abby
 
Heroes of Analytics from SAS & Teradata - Illumino
Heroes of Analytics from SAS & Teradata - IlluminoHeroes of Analytics from SAS & Teradata - Illumino
Heroes of Analytics from SAS & Teradata - IlluminoAnalyticSuperheroes
 
Architettura degli elaboratori
Architettura degli elaboratoriArchitettura degli elaboratori
Architettura degli elaboratoriservetti
 
Yanomami folket av aina
Yanomami folket av ainaYanomami folket av aina
Yanomami folket av aina
Fuzzybossen
 
OLa Moema
OLa MoemaOLa Moema
OLa Moema
Moemaeilma
 
Missouri springs
Missouri springsMissouri springs
Missouri springs
Kelly Derrick Guenther
 
Pathang
PathangPathang
Pathang
Jalaja Kumari
 
How to foster
How to fosterHow to foster
How to fosternevarez1
 
Latihan bab6 cikgugeog
Latihan bab6 cikgugeogLatihan bab6 cikgugeog
Latihan bab6 cikgugeogKila Shakila
 

Viewers also liked (17)

Thong diep cho cuoc song
Thong diep cho cuoc songThong diep cho cuoc song
Thong diep cho cuoc song
 
Lte의 불편한 진실
Lte의 불편한 진실Lte의 불편한 진실
Lte의 불편한 진실
 
Benfica in english
Benfica in englishBenfica in english
Benfica in english
 
Speaking
SpeakingSpeaking
Speaking
 
Capital Investment Industrial Modeling Framework - IMPRESS
Capital Investment Industrial Modeling Framework - IMPRESSCapital Investment Industrial Modeling Framework - IMPRESS
Capital Investment Industrial Modeling Framework - IMPRESS
 
Branding and Social Media
Branding and Social MediaBranding and Social Media
Branding and Social Media
 
Arthst2 mat techniques_porcelainlacqueredwood_final
Arthst2 mat techniques_porcelainlacqueredwood_finalArthst2 mat techniques_porcelainlacqueredwood_final
Arthst2 mat techniques_porcelainlacqueredwood_final
 
Heroes of Analytics from SAS & Teradata - Illumino
Heroes of Analytics from SAS & Teradata - IlluminoHeroes of Analytics from SAS & Teradata - Illumino
Heroes of Analytics from SAS & Teradata - Illumino
 
Architettura degli elaboratori
Architettura degli elaboratoriArchitettura degli elaboratori
Architettura degli elaboratori
 
Yanomami folket av aina
Yanomami folket av ainaYanomami folket av aina
Yanomami folket av aina
 
Team 5
Team 5Team 5
Team 5
 
OLa Moema
OLa MoemaOLa Moema
OLa Moema
 
Missouri springs
Missouri springsMissouri springs
Missouri springs
 
Pathang
PathangPathang
Pathang
 
How to foster
How to fosterHow to foster
How to foster
 
클라우드
클라우드클라우드
클라우드
 
Latihan bab6 cikgugeog
Latihan bab6 cikgugeogLatihan bab6 cikgugeog
Latihan bab6 cikgugeog
 

Similar to Touch macht Druck

android-tutorial-for-beginner
android-tutorial-for-beginnerandroid-tutorial-for-beginner
android-tutorial-for-beginnerAjailal Parackal
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application Development
Adeel Rasheed
 
cpuk10745
cpuk10745cpuk10745
cpuk10745
Chandan Kumar
 
Android architecture and Additional Components
Android architecture and Additional ComponentsAndroid architecture and Additional Components
Android architecture and Additional Components
SoftNutx
 
Build Mobile Application In Android
Build Mobile Application In AndroidBuild Mobile Application In Android
Build Mobile Application In Androiddnnddane
 
CSS for Touch Devices
CSS for Touch DevicesCSS for Touch Devices
CSS for Touch Devices
Emma Woods
 
3D in Android
3D in Android3D in Android
3D in Android
Wen Jiun Yap
 
Trends in mobile sensors: how smartphones keep changing our life
Trends in mobile sensors: how smartphones keep changing our lifeTrends in mobile sensors: how smartphones keep changing our life
Trends in mobile sensors: how smartphones keep changing our life
SnapbackLabs
 
Android
AndroidAndroid
Windows 8.1 term paper
Windows 8.1 term paperWindows 8.1 term paper
Windows 8.1 term paper
sadanandam anupoju
 
Build your wp8 app today
Build your wp8 app todayBuild your wp8 app today
Build your wp8 app today
jalpf
 
Google Android Exhibition Slides Jan 29-Feb 2, 2010
Google Android Exhibition Slides Jan 29-Feb 2, 2010Google Android Exhibition Slides Jan 29-Feb 2, 2010
Google Android Exhibition Slides Jan 29-Feb 2, 2010
Schogini Systems Pvt Ltd
 
Introduction to GUIs with guizero
Introduction to GUIs with guizeroIntroduction to GUIs with guizero
Introduction to GUIs with guizero
primeteacher32
 
Advance ui development and design
Advance ui  development and design Advance ui  development and design
Advance ui development and design
Rakesh Jha
 
AiRaid: Rise of the Undead
AiRaid: Rise of the UndeadAiRaid: Rise of the Undead
AiRaid: Rise of the Undead
3scale.net
 
Designing Apps for the Motorola XOOM
Designing Apps for the Motorola XOOM Designing Apps for the Motorola XOOM
Designing Apps for the Motorola XOOM
Motorola Mobility - MOTODEV
 
Cucumber meets iPhone
Cucumber meets iPhoneCucumber meets iPhone
Cucumber meets iPhone
Erin Dees
 
Augmented reality for consumer devices
Augmented reality for consumer devicesAugmented reality for consumer devices
Augmented reality for consumer devices
jbienz
 

Similar to Touch macht Druck (20)

android-tutorial-for-beginner
android-tutorial-for-beginnerandroid-tutorial-for-beginner
android-tutorial-for-beginner
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application Development
 
cpuk10745
cpuk10745cpuk10745
cpuk10745
 
Android architecture and Additional Components
Android architecture and Additional ComponentsAndroid architecture and Additional Components
Android architecture and Additional Components
 
Build Mobile Application In Android
Build Mobile Application In AndroidBuild Mobile Application In Android
Build Mobile Application In Android
 
CSS for Touch Devices
CSS for Touch DevicesCSS for Touch Devices
CSS for Touch Devices
 
3D in Android
3D in Android3D in Android
3D in Android
 
Trends in mobile sensors: how smartphones keep changing our life
Trends in mobile sensors: how smartphones keep changing our lifeTrends in mobile sensors: how smartphones keep changing our life
Trends in mobile sensors: how smartphones keep changing our life
 
Android
AndroidAndroid
Android
 
Windows 8.1 term paper
Windows 8.1 term paperWindows 8.1 term paper
Windows 8.1 term paper
 
GeekSpeak: Mobile Gestures
GeekSpeak: Mobile GesturesGeekSpeak: Mobile Gestures
GeekSpeak: Mobile Gestures
 
Build your wp8 app today
Build your wp8 app todayBuild your wp8 app today
Build your wp8 app today
 
Google Android Exhibition Slides Jan 29-Feb 2, 2010
Google Android Exhibition Slides Jan 29-Feb 2, 2010Google Android Exhibition Slides Jan 29-Feb 2, 2010
Google Android Exhibition Slides Jan 29-Feb 2, 2010
 
Introduction to GUIs with guizero
Introduction to GUIs with guizeroIntroduction to GUIs with guizero
Introduction to GUIs with guizero
 
Android overview
Android overviewAndroid overview
Android overview
 
Advance ui development and design
Advance ui  development and design Advance ui  development and design
Advance ui development and design
 
AiRaid: Rise of the Undead
AiRaid: Rise of the UndeadAiRaid: Rise of the Undead
AiRaid: Rise of the Undead
 
Designing Apps for the Motorola XOOM
Designing Apps for the Motorola XOOM Designing Apps for the Motorola XOOM
Designing Apps for the Motorola XOOM
 
Cucumber meets iPhone
Cucumber meets iPhoneCucumber meets iPhone
Cucumber meets iPhone
 
Augmented reality for consumer devices
Augmented reality for consumer devicesAugmented reality for consumer devices
Augmented reality for consumer devices
 

Recently uploaded

Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 

Recently uploaded (20)

Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 

Touch macht Druck

  • 1. Android does pressure! (a look into problems I discovered when writing pressure sensitive applications)
  • 2. actual situation resitive touchscreens (e.g. ViewSonic Viewpad, Jay-tech, ...)
  • 3. actual situation resitive touchscreens capacative touchscreens (e.g. ViewSonic Viewpad, Jay-tech, ...) (e.g. Samsung Galaxy Nexus)
  • 4. actual situation resitive touchscreens capacative touchscreens (e.g. ViewSonic Viewpad, Jay-tech, ...) (e.g. Samsung Galaxy Nexus) capacative touchscreens with capacitive pens (e.g. Samsung Galaxy Note 10.1)
  • 5. actual situation resitive touchscreens capacative touchscreens (e.g. ViewSonic Viewpad, Jay-tech, ...) (e.g. Samsung Galaxy Nexus) capacative touchscreens with capacative touchscreens with capacitive pens pressure sensitive pens (e.g. Samsung Galaxy Note 10.1) (e.g. Samsung Galaxy Note 10.1)
  • 6. Android touch APIs Ordinary touch events since API level 1 Getting touch directly dispatched on Views Some APIs can decide if then take the touch or not! Pressure available since Android API level 9 (2.3, 2.3.1, 2.3.2, Gingerbread!)
  • 7. Demo own drawing demo (drawn on a Samsung Galaxy Note with S-Pen)
  • 8. Demo own drawing demo (drawn on a Samsung Galaxy Nexus)
  • 9. Android pressure APIs public boolean onTouchEvent (final MotionEvent event) MotionEvent android.view.MotionEvent general touch (since API level 1) and multi touch methods (since API level 5), pressure data (since API level 5, enhanced since API level 9) android.view.MotionEvent.PointerCoords information regarding the drawing tool (since API level 9) android.view.MotionEvent.PointerProperties information regarding the drawing tool (since API level 14)
  • 10. Demo a view into code
  • 11. Conclusion a pen works better and ist more detailed
  • 12. Conclusion but it can even be better
  • 13. Conclusion with the right SDK
  • 14. Download http://innovator.samsungmobile.com
  • 15. Simple JAR file (Demo)