Senin, 10 April 2017

Web Development Certificate


welcome back to another episode of samsung developers. this is vincent bringing you an introduction to tizen. this video will give you all the basic things that you need to know on developing with tizen applications. then show you how to set-up your development environment, and create a basic tizen application that can be used on the new samsung z1. tizen, the os for everything, is an open-source, cross platform operating system that allows developers to create feature-rich applications to cater multiple domains. tizen provides two types of frameworks for developers. first, is the native framework which can be used to develop native applications.

and the other one is the web framework that can be used to develop web applications. one can also combine these two frameworks and make a more powerful hybrid application. now, before we start creating sample applications we need the following: a tizen ide, for developing tizen web and native applications, and a tizen extension sdk for certificate. the tizen extension sdk for certificate provides the tizen ide with functionalities to request and register certificates. here are the steps to set-up our development environment. first we go to developer.samsung.com. click on samsung z. now we have to download two things, the tizen sdk and tizen extension sdk for certificate.

for the tizen extension sdk for certificate, just click on “download now!” to get the downloadable. the tizen sdk includes an install manager and an sdk image. choose the right install manager and sdk image for your platform. just click on the link provided to start your download. after the download has finished, we can now go on with installation. let’s install the tizen ide first. navigate to the downloaded files then click the install manager. wait for the window to open up then click “advanced”.

tick “sdk image” then search for the image file of the tizen sdk. click ok. click install then next. read the license agreement then click “agree”. finally click install. wait for the process to finish. the tizen ide is now installed into your system. next thing we are going to install is the tizen extension sdk for certificate.

open the installer manager again. this time click on “update”. click extra repository then click “add”. choose a name for your added repository then key in the location of the extracted tizen extension file. click “ok”. check “certificate extension” then hit “install”. on your tizen ide, let’s create a basic web application. click on file > new > tizen web project.

just leave it at that, then input a project name. if you’re satisfied click “finish”. let’s go to index.html and edit “tizen app” into “hello tizen!”. after that, right click on the project then click run as > tizen web simulator application. the tizen web simulator will open and as you can see the “hello tizen!” we edited earlier is shown. also on the side of the simulator are some tools that can help you as you develop tizen web apps. next we’re going to create a tizen native application. click on file > new > project > tizen > tizen native project then hit “next”. choose “ui application” then “basic ui application”.

choose a name for your project then click “finish”. next let’s open the c file from the src folder. in this we also change the phrase “hello efl” to “hello tizen!”. then after that save it. now we are ready to run our applications. but first we must create an emulator that will contain our applications. go to “connection explorer” then click “emulator manager”. create new vm then click “confirm”.

to boot the emulator, click the play button. now, let’s run the web application on our emulator. as you can see en error appeared. it says “active secure profile is not set”. it means we need to generate a certificate first before we can run applications on our emulator. let’s go ahead and do that. click on window > preferences > tizen sdk > security profiles. click “add” then enter a profile name. after that click “generate” then fill in the required fields.

click “ok” then “yes”. now that’s done, let’s go back and try again to run our web application. our web app has successfully run on the emulator. next, let’s try and check out our native application. as we can see, the native application also has no problem running on our emulator. you must first request and register a certificate to run and verify your application on tizen. notice the register certificate icon on the toolbar. if it is not present, you have to install the “tizen extension sdk for certificate.” the “request and register a certificate” window will appear.

first we must generate a csr file then, new. fill in the fields. select “request the certificate” and browse for the csr you generated earlier, then click on “submit.” check your email for the crt file sent by samsung tizen. download the file. go back to the tizen ide and click “request a device profile.” select the privilege level and paste the duid of either the emulated device or the device connected to your computer.

click “submit.” check your email again for the certificate file - an xml file – then download - and take note of the password. on the author group in the window, browse for the author.crt file earlier and input the password you gave while generating the csr file. on the device profile group, browse for the certificate file sent to you and input the password included on the same email. you can see that the generated certificates for the author and device profiles are now active. right click on the connected device in connection explorer tab, then click “permit to install application.” you will then be notified that you succeeded to upload a certificate. don’t forget to generate certificate to run your applications on the emulator and on your tizen devices.

if your creating a web application, you can use tizen web simulator to check out your application. and lastly, in creating your applications, you can use either tizen native or tizen web. be sure to select the best application type for your project. that’s about it for developing a tizen app. for inquiries, please post your questions on the official forum at developer.samsung.com. also, don’t forget to give a thumbs-up on the video and subscribe to the samsung developers channel. thanks for watching.

Download Top 5 Powerpoint Presentation Template for Free

Tidak ada komentar:

Posting Komentar