Pen SDK, Samsung

1,486 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,486
On SlideShare
0
From Embeds
0
Number of Embeds
136
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Pen SDK, Samsung

  1. 1. New opportunities using theSamsung S Pen SDK 2.0
  2. 2. Galaxy Note – Super AMOLED Display 1280x800 Large 5.3” display (285 ppi) S-pen solution Portable, Slim, light (9.6mm) (178g)
  3. 3. Galaxy Note – Premium Smartphone 8MP auto focus with LED flash Shoots 1080p video 16GB storage Support Up to 32GB SD card 1 GB RAM 2 MP front facing camera Wi-Fi 802.11b/g/n Accelerometer Gyroscope Compass Barometer
  4. 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. 5. SoftwareDevelopmentKit
  6. 6. Xyzmo SIGNificant
  7. 7. developer.samsung.com
  8. 8. Cont ent s of t he SDK libspen.jar Dev Guide Sample Application
  9. 9. Addi ng t he JAR Fi l e t oYour Pr oj ect Java Build Path Libraries Add External JARs libspen.jar Libraries Java Build Path libspen.jar Add External JARs…
  10. 10. Packages to ImportImport 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 {
  11. 11. Ani m i on atShow Animation from the Drawing Animation
  12. 12. Ani Animationifrom the Drawing Show m on at Animation
  13. 13. Ani m i on atCall 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); } }

×