Useful Tizen Code Snippets for Tizen App Development

 

When you have trouble developing a Tizen app, you can utilize Tizen Code Snippet (https://developer.tizen.org/community/code-snippet).
With Tizen Code Snippet, developers can refer to code snippets when they develop applications even though it is not running as an app or service. Developers can share their opinion freely and embed to other communities or by SNS. There are already more than 1,000 code snippets available and when you contribute,Tizen Code Snippet will be more abundant. Here are some sample codes.

- OpenGL ES 2.0 deprecate the GLU tools, we have following codes to replace the functionality of the tool gluLookAt().

URL:https://developer.tizen.org/community/code-snippet/native-code-snippet/set-lookat-matrix-opengl-es-2.0

- A example code how to scroll a section using bezel for Gear S2 and it's tested in Tizen SDK 2.3.1.

URL:https://developer.tizen.org/community/code-snippet/web-code-snippet/how-scroll-section-using-bezel-gear-s2

- Example how to crop jpeg image from file using 'Image Util'. Here ad->fileList[ad->curIndex] is some char string with path to file. http://tizen.org/privilege/mediastorage should be in manifest.

URL: https://developer.tizen.org/community/code-snippet/native-code-snippet/crop-jpeg-file

- An example of function which returns button with specified text label ready to pack to parent component. It also has set size and align.

URL:https://developer.tizen.org/community/code-snippet/native-code-snippet/create-simple-button-efl

- This is example for how to drag and drop in html5

URL:https://developer.tizen.org/community/code-snippet/web-code-snippet/drag-and-drop-html5?tab=all?tab=all

A small amount of code that you make and upload is valuable for other developers. By gathering all codes, we hope that they are helpful for all Tizen developers.

 

The newly designed Tizen developer website is focused on developers’ convenience. Search function is significantly improved. Various convenient functions are also provided to move to essential information in the search word area such as popular searches, Developers can search information easily by adding direct link function that provides site operator recommending search word and related link. Developers can grasp type of contents by providing contents filter function that expose type of contents what user wants. Developers can reach project easily and check specific project information on the list by placing site operation ecommending project on the top. Moreover you can be newly released Tizen SDK. Tizen SDK 2.4 has released so please visit and down load right and also you can check the new UX guide line!

Tizen SDK 2.4: https://developer.tizen.org/development/tools/download

UX guide line: https://developer.tizen.org/design/platform/new-tizen-2.4

 

Lastly, There are forums for developers to discuss freely. There are various topics and new topics come up everyday. Tizen experts give you help with Tip & Tech in English and Chinese.

Forums :https://developer.tizen.org/forums

Tip & Tech: https://developer.tizen.org/community/tip-tech

AttachmentSize
Image icon code_snippet_banner_resized.jpg79.19 KB