语言

Menu
Sites
Language
how I can do use the early access SDK: tizen-sdk-2.3.1_RC23_EAP-windows-64 and 1.0.0 for move all my projects in new SDK

Hi,

I have been developing an application for Gear S for the half of last year on T. SDK for wearable 1.0.0.

and now I have need to use the early access SDK: tizen-sdk-2.3.1_RC23_EAP-windows-64 and 1.0.0 for move all my projects in new SDK

how I can do it?

I try work in the same WORKSPACE but i have a lot of problems with sertificates etc...  also NEW SDK DON'T WORK WITH OLD PROJECTS EVER

now i have in new SDK ERRORS:

1. NO RUNNING OLD PROJECTS with ERRORS like:  "java.util.zip.ZipException: duplicate entry: author-signature.xml"

2. all old projects not possible to change CONFIG.XML  etc  ...

3. When I try to use OLD SDK 1.0.0 and new EMULATOR i have errors:  Error code: PRIVILEGE_LEVEL_VIOLATION
Error message: Command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/GD.wgt"
Management: Refer to Help contents > Getting Started with Tizen > Overview > Privilege.

HELP PLEASE,    where is documentation like - "TODO: HOW MOVE ALL PROJECTS TO NEW SDK"  ??? 

 

@

响应

29 回复
daniel kim

Hi,

In my understanding, you can create new project in Early access SDK and port previous source code into it.

To remove workspace issue, I would suggest you to have  seperate workspace for Early access SDK.

Regards

Denis Miroshnikov

But I read how semeone used one workspase for both SDKs, and new EMULATOR for old SDK.  but I can't ...  wtfk

 

Denis Miroshnikov

Also I try to use  NEW IDE 2.3 with separate workspace, but IDE not accept my OLD certificates  , if i regenerate my author.crt and other cert. my old APPs in samsung galaxy apps can be still installible ( because i read some post with problems after recrate cert files) ?

 

HELP ME PLS

jan kowalski

Hi Denis,

Please take a minute and provide a detailed description of the problems you are having right now.

At the moment you are using Tizen SDK 2.3.1 rc 23 for Windows 64, with a separate, dedicated workspace,
and you have ported your old projects into it as daniel.kim suggested? 

If yes, do the projects actually build right now, and did the separate workspace resolved any of the primary issues?
 

Denis Miroshnikov

Hi, YES and NO  :(

NOW:

1. I'm make new workspace for the 2.3

2. I'm export old ( last 1.0)  project in EXT TEMPLATE and save it

3. open new IDE 2.3 in new w/s and IMPORT that template - is OK ( ide says is ok is "Pr.name ...  wearable 2.3.1")

4. open new EMULATOR and start img like 360x480 gear s

5. try to RUN ( after clear and build)   IDE says - NO SECUR. PROFILES ecc  .. yes it's true ..  

6. Edit SEC.PROF add all old cert. and passwords

7. Clean Project , try to RUN again - "java.io.IOException: Invaild password Invaild password" 

but passwords is true !    ....  tied  my work is stopped

8. I think recreate certificates but I'm afraid to lose all their projects previously made  .... ???? 

what do U think ?

>:-\\\

PS

 I think , must be exist FAQ DOCs MAN something like this "DOTO: HOW CHANGE IDE 1.0.0 -> 2.3.x "

 

Youngik Kim

It is not recommand sharing one workspace.

But you can import all project into workspace for 2.3.1.

File > Import > Tizen > Web Projects and Web Application file > Next > Select root directory > Browse

 

Select your old workspace and click OK.

Then, all project will be imported with setting up for 2.3.1.

Denis Miroshnikov

Yes I'm try and have a problem . pls, look my prev. message.

 

Youngik Kim

How to register your cetificate?

Denis Miroshnikov

"I think recreate certificates but I'm afraid to lose all their projects previously made  .... ????  what do U think ?"

( if i'm renew certificate AUTHOR  )

Kiwook Hong

 Hello,

Regarding "6. Edit SEC.PROF add all old cert. and passwords", question please.

Now do you have author.p12 and distributor.p12 ?

And you edit to point this two p12?I think you remember the password of author.p12 because you had made

.But the password of distributor.p12 is from e-mail when you get certificate from samsung. How about it?

 

Denis Miroshnikov

Yes i have all P12  and  i think passwords = paswords from author ? no?

Kiwook Hong

I didn't understand what you mean.

I think you might enter right password for author.p12 but you could mistake for the password of distributor.

Are you sure of distributor password ?

Denis Miroshnikov

okay , i mean  i don't remember  how i get that password for all P12 :((   how i can get it again?   recreate all certificates?

Denis Miroshnikov

okay , i mean  i don't remember  how i get that password for all P12 :((   how i can get it again?   recreate all certificates?

Kiwook Hong

The password for distributor certificate is written in the mail from Samsung when you get xml file. I am not sure you still have this.

 

If you have uploaded any application to the store before, to update that app you should use same author certificate.

I hope you didn't forget password for author.p12. If you re-issue author certificate, your previous app cannot be updated.

But in case of distributor.p12, no problem even if you get re-issued.

 

So, if you can't find password for distributor certificate just get reissue.

Firstly, if you have installed Tizen SDK 2.3.1 then download and install extension sdk from below link.

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

And request certificate as you did before. (Guide is also here : http://developer.samsung.com/gear/guide_certification.html)

(When following this guide, you will need to request author certificate in the process. But don't care about it and just make it.

After created you can set to use your original author.p12 ignoring newly created author.p12.

This step is only to get distributor certificate.)

So, make sure that your original author.p12 is backed up at safe folder not ~/tizen-sdk-data/keystore.

 

After certificate registration finished, go to Windows > Preference > Tizen SDK > Security Profiles.

You can see that default profile is added just now. Now change author.p12.

Click Edit button at "Author Certificate", then browse and select your original author.p12. And input your password.

Click Apply and OK.

 

Denis Miroshnikov

Yes I have that all mails (exacly) . and only one is  att XML - is device.XML  with PWD .

   this one?

Youngik Kim

When you register SEC.PROF, 

Author Certificate:

use author.p12 file and enter the password you inputed when generated author key.

Distributor Ceritificate:

use distributor.p12 and enter the password you've got by mail for that device-profile.xml.

Denis Miroshnikov

Okay, I try today

Denis Miroshnikov

YES IS WORK , but I have a new problems with 1.0 inported project:

Make - Clear - RUN - (in NEW EMULATOR) :

"Error code: PRIVILEGE_LEVEL_VIOLATION
Error message:
Command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/LGD.wgt"
Management: Getting Started with Tizen > Native(Web) Application > Understanding Tizen Programming > Security and API Privilege "

 in 1.0.0 is work good n.probl.

Nothing special in My XML:

"

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/LGD" version="1.2.0" height="480" width="360" viewmodes="maximized">
    <access origin="https://query.yahooapis.com" subdomains="true"></access>
    <access origin="http://maps.googleapis.com" subdomains="true"></access>
    <tizen:application id="1...................0" package="1.............M" required_version="2.2"/>
    <author email="d..........@...........m">D..........v</author>
    <tizen:category name="com.samsung.wmanager.WATCH_CLOCK"/>
    <content src="index.html"/>
    <description xml:lang="en-gb">EN</description>
    <description>LGd</description>
    <feature name="http://tizen.org/feature/screen.size.normal.360.480"/>
    <feature name="http://tizen.org/feature/network.internet"/>
    <feature name="http://tizen.org/feature/location.gps"/>
    <icon src="icon.png" height="480" width="360"/>
    <name xml:lang="en-gb">EN</name>
    <name>LGd</name>
    <tizen:privilege name="http://tizen.org/privilege/notification"/>
    <tizen:privilege name="http://tizen.org/privilege/location"/>
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:privilege name="http://tizen.org/privilege/power"/>
    <tizen:setting background-support="disable" encryption="enable" hwkey-event="enable"/>
</widget>

"

PS

SAMPLE for 2.3.x ANALOG WATCH WORKING GOOD

Denis Miroshnikov

Help me !?

Denis Miroshnikov

NEW problems  :( after use 2 SDKs in the same workspace with same key dir i have a same problem with my 1.0.0 SDK ..... 

 " Error code: PRIVILEGE_LEVEL_VIOLATION
Error message:
Command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/LGD.wgt"
Management: Refer to Help contents > Getting Started with Tizen > Overview > Privilege."

hen I try to run in old EMULATOR from 1.0.0

Denis Miroshnikov

So strange..  after recreate ( readd) cert. with passwords and reset Emulator i have no errors  with 1.0.0  .....  it's wok again

Denis Miroshnikov

I'm FIND privilege with problem in 2.3 :

<tizen:privilege name="http://tizen.org/privilege/notification"/>

whis one exist in 1.0.0  but not exist in list of priv. 2.3.x ?  WHY?  

   after remove that priv. emulator run my watchface "normaly" , but i need thnat !

 

 

Denis Miroshnikov

sorry , i'm find it in list, but  only after remove imported priv. and select is from internal list  is work in emulator with

and remove and recreate category:

<tizen:category name="http://tizen.org/category/wearable_clock"/> - Not WORK with REAL Gear S and defaut in 2.3.x

but work with emulator 2.3.x and we have it  in internal list of 2.3.x

Work in both real and new emulator :

<tizen:category name="com.samsung.wmanager.WATCH_CLOCK"/>

Denis Miroshnikov

I specify:  <tizen:category name="http://tizen.org/category/wearable_clock"/> - Not WORK with REAL Gear S

but is defaut in 2.3.x and work with NEW EMULATOR ( can't try with new 2.3 real device)

 

 

Youngik Kim

<tizen:category name="http://tizen.org/category/wearable_clock"/> only for 2.3.1

If you want to make compatible with 2.2.1,

use <tizen:category name="com.samsung.wmanager.WATCH_CLOCK"/>

 

Denis Miroshnikov

Okay, TNX

 

   also in emulator(new) I'm can't connect to web recourses?  

just no connect (by timeout) it all. ( all routing in emulator by default)

 in real device all is ok with the same APP ( all privilegies and policys is OK).

 TNX

 

Youngik Kim

Yes, a emulator can access to web resources also.

If not, the emulator maybe blocked by a sort of firewall.

Denis Miroshnikov

Look:  http://wiki.qemu.org/Documentation/Networking