I m trying to draw line with cairo but when i mtrying to install and run app on watch app is crashing on watch without showing any UI. i m using this following code
#include <tizen.h>
#include <cairo.h>
#include <math.h>
#include <Evas_GL.h>
#include <cairo-evas-gl.h>
//#include “watchcairo.h”
#include “basicui.h”
typedef struct appdata {
/* Variables for basic UI contents */
Evas_Object *win;
Evas_Object *img;
Evas_Object *label;
Ecore_Animator* ani;
/* Variables for watch size information */
int width;
int height;
/* Variables for cairo evasgl backend contents */
cairo_t *cairo;
cairo_surface_t *surface;
cairo_device_t *cairo_device;
/* Variables for evasgl contents */
Evas_GL *evas_gl;
Evas_GL_Config *evas_gl_config;
Evas_GL_Surface *evas_gl_surface;
Evas_GL_Context *evas_gl_context;
} appdata_s;
#define TEXT_BUF_SIZE 256
/*
* @brief Update a watch face screen
* @param[in] ad application’s data structure
* @param[in] watch_time current time information for update
watch application crashing with cairo library
I m trying to draw line with cairo but when i mtrying to install and run app on watch app is crashing on watch without showing any UI. i m using this following code
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio