语言

Menu
Sites
Language
Integrated Gear2 app on a real device

Hi,

I used to test my integrated app on a phone + gear2 emulator.

Now I have a real watch device (Gear2 Neo), and I want to test on real phone + real watch.
To test, I set in Gear Manager on the phone: "Accept unknown source" , then copied to APK to the phone, executed, installed. It is insalled on the phone, but the wgt file is not installed on the Watch. I also have a message: "Warning: installation failed"
Ok, I know this is not the official testing, and I should do it from the IDE, but how to do this, as this is an integrated app (APK for phone +WGT for gear) , not only a widget?

Thx

EDIT:

I have not generated a cert file via samsung for the device, as I have one for the emulator.
Do I have to generate a cert xml for the device too?
But then I will have a new secutiry profile, and I cannot update my app in the Samsung Store, won't I?

编辑者为: Zoltan Puski 18 1月, 2015

响应

6 回复
steve jin

Hi,

You can use 'adb install' to install APK in that case.

As certifcate of wearable SDK 1.0.0 is consist of two files(author.crt and device-profile.xml), you need to re-generate device-profile.xml of your device while leaving existing author.crt.

I wish this link will help you.

http://developer.samsung.com/technical-doc/view.do?v=T000000168

* When you are developing with Tizen Wearable SDKs above 1.0.0.b3, and if you already have author.crt file in keystore directory, please import that file and do not re-create it. Especially, if your application is on sale, do not change the author certificate because it can cause a problem when updating the application. Matching the author certificate guarantees the updating, and of course, re-creating the device-profile does not affect the application updating.

 

AVSukhov

Hello,

You need device profile certificate with DUID.

Zoltan Puski

Thanks.

However, I am still having and using legacy certificate files, I created them with the very early IDE (it was a real PITA that time :))

It's a certificate-registration.xml, from which I have author.p12 and distributor.p12. I am still using these to develop and distribute.

So if I request a new device profile certificate, how can I "merge" this into my legacy certificate files? (if I have to?)

daniel kim

If you have the legacy author.csr in your legacy files, I think that you can re-generate author.crt with it on the latest wearable SDK.

and then you can register this author.crt with new device-profile file at the same time.

Anusha Sajeendran

Hi,

I am using Tizen SDK Version : 2.3.0_Rev1 for developing the Wearable applications. I have successfully created applications using this IDE and it is running fine in the gear2. I was able to run Integrated as well as Standalone applications in the gear2.
But now when I do the same it is dhowing "Failed to install the app". Before I didn't face this issue.  Please help me.

 

 

Vikram

Hello,

I suggest you to check these settings in your device.

  1. Settings--> security --> unknown sources

 2. Gear manager -->Settings --> Security-->unknown sources

Hope this help you.