SlideShare a Scribd company logo
Samsung  Galaxy  Note  
S  Pen  SDK  2.0
3-­‐5-­‐2012
Galaxy  Note  ʹ Super  AMOLED  Display
/DUJH´GLVSOD
S-pen solution
(285 ppi)
Portable, Slim, light
1280x800
(9.6mm) (178g)
Galaxy  Note  ʹ Premium  Smartphone  
8MP auto focus
with LED flash
2 MP front
facing camera
Shoots 1080p video
16GB storage
Support Up to 32GB SD card
1 GB RAM
Wi-Fi 802.11b/g/n
Accelerometer
Gyroscope
Compass
Barometer
Galaxy  Note  -­‐ Best  Multi-­‐Input  Experience    
Capacitive touch
S Pen
256 levels of pressure
Sensitivity
Deep integration
With the screen
And the OS
The S Pen
Overcoming  Limitations:
Is  There  Something  Missing?
Software
Development
Kit
Dev  Guide Sample
Application
libspen.jar
Contents of the SDK
Libraries Add  External  JARs libspen.jar
Java  Build  Path
Java  Build  Path
Libraries
libspen.jar
ĚĚdžƚĞƌŶĂů:ZƐ͙
Adding the JAR File to
Your Project
Import  com.samsung.sdraw.*
Import  com.samsung.spensdk.*
Packages  to  Use  S  Pen  Features  
import android.app.Activity;
import  android.os.Bundle;
import com.samsung.sdraw.CanvasView;
import com.samsung.sdraw.SDrawLibrary;
import com.samsung.sdraw.SettingView;
import com.samsung.sdraw.AbstractSettingView;
import  com.samsung.sdraw.AbstractSettingView.SettingChangeListener;
import com.samsung.spensdk.SCanvasView;
import com.samsung.spensdk.SCanvasView.OnPlayCompleteUICB;
import com.samsung.spensdk.SCanvasView.OnPlayProgressChangeUICB;
public  class SampleActivity extends Activity  {
Packages  to  Import
Show  Animation  from  the  Drawing
Animation
Animation
Initialize  the  ͚SCanvasView͛ĂŶĚ^ĂŵƐƵŶŐŶŝŵĂƚŝŽŶDĞŵŽŝďƌĂƌLJ
public  class  SampleActivity extends Activity  {
ŝŝŜŜ
private CanvasView mCanvasView;
ŝŝŜŜ
@Override
public  void  onCreate ( Bundle  savedInstanceState )  {
ŝŝŜŜ
mCanvasView =  (CanvasView)  findViewById(R.id.canvas_view);
ŝŝŜŜ
@Override
public  void  onWindowFocusChanged ( boolean hasFocus )  {
ŝŝŜŜ
mCanvasView.createSAMMLibrary();
ŝŝŜŜ
SCanvasView
Call  doAnimationStart()  after  Load  Data
Public  boolean OnWindowFocusChanged(boolean item)  {
super.onWindowFocusChanged(item);
mCanvasView.createSAMMLibrary();
mCanvasView.setOnPlayCompleteListener(  mPlayCompleteLister );
mCanvasView.setOnPlayProgressChangeListener(  mPlayProgressChangeListener );
mCanvasView.setAnimationMode(true);
Intent  intent =  getIntent();
String  sDataKey =  intent.getStringExtra(EXTRA_VIEW_FILE_PATH);
if (mCanvasView.loadSAMMData(sDataKey))
{
mCanvasView.doAnimationStart(true);
}
}
Animation
DEVELOPER.SAMSUNG.COM
3
To Get the S Pen SDK
http://developer.samsung.com/android/spen.sdk
Discussion Boards
http://developer.samsung.com/android

More Related Content

Similar to SPen_SDK_2.0_Training_3.5.12.pdf

Supporting multi screen in android cn
Supporting multi screen in android cnSupporting multi screen in android cn
Supporting multi screen in android cn
rffffffff007
 
Developing for Google Glass
Developing for Google GlassDeveloping for Google Glass
Developing for Google Glass
Mark Billinghurst
 
Adobe gaming today tomorrow Trento
Adobe gaming today tomorrow TrentoAdobe gaming today tomorrow Trento
Adobe gaming today tomorrow Trento
InSide Training
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
Dharani Kumar Madduri
 
Flash for Mobile Devices
Flash for Mobile DevicesFlash for Mobile Devices
Flash for Mobile Devices
paultrani
 
Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
sullis
 
Android and android phones
Android and android phonesAndroid and android phones
Android and android phones
rlm_16
 
Introduction to Android - Mobile Portland
Introduction to Android - Mobile PortlandIntroduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
sullis
 
Samsung galaxy note 3 n9005
Samsung galaxy note 3 n9005Samsung galaxy note 3 n9005
Samsung galaxy note 3 n9005
Tiptop Electronics
 
Glass w/o Glass: Developing native Glass applications without the hardware w...
 Glass w/o Glass: Developing native Glass applications without the hardware w... Glass w/o Glass: Developing native Glass applications without the hardware w...
Glass w/o Glass: Developing native Glass applications without the hardware w...
FITC
 
Samsung blazes new trail with the world’s first Android based camera - San Fr...
Samsung blazes new trail with the world’s first Android based camera - San Fr...Samsung blazes new trail with the world’s first Android based camera - San Fr...
Samsung blazes new trail with the world’s first Android based camera - San Fr...
fearlessportrai19
 
Webinar on Google Android SDK
Webinar on Google Android SDKWebinar on Google Android SDK
Webinar on Google Android SDK
Schogini Systems Pvt Ltd
 
Google Glasses Integration with SAP
Google Glasses Integration with SAPGoogle Glasses Integration with SAP
Google Glasses Integration with SAP
Gh14Cc10
 
Comparisons teks
Comparisons teksComparisons teks
Comparisons teks
Kris Feby
 
Project Syndroid
Project SyndroidProject Syndroid
Project Syndroid
cromwellian
 
Starting Native Development on Google Glass
Starting Native Development on Google GlassStarting Native Development on Google Glass
Starting Native Development on Google Glass
Lance Nanek
 
Google glass
Google glass Google glass
Google glass
Amith
 
Rapid and Reliable Developing with HTML5 & GWT
Rapid and Reliable Developing with HTML5 & GWTRapid and Reliable Developing with HTML5 & GWT
Rapid and Reliable Developing with HTML5 & GWT
Manuel Carrasco Moñino
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
Compare Infobase Limited
 
Tren Pengembangan Aplikasi Android di 2021 - Ahmad Arif Faizin
Tren Pengembangan Aplikasi Android di 2021 - Ahmad Arif FaizinTren Pengembangan Aplikasi Android di 2021 - Ahmad Arif Faizin
Tren Pengembangan Aplikasi Android di 2021 - Ahmad Arif Faizin
DicodingEvent
 

Similar to SPen_SDK_2.0_Training_3.5.12.pdf (20)

Supporting multi screen in android cn
Supporting multi screen in android cnSupporting multi screen in android cn
Supporting multi screen in android cn
 
Developing for Google Glass
Developing for Google GlassDeveloping for Google Glass
Developing for Google Glass
 
Adobe gaming today tomorrow Trento
Adobe gaming today tomorrow TrentoAdobe gaming today tomorrow Trento
Adobe gaming today tomorrow Trento
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Flash for Mobile Devices
Flash for Mobile DevicesFlash for Mobile Devices
Flash for Mobile Devices
 
Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
 
Android and android phones
Android and android phonesAndroid and android phones
Android and android phones
 
Introduction to Android - Mobile Portland
Introduction to Android - Mobile PortlandIntroduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
 
Samsung galaxy note 3 n9005
Samsung galaxy note 3 n9005Samsung galaxy note 3 n9005
Samsung galaxy note 3 n9005
 
Glass w/o Glass: Developing native Glass applications without the hardware w...
 Glass w/o Glass: Developing native Glass applications without the hardware w... Glass w/o Glass: Developing native Glass applications without the hardware w...
Glass w/o Glass: Developing native Glass applications without the hardware w...
 
Samsung blazes new trail with the world’s first Android based camera - San Fr...
Samsung blazes new trail with the world’s first Android based camera - San Fr...Samsung blazes new trail with the world’s first Android based camera - San Fr...
Samsung blazes new trail with the world’s first Android based camera - San Fr...
 
Webinar on Google Android SDK
Webinar on Google Android SDKWebinar on Google Android SDK
Webinar on Google Android SDK
 
Google Glasses Integration with SAP
Google Glasses Integration with SAPGoogle Glasses Integration with SAP
Google Glasses Integration with SAP
 
Comparisons teks
Comparisons teksComparisons teks
Comparisons teks
 
Project Syndroid
Project SyndroidProject Syndroid
Project Syndroid
 
Starting Native Development on Google Glass
Starting Native Development on Google GlassStarting Native Development on Google Glass
Starting Native Development on Google Glass
 
Google glass
Google glass Google glass
Google glass
 
Rapid and Reliable Developing with HTML5 & GWT
Rapid and Reliable Developing with HTML5 & GWTRapid and Reliable Developing with HTML5 & GWT
Rapid and Reliable Developing with HTML5 & GWT
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
Tren Pengembangan Aplikasi Android di 2021 - Ahmad Arif Faizin
Tren Pengembangan Aplikasi Android di 2021 - Ahmad Arif FaizinTren Pengembangan Aplikasi Android di 2021 - Ahmad Arif Faizin
Tren Pengembangan Aplikasi Android di 2021 - Ahmad Arif Faizin
 

Recently uploaded

Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 

Recently uploaded (20)

Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 

SPen_SDK_2.0_Training_3.5.12.pdf

  • 1. Samsung  Galaxy  Note   S  Pen  SDK  2.0 3-­‐5-­‐2012
  • 2. Galaxy  Note  ʹ Super  AMOLED  Display /DUJH´GLVSOD S-pen solution (285 ppi) Portable, Slim, light 1280x800 (9.6mm) (178g)
  • 3. Galaxy  Note  ʹ Premium  Smartphone   8MP auto focus with LED flash 2 MP front facing camera Shoots 1080p video 16GB storage Support Up to 32GB SD card 1 GB RAM Wi-Fi 802.11b/g/n Accelerometer Gyroscope Compass Barometer
  • 4. Galaxy  Note  -­‐ Best  Multi-­‐Input  Experience     Capacitive touch S Pen 256 levels of pressure Sensitivity Deep integration With the screen And the OS The S Pen
  • 5. Overcoming  Limitations: Is  There  Something  Missing?
  • 6.
  • 9. Libraries Add  External  JARs libspen.jar Java  Build  Path Java  Build  Path Libraries libspen.jar ĚĚdžƚĞƌŶĂů:ZƐ͙ Adding the JAR File to Your Project
  • 10.
  • 11.
  • 12. Import  com.samsung.sdraw.* Import  com.samsung.spensdk.* Packages  to  Use  S  Pen  Features   import android.app.Activity; import  android.os.Bundle; import com.samsung.sdraw.CanvasView; import com.samsung.sdraw.SDrawLibrary; import com.samsung.sdraw.SettingView; import com.samsung.sdraw.AbstractSettingView; import  com.samsung.sdraw.AbstractSettingView.SettingChangeListener; import com.samsung.spensdk.SCanvasView; import com.samsung.spensdk.SCanvasView.OnPlayCompleteUICB; import com.samsung.spensdk.SCanvasView.OnPlayProgressChangeUICB; public  class SampleActivity extends Activity  { Packages  to  Import
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Show  Animation  from  the  Drawing Animation Animation
  • 28. Initialize  the  ͚SCanvasView͛ĂŶĚ^ĂŵƐƵŶŐŶŝŵĂƚŝŽŶDĞŵŽŝďƌĂƌLJ public  class  SampleActivity extends Activity  { ŝŝŜŜ private CanvasView mCanvasView; ŝŝŜŜ @Override public  void  onCreate ( Bundle  savedInstanceState )  { ŝŝŜŜ mCanvasView =  (CanvasView)  findViewById(R.id.canvas_view); ŝŝŜŜ @Override public  void  onWindowFocusChanged ( boolean hasFocus )  { ŝŝŜŜ mCanvasView.createSAMMLibrary(); ŝŝŜŜ SCanvasView
  • 29. Call  doAnimationStart()  after  Load  Data Public  boolean OnWindowFocusChanged(boolean item)  { super.onWindowFocusChanged(item); mCanvasView.createSAMMLibrary(); mCanvasView.setOnPlayCompleteListener(  mPlayCompleteLister ); mCanvasView.setOnPlayProgressChangeListener(  mPlayProgressChangeListener ); mCanvasView.setAnimationMode(true); Intent  intent =  getIntent(); String  sDataKey =  intent.getStringExtra(EXTRA_VIEW_FILE_PATH); if (mCanvasView.loadSAMMData(sDataKey)) { mCanvasView.doAnimationStart(true); } } Animation
  • 30. DEVELOPER.SAMSUNG.COM 3 To Get the S Pen SDK http://developer.samsung.com/android/spen.sdk Discussion Boards http://developer.samsung.com/android