Use your imagination and creativity to design your own custom haptics (touch) effects! With Immersion’s MOTIV Studio tool, you can create customized touch effects to match the unique visuals of your application. In this session, we will walk you through the Studio tool, showing you how to create the maximum impact through custom haptic effects.
18. Adding MOTIV Haptics to an Android application
SDK and Studio available at: www.immersion.com/MOTIVsdk
MOTIV Bridge: https://market.android.com/details?id=com.immersion.designerbridge
31. Play Effect
Play a haptic effect from the IVT
device.playIVTEffect(ivt, myeffects.Periodic);
Once the Device and IVTBuffer objects are created and
initialized, you can play the actual effect by using the
playIVTEffect() method.
Since one IVTBuffer may contain many effects, an effect
index is used to identify the one you wish to play.
In the exported Java code, the effect indices are stored
as constants. You determine the names of the effects by
looking at the Java code.
32. Stop Effect
• Stop the haptic effect from the IVT.
device.stopAllPlayingEffects();
Close the Device Object
device.close();
The Device must be closed after it has been used to play
and stop the haptic effects. This ensures that there are no
resource leaks in the application. 32
33. 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 your cool custom
MOTIV Studio effects to your applications.
But let‟s review the steps within the Eclipse environment
itself through the simple Airplane Crash demo application
just to make sure you understand.
33
36. Additional Resources
http://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
37. 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 37
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.
Switch to MOTIV Studio and create effects for export, referencing the sound files too in Timelines.
Switch over to Eclipse to run through the actual steps in the code.
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.