Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Swipe on Gear 2
I want to detect swipes on Gear 2. I’ve tried several things:
My own code based on onMouseMove event, works in browser, but on device it only fires on a fresh press and not a move.
This code, again works on browser:
<link rel=”stylesheet” href=”http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css”>
<script src=”http://code.jquery.com/jquery-1.10.2.min.js”></script>
<script src=”http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js”></script>
$(‘#canvas’).bind(‘swipeleft’,function(){
Game.title.textContent = “swipeleft”;
});
$(‘#canvas’).bind(‘swiperight’,function(){
Game.title.textContent = “swiperight”;
});
This complains: js/main.js (70) :ReferenceError: Can’t find variable: $
What do I need to do to enable JQuery or can that be translated to reqular javascript?
Also, why does onMouseMove not work?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio