To Run on TV, copy the .wgt file in USB drive in directory named userwidget . Plug in the USB drive in Tizen TV. TV will install the application. Go to Smart Hub-> My Apps and run the installed application.
Samsung Widget Wgt
I created a Web Widget that I want to push to my watch. The Tizen Documenation says a widget cannot be deployed standalone. So, I am trying to bundle my Widget with a Web Application. I have successfully pushed the Web Application to my watch, but I can't get the widget to go with it. I tried following the steps here: -started/web-application/application-development-process#multi
My Web Widget is called JohnDoeWidget. The Web Application I bundled it with is called BuddyUI (It's the sample app). In the Tizen IDE, in the Project Explorer, it says "JohnDoeWidget [With BuddyUI] wearable-2.3.2". So I think I did that part correctly. When I push BuddyUI to my phone, there is no widget with it, though.
In the BuddyUI config.xml, in the Tizen (or advanced) menu, the Web Widget section has nothing in it. Surely this is the problem! However, I cannot figure out how to add the JohnDoeWidget to this. I tried manually editing the config.xml file, but then when it builds, it says "JohnDoeWidget exists with a different web widget project.". The BuddyUI config.xml looks like this
I have also tried loading the Tizen widget onto a USB drive and inserting that drive into the TV but the app is not recognized. I tried it two different ways: Once I placed all files in the root directory of the drive and once I placed them into a "userwidget" sub directory. Both times the drive is recognized, but the app on it is not.
You upload the .wgt file, and it will spit-back a .tps and .license file. Put those two files in the 'userwidget' folder of your FAT32 formatted usb drive. It usually pops up a "do you want to browse these files?" and you say 'no' to that. About 2-5 seconds later, it will go 'installing will be started'. Give it a minute, and it should succeed. If it does not succeed, you may have to make a new .wgt file and start the whole process over again. Most likely though you're trying to install an application with the same Tizen Widget ID as an application you already have installed --- you may need to delete that off in advance.
One of the key differentiators for the Samsung i8910 HD, compared to Nokia's S60 on Symbian phones, is its TouchWiz-powered homescreen. The TouchWiz homescreen, which can be customised using widgets, is a common element across many Samsung products running on multiple different platforms. It helps Samsung maintain a sense of consistency across its product portfolio.
The homescreen is customised using widgets which are available on a pop-out toolbar on the left hand side of the screen. Widgets, which come in all shapes and sizes, can be dragged off this toolbar and into position. Widgets can vary greatly in complexity - from simple clocks to fully featured mini-games and applications. Widgets are developed using web technologies - HTML, CSS and JavaScript, effectively they are web pages packaged up as applications. They run locally (i.e. on the phone) but can access information from the Internet (using the XMLHTTPRequest object in Javascript).
Samsung TouchWiz widgets are based on the W3C Widget specification. They consist of a number of files that are collected together in a compressed (ZIP) archive, with a .wgt file ending. These include config.xml (package file), icon.png (icon file) and index.html (widget file), which are all required and are found in the root folder. They may also include extra CSS, js and image files; these are usually placed in sub folders to help keep things tidy.
The config.xml file is the package file that describes the widget. The second line includes basic widget identification (id, which should be unique), version information and size (set to the initial size of the widget).
The rest of the package file includes other information, including a human-friendly name and description, and the location of the index.html and icon.png files. Together with the config.xml file, these are the files that must be included in any widget.
The index.html file contains the HTML part of the widget. In this shortcut widget, we're just using an image file to act as an icon. When it is clicked on (touched), it will trigger the JavaScript function that opens the specified URL.
The Samsung Mobile developer website, Samsung Mobile Innovator, is currently running the Samsung Innovation Quest competition, which is all about widgets running on the homescreen of the i8910. There's a 15,000 prize for the best widget (8,000 and 5,000 for second and third respectively). The winning widgets will also be made available via Samsung's 'more widgets' distribution channel.
You will need to create something more than a shortcut widget to have a chance at winning! But, as you see in the article above, all you really need are basic HTML, Javascript and CSS skills, and a bit of imagination.
If that URI corresponds to a file located in any a widget's private areas (such as wgt-package, wgt-private, wgt-private-tmp), the generated URI must be unique for that file and for the widget making the request (such as including some derived from the widget ID in the URI). These URIs must not be accessible to other widgets, apart from the one invoking this method.
Together with a .tmg package Suitest also needs a license in order to be able to installit on the device automatically. Archive a .tmg package and widget.license file together and uploadthe resulting .zip into Suitest app configuration page.
In the Globals tab, you can create dynamic preferences which will allow you to change settings for more than one item, all at once. You can add a Global by tapping on the + icon on the top right corner of the widget editor. Finally, the Shortcut tab allows you to add a shortcut to the widget. That works quite like the Touch tab and enables you to have two separate shortcuts on a single widget.
The Overlap Group and Stack Group options let you group items in your widget, whereas the Series option lets you make custom series for dates, time, battery, etc. The rest of the options are pretty self-explanatory.
CommunicationThe Wayfinder widgets are what's booked to the screens and they are responsible for showing the booking information. The widgets/screens only communicate with Smartsign Server. All bookings are stored on the Smartsign Server. Wayfinder Importer provides optional communication between Smartsign server and external systems.
Use Smartsign Display Manager to create the basic design for your screen using screen layout and layers. It can be just a background with a Wayfinder widget on top or you can add several widgets for other information such as news and weather. Finally you may choose to add trigger layers to display alternative content when the resource or resources are not booked. An example layout for each widget is provided within the delivery.
The following steps detail how to install both the widgets and the necessary supporting content to use them. Installation is performed per site, regardless if you are running on Smartsign's cloud service or an on-premise server.The widgets and supporting content are provided as several .zip archives that must be imported into Smartsign. It is important that they are imported in the correct order to function as intended.To import the archives, simply upload them one by one, to the media library or go to screen layouts and choose Import in the action bar and upload them there. Wait for each import to complete before you upload the next.
Each layout contains a Wayfinder widget directly in the layout. That widget is located in the respective media folder in the media library. Edit the widget there to configure it.We then recommend that you create a booking with the widget instead in order to limit the time which the screen operates. The widget is not designed to run 24/7 which it will do if you just use the layout and no booking. Should you wish to run the screen 24/7, then create a booking from 00:00 to 23:59. This is sufficient to cause a reload of the widget nightly which will avoid update issues.
The Direction widget works the same as Entrance Lobby, but allows grouping the resources. Instead of showing a direction for each room, it will display direction for each group. It is possible to modify the order of directions by customizing the widget.
Instead of creating a widget for each resource it's possible to reuse a single widget and have it fetch the resource information from the player it's running on. This makes it easier to maintain since you only need to keep track of a single widget.To use UserData, configure the widget and enter the credentials as usual, make sure that you can see at least one room in the list. If you can't see any rooms, make sure the user has permission to access the channels in question.
Instead of using different widgets for each screen you will now use the same widget for all of them. For the widget to know which screen should show which room you will need to configure this on each screen's player. Each player has 3 userdata settings that can be used for custom purposes. UserData1 must be configured with a json-string containing the information the widget needs. You can find the correct string to use by checking the Advanced tab while viewing the room channel in Smartsign. (Management -> Content -> Channels, View the channel, Click Advanced tab)
True: Show logo for the booking if supplied False: Don't show logos Logos are not part of the basic design. If you wish to use logos you may need to customize the widget first. Please see separate section about customization.
Select a trigger to activate if there are no bookings To be able to select a trigger you must first create it and also make sure that the widget is configured with a user that has access rights to the trigger. 2ff7e9595c
Comments