Languages

Menu
Sites
Language
[Gear 2] Settings

Hi,

can anyone managed to create settings page for Gear 2 widget? Help page "Configuring Gear-side Widgets" gives some example but it is not working. I have an error "Cannot find the declaration of element 'Application'" if I paste the example.

 

Thank in advance

Responses

7 Replies
Kamil N

I have the same problem. Anyone knows how to solve this ?

 

Thanks

Kamil

Kamil N

Maybe someone has examples to show how to use settings.xml ?

 

Regards

Eir Stefanovski

I haven't managed, and on my phone, the Samsung own watch clock settings cause the Gear Manager to Force Close.

Kamil N

I've the same error as Katarzyna, when I'm trying to create settings.xml in Tizen SDK for Wearables I get XML parsing error: Cannot find the declaration of element 'Application'"

Eir Stefanovski

The error "Cannot find the declaration of element 'Application'" in my case, disappears when I clean the project. It then builds without any errors, and I can install it on a device.

But then, in the Gear Manager, when I tap on the "settings" for my app, the Gear Manager force closes.

Kamil N

Strange, last time when I clean the project and build it I get error every time. Now I tried one more time and clearing helps me. Maybe connect your phone to PC and check logs in Android LogCat.

daniel kim

Hi,

I guess that the copy&paste of some code from the web site could make this problem because this strange problem is sovled after I clean my project.