Membuat Papan Informasi Dengan Raspberry 3

Outup atau hasil akhir dari Project adalah sebagai berikut :

Papan InformasinRaspberry

Schema Develop Papan Informasi :

SchemaDevelopPapanInformasi

Tool's yang di gunakan 

- Microsoft Visual Studio Community 2017

Sistem Operasi Pada Raspberry

- Windows 10 IoT silahkan kunjungi Dokumentasinya 

Tahapan nya adalah sebagai berikut :

- MainPage.xaml

<Page
    x:Class="App1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App1"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <WebView x:Name="webView" Grid.Row="1" />
    </Grid>
</Page>

- MainPage.xaml.cs

namespace App1
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
        }

        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            var address = "https://schedule.muhajirien.org/";
            webView.Navigate(new Uri(address));
        }
    }
}

- Run lalu pilih RemoteMachine pada tool's aplikasi Microsoft Visual Studio, maka outputnya adalah seperti hasil awal

 

Related Articles

Comments