• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
WIP Back to School Webinars - Make Your Android App Rock-n- Roll with Haptics presented by Immersion
 

WIP Back to School Webinars - Make Your Android App Rock-n- Roll with Haptics presented by Immersion

on

  • 1,359 views

How can you make your app stand out? Want users coming back for more? Make your application come to life with haptic feedback! Haptic (or touch) feedback create interactive and engaging user ...

How can you make your app stand out? Want users coming back for more? Make your application come to life with haptic feedback! Haptic (or touch) feedback create interactive and engaging user experiences, which translates to more enthusiastic users investing more time in your app...In this session, we will take you step-by-step through the Immersion MOTIV SDK, teaching you how to quickly and easily incorporate pre-designed haptic effects to your apps.

Statistics

Views

Total Views
1,359
Views on SlideShare
1,359
Embed Views
0

Actions

Likes
0
Downloads
16
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

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
  • Immersion provides Android developers with a Universal Haptic Layer (UHL) that includes a library of 124 prebuilt haptic effects. You can also use Immersion’s MOTIV Studio to easily create your own custom haptic effects. MOTIV Studio works in tandem with MOTIV Bridge to allow you to test effects on an Android device.
  • This application also shows you the code needed for playback within your application when you sample an effect in this app.
  • Immersion is looking to build a wall of devices as well as a wall of applications for Mobile World Congress. We would like to add more application demos to our devices as well as showcase to our OEM partners for potential bundling opportunities. We are getting more and more demand for haptic applications in the market place and from our partners. Developers can contact us through the MOTIVdev@immersion.com if they have a cool Haptic app to tell us about.
  • These are some but not all the various activities and co-marketing efforts Immersion is willing to invest in compelling applications. We make a lot of effort to showcase new and exciting applications from developers.

WIP Back to School Webinars - Make Your Android App Rock-n- Roll with Haptics presented by Immersion WIP Back to School Webinars - Make Your Android App Rock-n- Roll with Haptics presented by Immersion Presentation Transcript

  • Adding MOTIV UHL haptic effectsto your Android applicationBob Heubel & Richard Mar presentingSeptember 2011NASDAQ: IMMR ©2011 Immersion Corporation–Confidential 1
  • Agenda – We will answer these questions: Who is Immersion? What is haptics? How can Haptics be applied to Android apps? What is Immersion‟s MOTIV Platform for Android? How do you code the MOTIV Universal Haptic Layer (UHL) into your apps? Where do you find additional MOTIV resources? What is the meaning of life? (time permitting) ©2011 Immersion Corporation–Confidential 2
  • Before we start, you should...  As an experienced Android developer, you should have these tools installed on your machine:  Java SE  Eclipse  Android SDK  Android Developer Tools ©2011 Immersion Corporation–Confidential 3
  • Additionally, you will need…  Download latest Immersion UHL to your PC http://www.immersion.com/MOTIVsdk  Install “UHL Effect Preview” application from the Android Market ©2011 Immersion Corporation–Confidential 4
  • Who is Immersion?©2011 Immersion Corporation–Confidential 5
  • Company HighlightsImmersion: The Haptics CompanyNASDAQ: IMMR Technology Leader Developing haptics solutions Established in Large and since 1993 Rapidly Growing Markets– Our tech is in 750+ million devices– Mobile phones, game controllers, auto, World Class Customer Base industrial, casino, other portable devices Samsung, Nokia, LG, Sony, Microsoft, Logitech, Lexus, BMW, CAE… Worldwide Support – Offices in EU, Korea, Taiwan, Japan, US & Strong Intellectual Property Canada Portfolio of 1,200+ granted and pending patents in the field of Haptics related to both hardware and software ©2011 Immersion Corporation–Confidential 3
  • What is haptics?©2011 Immersion Corporation–Confidential 7
  • The Science of HapticsHaptics is the science concerned with how people explore their environment through their sense of touch (tactile feedback) Feeling a Feeling a Vs. Haptic real bump simulation of on a a bump on a surface surface Haptic interfaces simulate real-world forces ©2011 Immersion Corporation–Confidential 8
  • The Science of Haptics Role of touch is often underestimated. We rely extensively on touch to perform many tasks, like: – Controlling the movement of objects including our own bodies – Perceiving the world around us through the objects we interact with Haptic interactions rely on mechanical signals like: – Applied forces – Applied torques – Movement of objects – Geometry and mass of objects – Stiffness and texture of materials Haptic interfaces use actuators (motors) to create haptic sensations that simulate real-world interactions ©2011 Immersion Corporation–Confidential 9
  • Common Haptic Device Examples Force-feedback and rumble feedback gaming ©2011 Immersion Corporation–Confidential 10
  • The Benefits of Haptics  Provides an enhanced user-experience that is more engaging, intuitive and personal  On touchscreen devices, Haptics assists in hand-eye coordination--confirming task or data input completion or acceptance by the UI elements  More fun for gaming and entertainment apps  Opens up a new communication channel that can be used with or without audio or visual cues... – Example, using vibe patterns to identify callers without use of sound. – Example, using vibe patterns to as navi-cues to navigate while walking through the city, without the need for looking at your handset GPS map. ©2011 Immersion Corporation–Confidential 11
  • More Examples of Applied Haptics Virtual keypads & “Enzo’s Pinball” by “Solo” by Codingkeyboards that feel Haptify let’s you feel Caveman lets you feel like mechanical the pinball each string of the guitar buttons collisions, bumpers & as you strum flippers ©2011 Immersion Corporation–Confidential 12
  • Immersion‟s Haptic Technologies for the Android Platform ©2011 Immersion Corporation–Confidential 13
  • Immersion‟s Haptic Technologies Developer tools and resources (MOTIV SDK) Universal Haptic Layer (UHL) that contains a library of 124 pre-made effects for developers Software emulator included with MOTIV SDK that allows consistent playback in haptic experience across all Android devices Embedded software player technology (TouchSense) for OEMs to use that allows the highest quality Haptic playback possible ©2011 Immersion Corporation–Confidential 14
  • What does the MOTIV SDK do for you? Saves you time developing effects that feel good across all Android devices and platforms, not just a single device or platform version (1.6 or higher) Allows you to have more than simple motor on/off vibration control, like ramps, staccato repeats and complicated patterns Consistent vibe effects across ALL Android devices.  Devices with TouchSense embedded player technology will feel the best (1/4 billion devices to date) but the MOTIV emulator creates compatibility support on all other Android devices. Code once! 15
  • Example – Benefits of MOTIV SDK Using standard Google vibrate () you must define motor “on” durations for each device type – Not useful, not effective for gaming – Very time consuming to code – Your effect may feel fine on one Android device but horrible on another, due to differences in vibe motors Using MOTIV, we abstract this level for you – You choose an effect you want from a library – It will automatically feel consistent across all devices whether it is an explosion, click, or bounce – We call this our Universal Haptic Layer (UHL) 16
  • Immersion MOTIV Platform Universal Haptic Layer (UHL) ©2011 Immersion Corporation–Confidential 17
  • Adding UHL Haptics to an Android Application
  • Universal Haptic Layer Available for download on www.immersion.com/MOTIVsdkVerbose documentation at http://www.immersion.com/MOTIVuhl ©2011 Immersion Corporation–Confidential 19
  • Free Effect Preview App  Available from the Android Market now  Allows you to feel the library on any Android device  Provides code sample for each vibe launcher effect  Awesome on Android handsets with embedded TouchSense player installed by the OEMs  Good on all other Android handsets and tablets allowing vibe control not available with standard Google vibe () ©2011 Immersion Corporation–Confidential 20
  • UHL Library of Effects in Preview AppThe UHL library contains 124 pre-designed effects.For design purposes, these effects are groupedinto categories:  Selection confirmation effects  Scroll effects  Alert/Alarm effects  Animation Transition effects  Game effects  Texture effects ©2011 Immersion Corporation–Confidential 21
  • UHL Effect Preview App on Android Market ©2011 Immersion Corporation–Confidential 22
  • Code Demo:Integrating UHL Haptics into an Android sample application ©2011 Immersion Corporation–Confidential 23
  • You should... As an experienced Android developer, you should have practical experience with Eclipse and: Android architecture The life cycle of components Event handling Debugging and application Deploying an application to a device ©2011 Immersion Corporation–Confidential 24
  • Download Resources Download latest Immersion UHL to your PC http://www.immersion.com/MOTIVsdk Install latest “UHL Effect Preview” application from Android Market ©2011 Immersion Corporation–Confidential 25
  • Add UHL to Eclipse project• Extract UHL_x_x_xx.zip somewhere• Copy extracted libImmEmulatorJ.so file to your Eclipse project libs/armeabi folder (create folders if necessary)• In Eclipse, refresh project to see libs/armeabi/libImmEmulatorJ.so• Navigate to Project > Properties > Build Path > Configure Build Path…• Click on Add External JARs…• Browse to location of extracted UHL.jar file For additional information, visit the Immersion website: http://www2.immersion.com/developers/index.php?option=com_ content&view=article&id=495&Itemid=812 ©2011 Immersion Corporation–Confidential 26
  • Add Import Statement  Import the Launcher class wherever the Launcher will be used import com.immersion.uhl.Launcher;Add Launcher Member • Add a Launcher member to the main Activity class or other application-wide class private Launcher m_launcher; ©2011 Immersion Corporation–Confidential 27
  • Instantiate Launcher  Instantiate the Launcher object once, usually in the main Activity onCreate function try { m_launcher = new Launcher(this); } catch (RuntimeException e) { Log.e(“My App”, e.getMessage()); }Use MOTIV UHL Effect Preview AppUse the Effect Preview application from the Android Market to feel thebuilt-in effects and determine which effect IDs to use in your application. ©2011 Immersion Corporation–Confidential 28
  • Play Effect  Play a haptic effect try { m_launcher.play(Launcher.BOUNCE_100); } catch (RuntimeException e) {} Use Effect Preview Application on your target Android phone to choose effect.
  • Stop Effect • Stop the haptic effect. try { m_launcher.stop(); } catch (RuntimeException e) {} Add this to Activity onPause function in case a phone call is received. 30
  • In a nutshell, that‟s it!If you can handle the setting up your Eclipse environment and understand the last five slides…Then you should be able to add cool UHL effects to your applications.But let‟s review the steps within the Eclipse environment itself through the creation of a simple rolling ball demo application just to make sure you understand. 31
  • Rolling Ball Demo App Example (within Eclipse)©2011 Immersion Corporation–Confidential 32
  • We talked about... Who is Immersion? What is haptics? How can Haptics be applied to Android apps? What is Immersion‟s MOTIV Platform for Android? How do you code the MOTIV Universal Haptic Layer (UHL) into your apps? Where do you find additional MOTIV resources? ©2011 Immersion Corporation–Confidential 33
  • Additional Resourceshttp://www.immersion.com/MOTIVsdk Developer guide http://www.immersion.com/MOTIVguide Reference doc http://www.immersion.com/MOTIVref Sample code http://www.immersion.com/MOTIVcode Forum http://www.immersion.com/MOTIVforum MOTIV Studio (Only for advanced custom effect design) http://www.immersion.com/MOTIVsdk
  • Immersion‟s Got Apps Campaign Immersion Building a Wall of Haptic Apps for Mobile World Congress (MWC „12) in Barcelona, Spain. – Show us your apps using the Immersion MOTIV UHL SDK and add “Integrated with Immersion MOTIV Haptic Effects” to your description page – Launch in Android Market or any other Android app store – If your app is compelling, we‟ll help you promote it and demo it at Mobile World Congress – Feb 2012 and other tradeshows – AND drive connection to our OEM / Carrier partners Contact us at MOTIVdev@immersion.com to participate 35
  • Immersion to Promo Your Cool Haptic Apps  Inclusion in Immersion‟s outreach to over 30 major technology & review channels including: – Engadget, PC World, AndroidPolice, Appolicious, VentureBeat/GameBeat, Android Central, etc…  Highlight of your app in Immersion‟s Feature App section of their Developer‟s site (developer.immersion.com)  Inclusion in Immersion‟s publicly issued press releases  Potential inclusion on Immersion promotional videos/animations  Demos to Immersion‟s major OEM partners for bundling opportunties  Inclusion in Immersion demonstrations at upcoming tradeshows and conferences like AnDevCon, MWC, etc. ©2011 Immersion Corporation–Confidential 36
  • Thank you!Bob Heubel & Richard Mar presentingSeptember 2011NASDAQ: IMMR ©2011 Immersion Corporation–Confidential 37