Play video on QT using OMXPLAYER - qt

I want to play videos using Qt on a Raspberry-Pi. Can someone please give me a source code and a little description of how to. I would like to use omxPlayer
I really wanna do this kind of thing sample project on youtube

this should be a good start, even if I have not tested it, seems well documented (blog post, etc):
https://github.com/carlonluca/pi

Related

Plasmoid won't attach to desktop

Trying to learn the fine art of Plasma5 (specifically 5.12) plasmoid development. I'm aspiring to be a minor KDE documentation contributor.
It's a simple plasmoid that pops open when clicked and displays a message. It runs fine inside of plasmoidviewer and "compiles" correctly with kpackagetool5. It shows up in the panel of available widgets, but I can't drag it to my desktop. I've put the (extremely simple) source up on Github; hopefully someone's willing to take a look.
https://github.com/bundito/hellomoid
Thanks a lot. I'm trying to document as I learn. But I've clearly got a lot to learn.
After studying a few existing (and working plasmoids), I found a few differences in the metadata.desktop file. These differ from what's shown in the existing tutorial.
The most important change appears to be the line X-KDE-Library entry. I removed it, and everything works. I'm not sure what it's for - I presume loading some external library - but without it, we're happy hackers again.
So there you go. I hope my discovery will help someone else.

Tutorials for Mobile Services for Xamarin.Forms - get device location

I am looking for instructions on using Mobile Services for Xamarin.Forms? I am especially interested in how to get the device's current location. I know that there is sample code here, https://github.com/aritchie/acr-xamarin-forms, that showcases everything that you can do with the library, the only problem being it is way too complicated for a newbie to understand, and there are no comments
Links to any comprehensive tutes or sample code with comments would be appreciated. I have searched but have not come up with anything good.
Cheers
There are a good set of examples for learning Xamarin.Forms with some descriptions at the following link http://blog.falafel.com/learning-xamarin/.
With Xamarin.Forms being rather new you will have to search around for good snippets etc however.
There are a number of projects for Xamarin.Forms in https://github.com/xamarin/xamarin-forms-samples. Try to looking at the following two for easier to understand short examples in Xamarin.Forms:-
https://github.com/xamarin/xamarin-forms-samples/tree/master/FormsGallery
https://github.com/xamarin/xamarin-forms-samples/tree/master/XAMLSamples
The examples are short enough that should help you to learn from them.
There is a specific map related example at the following that also shows your current location on a map that you may like to look at further also:-
https://github.com/xamarin/xamarin-forms-samples/tree/8b9bbe853263f1eb29faca499619b0b757d8fbfd/WorkingWithMaps
Run the applications, make small modifications and experiment - a great way to learning.
Have fun!
If you want to find out a users location via shared code, look at the Geolocator plugin from the component store. super easy to use

Get information about pics and video files with qt

Well i have a project in which gets pics and videos from folders and also i can view them it it and when i view them i want to also see those tags kinda like the camera which took it, dimensions , the ISO, the exposure time and others for pics and camera model framerate and dimensions...
Thanks in advance
I've never seen anything like this in Qt. Anyway, Qt is a C++ framework, you can use whatever library you want to use. QImageMetaData and QMeta are very near Qt style, but can only be used for images (never tried those).
Anyway, I would use the XMP toolkit. You also mentioned videos, so in that case XMP can handle both. It is very simple to use, well documented and fast (license is BSD). It is written in C++, so you can port it on whatever platform you want.
I think Qt itself does not provide a way to extract exif data (which is what I guess you're trying to extract). You could perhaps try QMeta. I have not used this myself, so no guarantees.

Alternative to (Flash) SimpleViewer image gallery?

I am using SimpleViewer to show images on a website. It's a nice and elegant tool. But, as it is using Flash not all devices (e.g. iPad?) will/can show the images. Does anybody know about a non-Flash alternative? Maybe totally CSS cased?
I know this is an old question, but I found something that looks quite a bit like SimplerViewer called Gallerific. https://github.com/iamvery/galleriffic
If you check out the example 2 you'll see a layout that looks a lot like SimpleView
Well, I have checked under every rock and I can't find a good non-flash alternative to SimpleViewer (i'm really curious now to if there's one!). There are rumours about it soon being changed to HTML5 (a wise decision), but I don't know if you can wait that long.
I would say the best option is jQuery and CSS, you can personalise and style your gallery as you wish, but you will have to be at least a bit comfortable with html editing. It's not complicated at all, you should give it a try.
You can find lots of jQuery galleries and sliders tutorials here for example: http://vandelaydesign.com/blog/web-development/jquery-image-galleries/
Do some search engine research to get the best options, there are tons of different galleries.
Good luck!
They have now, see: this comment at the SimpleViewer Forum. It's called Universal Playback.

dashcode and external rss feeds

I was wonder if anyone can help me with this. I've been looking everywhere for this information, but I want to make a web application using dascode rss. I know that you can't link external sources. Does anyone know a way I can get around it. From what I understand a little php can get around this, but I'm unsure where to look.
OK, first thing no PHP. Dashcode is limited to HTML, CSS and JavaScript. Although having said that there are a whole range of system calls that cna be made using the functionality provided by various parts of the x-cde system.
Second yes you can link to external sources such as other web sites, api on say Twitter, google etc. RSS feeds and so on, not sure where you got the idea to the contrary.
If you want to learn how to do a Dashcode RSS then open up Dashcode, start a new project, either web based or Dsashboard based and choose the RSS project. This will give you an out of the box template to add you own information and then see how it works. Then customise it.
In the above i am assuming Snow Leopard and the latest Dashcode/X-code but it will still gove you most of what you want on earlier version.

Resources