Can't get the LibVlcSharp UWP Sample to work with local media - libvlc

I downloaded Libvlcsharp-3.x and ran the Uwp sample(Vs2017) and it worked. However when I changed the media source to a local file and the 'FromType' to FromType.FromPath it runs but no video and no sound. My Solution Configuration=Debug and Solution Platform=x86. What am I missing. Thanks.

Related

How do I run MyLocationDemoActivity.java?

How do I run MyLocationDemoActivity.java? I got this file from GitHub this is the link:
https://github.com/googlemaps/android-samples/tree/master
I am completely new to Android Studio, what are the steps to run this file?
On the getting started subtitle when you scroll down on the GitHub site, it tells says to create a file on the "root directory" called secure. properties. I am sorry, but I have no clue what or where the root directory is located and how to create the file. But I did get an Google Maps API key.
I also did import the project, but how do I add an emulator. I have downloaded the emulator and it works because on a different project I created a Google Maps Activity Project and just ran the sample code putting a marker on Sydney. I am not sure how to add the emulator to the project I downloaded from github though. I tried to add a template configuration for an android app, but it says no module. How do I add that? In summary, I am just looking for a step by step way to run this file.
(Also, I am sorry if this seems like a mess of questions, but I really have no idea what I am doing)
You question sounds too generic, so I will give some suggestions:
demo activity could not be run separately, you have to create a full environment of android and open the main activity, then open this demo activity
Don't use emulator for developing Map features, use a real device. In fact, I always use "Real Device" when developing, because "emulator" seems lots of bug, and its speed is very slow.
when studying a new tech/skill/feature, bit by bit. e.g.
3.1 you should know some knowlege about android main activity, android basics
3.2 play with emulator and real device, and know adb commands
3.2 play with DemoActivity
good luck!

Launch Exe from UWP app

I have a UWP app and I need to launch an .Exe file from the users %appdata% folder.
I don't know how to find %appdata% or how to launch Exe files.
I have looked all over but none of the solutions I have worked for me. Thanks in advance.
There is no supported mechanism to launch random EXEs in a Universal Windows App. You can launch apps via a URI scheme or a file association if one is registered.
What does the EXE do that you're trying to launch? Is it your own program or is it someone else's? And do you want to do this for yourself or do you want to put it in the store?
As for 2016 you problem can be solved by Desktop app converter. So you can add live tile directly to your XNA game.
You can launch .exe through socket connection.
Here is my sample code.
Here is my sample code.
But as ad1Dima said, DAC is best solution.

Unity3d- crossdomain.xml policy file not found when trying to register to a database server

I am having this problem for about two days now and I tried all the solutions that I could find online, but still no luck.
what's happening is that in my game, when I press a specific button I am supposed to register to a private database server of mine that is hosted in azure.
when running the build on IOS or Android I have no problem with registering, but in the Unity web player build I get a "Rejected because no crossdomain.xml policy file was found" error, even though I made sure that the file is located in the root of my server and is formatted ASCII, as written in the Unity sandbox guide.
I am only using the WWW class and no socket.
When I try registering from my localhost and from the unity editor i have no problems, but only when i upload the html file to an online host, such as dropbox, and access it through a URL the problem occurs.
if anyone can help me find the problem it would be amazing. I have finished my game and it works perfectly on all platforms except the web player, so it is the only thing that is holdin me back. thanks allot
In the docs on unity webplayer sandbox it gives you the reason for this. A quick fix is to add a file accesable on http://yourdomain/crossdomain.xml with the contents:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>

Phonegap uploaded audio file not being played in browser

I am uploading a recorded mp3 file using phonegap and php
Recording - Using Media object (media.startRecord/ media.stopRecord) - Successful
Uploading -
ft.upload(fileURI, encodeURI("http://some.server.com/upload.php"), win, fail, options);
In options, I am using options.mimeType = "audio/mpeg";
-This is also successful
Playing - But when I try to play it in browser as http://some.server.com/media_uploaded.mp3 - It tries to play but fails after sometime. I tried playing the same file with http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all as well, but couldn't succeed.
When I download the same file - it gets played without any error in any media player in my computer.
When I upload any mp3 song at same place - it gets played successfully with - http://some.server.com/song_uploaded.mp3
What can be possible problem(s) with my recorded audio?
Update
Just noticed that problem has nothing to do with 'Upload'. The saved mp3 (when copied to PC) seems to run fine on my computer but not on browser (Even locally - I checked with Audio tag as well). So there is something wrong with the recorded mp3. Not sure what is the solution.
Not working - http://xpertvisions.com/test/media_recorded.mp3
Working - http://xpertvisions.com/test/media_song.mp3
I found a solution to this that I answered here --> https://stackoverflow.com/a/23140836/902630
This is, however, a .Net solution. But looking at it may help lead you in the right direction.

how to prevent or handle " javax.microedition.media.MediaException: AUD" when playing audio files in j2me

I'm developing a mobile app in j2me with configuration cldc2.1 and midp 2.0.
In my app, I'm running some audio files based on some user operations. But some times audio files running correctly but sometimes it throws " javax.microedition.media.MediaException: AUD" exception.
I placed the audio files (.wav) in "res" folder of my project and read from that folder and then I'm playing it.
I'm using nokia c2-01 phone (s40) device is for testing. Please give your ideas to solve this problem.
Please help me. All your ideas are welcome.

Resources