언어 설정

Menu
Sites
Language
Doesn't work Web Audio Api App

Hi guys! I've just downloaded the app from https://developer.tizen.org/documentation/articles/working-web-audio-api  and example source code (soundplayer.zip) didn't launch success. The error is: "tizen is not defined". What's wrong with it? I use Tizen SDK 2.2.1.

The error appears after this code: 

        try {
            tizen.filesystem.resolve('music', onMusicResolveSuccess, onError); //this line
        } catch (e) {
            tlib.logger.err(e);
        }
Edited by: Aliaksiej Maroz on 06 5월, 2014

Responses

1 댓글
Md. Anwar Parvez

Tizen SDK 2.2.1 is already deprecated.

Try with Tizen SDK 2.4 Rev2 from https://developer.tizen.org/development/tools/download#2.4.

Then import the application as follows: File->import->Web Projects and Web Application File-> Select Root Directory->Finish. Now run the app.

Please note that this is a tv app. So incase of using emulator choose Tizen Web Simulator Application (Samsung TV)