Question: I am using Visual Studio 2015 to create my Windows Universal Application and when I build and deploy it, I can’t find it listed on device or it is listed but with a GUID instead of the human readable name that I carefully gave it. How can I fix this? How can I see this problem? The picture below shows the web access to a Raspberry Pi running Windows 10 IoT Core. The highlighted item is the app that we will fix by giving it a human readable name. In Visual Studio, the Build output window shows: 1>Deployment complete (13982ms). Full package name: "77fae4cd-630a-45ec-9927-a72b8129f477_1.0.0.0_arm__j932756y98c8a" How can I fix this problem? You can edit the Package Manifest file, Package.appxmanifest, to change the Identity Name: Original <Identity Name="77fae4cd-630a-45ec-9927-a72b8129f477" Publisher="CN=bruce.eitman" Version="1.0.0.0" /> Modi ...
Read the rest of entry »
Building on my previous articles (Windows 10 IoT Core: Starting a Package on Raspberry Pi and Windows 10 IoT Core: Getting the MAC Address from Raspberry Pi) the following shows how to stop a running package. We start with the function StopApp(), which can be called either of the following ways: StopApp("PushButton", true); StopApp("PushButton", false); private async void StopApp(string appName, bool Force) { String FullName = await GetPackageFullName(appName); byte toEncodeAsBytes = System.Text.ASCIIEncoding.ASCII.GetBytes(FullName); string appName64 = System.Convert.ToBase64String(toEncodeAsBytes); String URL = "http://localhost:8080/api/taskmanager/stop?" + (Force ? "?forcestop=true&" : "") + "package=" + appName64; System.Diagnostics.Debug.WriteLine(URL); StreamReader SR = await PostJsonStreamData(URL); } To stop the package ...
Building on my previous articles (Windows 10 IoT Core: Starting a Package on Raspberry Pi and Windows 10 IoT Core: Getting the MAC Address from Raspberry Pi) the following functions will shutdown and reboot the Raspberry Pi running Windows 10 IoT Core. private async void ShutdownComputer()
{
String URL = "http://localhost:8080/api/control/shutdown";
System.Diagnostics.Debug.WriteLine(URL);
StreamReader SR = await PostJsonStreamData(URL);
}
private async void RebootComputer()
String URL = "http://localhost:8080/api/control/reboot";
Copyright © 2015 – Bruce Eitman and Embedded101.com All Rights Reserved
Just for fun, I thought that I would build on my previous article (Windows 10 IoT Core: Getting the MAC Address from Raspberry Pi) and this time use POST to send data to the web server. I decided on starting a package. To start a package, we need a some information, this includes: 1. The URL, in the case of starting packages it is “api/taskmanager/start” 2. How to POST the app to start. We do this with the parameter “appid” which requires a Base 64 string 3. The name of the app – surprisingly this was the most challenging. This required that we get the Relative Package ID, which is a very odd name for the app, not a user friendly name. I started with an function that handles the items above. private async void StartApp( string appName ) { ...
This blog outlines the REST and JSON code used in the SysInfo Universal App that mimics the Web Portal to Windows 10 IoT devices. This portal is a web service running on the devices that permits examination of the aspects of a currently running system.
A Universal Windows App that mimics the web portal to a Windows 10 IoT Core device. Makes use of the web portal through REST and uses JSON to process the response for display. Can get ipconfig, processes, installed app, default app, OS info etc… All in an app.
This is a work in progress. The objective is to be able to directly load a Universal Windows App from an Appx package on a Windows 10 IoT RPI2, The blocking issue is a PIN requirement. I can package up the app and deploy it to my development machine and a Win 10 phone but not to my RPI2. Updated for Web Portal IoT Package installation.
If you are still using Windows 7 or Windows 8 to develop Windows Embedded Compact 2013 solution and hesitate to migrate to Windows 10, check out this entry.
Now available on Microsoft Downloads.
Application Builder for Windows Embedded Compact 2013 (with the latest fixes as of Sep 2015) provides the tools you need to develop applications that target Windows Embedded Compact 2013. Is an update for Visual Studio 2012/13, not VS 2015.
There is no console for a Windows 10 IoT device. They can though be remotely accessed in a variety of ways. This blog summarises these options: PowerShell, Default App Web Console, FTP, Remote File System and Visual Studio Debugger.