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 Studo 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 Studo 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
gear s2에서 NFC태그를 이용해서 사용자를 인증할수있는 기능을 구현하고싶습니다.
기어s2의 nfc를 이용해서 사용자 인증을 하는 기능을 구현하려합니다
nfc리더기에 갤럭시기어s2를 갖다대면 nfc기능을 인식하게 하고싶은데
샘플코드를 이용해서 해봤는데 제대로 작동하지가 않습니다.
상업용이아닌 학습용으로 쓰려합니다.
config.xml에 nfc 관련된 권한설정을 하고 기본예제를 돌리면 app.js (25) :UnknownError: app_control_send_operation failed이런오류가 발생합니다.
에뮬레이터에 modify에서 nfc도 체크했습니다. 사용한 js입니다.
var gNfcAdapter;
var onPowerOn = function(){ // Called when NFC adapter is powered on
try {
console.log(“Power on succeed”);
// Implement NFC communication routines …
gNfcAdapter.setPowered(
false, // Disable NFC adapter
function () {console.log(“Power off succeed”); }, // Handle success
function () {console.log(“Power off failed”); }); // Handle failure
} catch (err) {
console.log(err.name + “: “ + err.message);
}
};
try {
gNfcAdapter = tizen.nfc.getDefaultAdapter();
if (!gNfcAdapter.powered) {
gNfcAdapter.setPowered(
true, // Enable NFC adapter
onPowerOn, // Handle success
function () {console.log(“Power on failed”)}); // Handle failure
} else {
onPowerOn();
}
} catch (err) {
console.log(err.name + “: “ + err.message);
}
기본태그로
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio