Skip to content

Frequently Asked Questions

zuzu_yun edited this page Apr 13, 2017 · 1 revision

Question 1

Can I build the development environment setting simply / easily?

Answer

  • We provide script files which can do automatic setting from git clone to build and package for TOAST. There will be more helpful for starting with TOAST.
  • But maybe if you'd like to know little more about this project in detail, we recommend to proceed with step by step directly. It will become great help to you very much for using TOAST.
  • For more information, go to Script File & Prepare to start

Question 2

The error related to "Content Security Policy" is occurred in tizen.

Answer

  • Delete under meta tag.
    <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
  • In tizen, "Content Security Policy" rule can be only applied in 'config.xml', so that meta tag is not needed. It can occur conflict.

Question 3

Can't find variable: toast

Answer

  • The 'toast.js' file is created among the build process. So if you want to use toast APIs, include the file in www/index.html.
    <script type="text/javascript" src="toast.js"></script>

Question 4

Failed to load resource: cordova_plugin.js

Answer

  • The 'cordova_plugin.js' file is not created in TOAST process because the TOAST plugin is not an official plugin of Cordova. Accordingly we found the solution in order to solve this problem.
  • So now, this file doesn't have an effect on your TOAST web app for installing / operating / etc at all.
    Therefore you don't need to pay attention to this message.

Question 5

The command 'tizen' / ‘ares’ failed.

Answer

  • For Tizen/webOS project, the error is occurred due to problem of the environment variable setup process in build process.
  • For more information, go to How to build and package

Question 6

I have the error that is “java.lang.NoClassDefFoundError”.
How can I solve this error?

Answer

  • The reason of "NoClassDefFoundError" error is the non-installation of Native CLI. So please check again.
  • For more information, go to How to install Native CLI

Question 7

"The [http://developer.samsung.com/privilege/drminfo] privilege is required" error in tizen IDE

Answer

  • The following condition is necessary for testing the “Drminfo module” in TOAST app.
  • Add privilege in 'config.xml'
    <tizen:privilege name="http://developer.samsung.com/privilege/drminfo"/>
  • Certification for partner level is required to use drminfo module in tizen. So you should create a "Certificate" for partner level in tizen IDE.
  • For more information, go to How to create certificate & What is the privilege

Question 8

I want to access/use the Orsay/Tizen APIs that is not supported in TOAST.

Answer

  • You can access/use the device APIs for each platform that is not supported in TOAST through "Platform detection".
  • For more information, go to Platform Detection
Clone this wiki locally