Pen SDK, Samsung
Upcoming SlideShare
Loading in...5
×
 

Pen SDK, Samsung

on

  • 1,595 views

 

Statistics

Views

Total Views
1,595
Views on SlideShare
1,460
Embed Views
135

Actions

Likes
0
Downloads
13
Comments
0

1 Embed 135

http://de.droidcon.com 135

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Pen SDK, Samsung Pen SDK, Samsung Presentation Transcript

  • New opportunities using theSamsung S Pen SDK 2.0
  • Galaxy Note – Super AMOLED Display 1280x800 Large 5.3” display (285 ppi) S-pen solution Portable, Slim, light (9.6mm) (178g)
  • 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 View slide
  • 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 View slide
  • SoftwareDevelopmentKit
  • Xyzmo SIGNificant
  • developer.samsung.com
  • Cont ent s of t he SDK libspen.jar Dev Guide Sample Application
  • 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…
  • 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 {
  • Ani m i on atShow Animation from the Drawing Animation
  • Ani Animationifrom the Drawing Show m on at Animation
  • 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); } }