Application Tool Kit

How to create certificate to run Widgets on Windows

If you have created your account before March 2016, you may miss the Windows certificate for ATK 2 packages.
In this case, please follow the steps described below:

1) Firstly, sign-in with your account on https://developer.myscript.com
2) Open your dashboard
3) Access your ATK Dashboard
4) Click to 'Open' ATK Samples application
5) Click the 'Create certificate' button:
- Choose Windows
- fill in the bundle identifier of the widget you want to run (you can find this information in the manifest of the visual studio project)
- add a description (not mandatory)
Best regards


Hi Emanuel,
Thanks for your patience and your feedback.
I am glad you were able to run our samples successfully.

1) About Single Char Widget, as mentioned in the 'Integration' section, you can change the active language easily:

Add the download language pack to get the new 'conf' file in 'Resources/conf' folder
and the resources folder in 'Resources/resources' folder then update the appropriate method:

private void ConfigureResources()
{
Widget.AddSearchDir(Path.Combine(Package.Current.InstalledLocation.Path, "Resourcesconf"));
Widget.Configure("xx_XX", "si_text");
}

We plan to add more code samples such as multi-languages examples in the future.

2) MathWidget includes the following api that may help:
MathWidgetSymbol with 'Bounding Box' as property
MathWidget.Font property is also available.

3) About your last question, I am not sure to get your point, can you give us more input to reproduce the problem?

Best regards

Such information are not available at the widget level, unfortunately. Only our Interactive Text component offers such api, but we are still defining the next version and there is no windows version as it is not part of ATK2 release.
It would be of help to better understand the needs of your project and check how it could fit with our offer. Did you get in touch with the sales team?
https://developer.myscript.com/atk-quote-request

Best regards

Dear Emanuel,

I am afraid I do not understand properly your question. Please try to provide with more information, so that we can provide with more accurate answers:
-Did you install a Visual Studio on a new computer, and you can not run the ATK?
-Did you deploy your application on a new device, and it happens it is no longer working after a while?
-...

1-In the first case, this is not likely to occur, you can use the same certificate on several computers, as we are only counting certificates on the devices the application is installed, not on the computer used for development.

2-In the second case, when installing the application on a new device, you at least need to connect once to the internet 30 days after installing the application on the device, otherwise the application will stop working. This is needed to count the license.

If this doesn't answer your question, please provide with more information, so that we better understand the behavior you are facing.

Best regards,

Olivier
Dear Emanuel,

based on the information you are providing, it rather looks like some resources (e.g. .conf file, or .res file -example en_US-ak-cur.lite.res-) are not properly attached to your application, and when the application is starting, it can not find these.

Can you please check the following:
-For each Resource file in your project, ensure "Build action" is set to "Content", and "Copy to Output Directory" is set to "Copy always".

This way, when deploying your application, all Resources should be properly added, and if adding it on otherwise device, it should work properly.

If this doesn't help, feel free to provide with your application, so that we can see the exact error that is raised.

Best regards,

Olivier
Dear Emanuel,

you can indeed try a new certificate. For this purpose, go on your ATK dashboard, and download a new one. You can normally use it for all the ATKs (MW, SLTW...).

Best regards,

Olivier
Dear Emanuel,

If the identifier is different in between each application, you should indeed have a certificate for each application.

You then need to create a certificate for each identifier in your ATK dashboard.

Best regards,

Olivier

Dear Emanuel,

to answer your questions:
1-To update the identifier:
-open the Package.appxmanifest under Visual Studio (ensure to update it for each project)
-go to the "Packaging" tab
-In the "Package name", set the identifier you set in your ATK dashboard for the certificate you are adding in your application
=> We insit you MUST do it in all the projects that you put your certificate in!

image



2-Normally, there is not time limitation in the certificate, so that we are a bit puzzled by the error you have. If this doesn't solve it, ensure all the file (.conf, .res...) are properly attached in your project, as explained above.

Best regards,

Olivier

Login or Signup to post a comment