如何安装和卸载应用程序到RaspberryPi2? 如何配置应用程序在RaspberryPi2开机后自动启动?
How to install your app into RaspberryPi2?
How to configure your app automatically start up after device booting?
Read this article, and you will find the answers. Follow me, let’s go!
1 First you need to prepare an app package
Open VS solution, and double click the Package.appxmanifest file
You can configure the application in several tabs, it seems that it’s necessary to set a splash screen image on Visual Assets tab (for me it should be 1240x600 pix)
From the Packaging tab, you can enter a friendly package name and display name. The version is set to 1.0.0 as default. The build number will auto grow with your creation times.
Save the file after you have made the necessary edits for your app.
Now let’s start to create an app package.
In Solution Explorer, choose one start up project, right-click and choose Store->Create App Packages.
In Create Your Packages wizard, choose No unless you want to upload the app to the windows store, then click Next.
In Select and Configuration package dialog,
Select Always in Generate app bundle listbox, select all three architecture configurations(x86,x64 and ARM), no matter choose debug or release.
Click Create to generate the appxbundle package.
See AppPackages
2 Use Web-based device management to install/uninstall app
Web-based device management
provides basic configuration and device management capabilities which allows you add/remove applications and review the real time performance of windows IoT Device. Also you can use it to make diagnosis on the device and catch some error logs.
Set up connection
Open the browser, and enter the IP address of Raspberrypi2 with :8080 in the end.
In the cre