Following up on Qt Quick QML Digital Signage Demo Part 1, I’ve updated the digital signage demo to support the following: Play 5 videos in a loop Display 5 pictures in a loop where the picture is changed every 5 seconds Use a (twitter) RSS feed for the scrolling text I initially planned to use QML to list the media files, but it is apparently not possible without using C/C++ and I may do it later on. So instead, I hard-coded the video and picture playlists in the QML files with the ListModel element. Videos are located in the video directory and pictures in the pic folder. An index is needed to scroll thru the playlist, but QML does not support global variables, so I created a JavaScript file (globals.js) to store the video and picture index: // Global variables in JavaScript file var iVideoIndex = 0 var iPicIndex = […]
Qt Quick QML Digital Signage Demo Part 1
I’ve recently started to play around with Qt and since I’d like to do a digital signage player running on Raspberry Pi, I’ve decided to try to make a simple digital signage demo application to evaluate the development platform. In Part 1, my goal was to make a 3 zones layout with a video zone, a picture zone and a scrolling text zone. I would just play one hard-coded media in each zone and the video and scrolling text would have to continuously loop. I used Qt Creator to create a “Pigital Signage” application (or should it be Πgital Signage ?). To create the 3 zones I used the Gridview Element with 3 rectangles: Video zone: 600×432 Picture zone: 200×432 Text zone: 800×48 Displaying the image is very easy with the Image Element:
1 2 3 |
Image { source: "pic/phone.jpg" } |
The video playback was also supposed to be easy with the Video Element but it can […]
Nokia Developer Day 2: Qt QML Workshop – Chiang Mai
I’ve just attended Nokia Developer Day on 6-7 December 2011 in Chiang Mai. I’ve already written a summary about the first day dealing with Series 40 Java and Web Apps Workshop. The second day was focused on Qt/QML (Qt Meta-Language) software development for Nokia’s Symbian phones. Nokia will phase out Symbian operating system in 2016, but they’ll still support it until that time. Nokia will also port Qt to lower end phones (e.g. Series 40) on a new operating system based on Linux called Meltemi. Overall Business Direction & Strategy The first 45-minutes for was presentation given by Grant Aaron McBeath, Managing Director, Nokia Thailand and Emerging Asia, about Nokia business direction: focus on Windows Phone for smartphones, Java/Web Apps for feature phones and future disruption. He also showed the progress of Nokia Ovi Store with 10 million downloads a day and 177 publishers with more than 1 million downloads. […]