Skip to content

Commit

Permalink
Source update
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos4503 committed Oct 7, 2024
1 parent 2841f87 commit 32d1393
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source-Code/Motoplay.Desktop/Motoplay.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>motoplay-logo.ico</ApplicationIcon>
<AssemblyVersion>1.0.0</AssemblyVersion>
<AssemblyVersion>1.0.1</AssemblyVersion>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
7 changes: 5 additions & 2 deletions Source-Code/Motoplay/Assets/Languages/LangStrings.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ Attempt #%n</x:String>
<x:String x:Key="mirrorPhone_step5_title">Step 5</x:String>
<x:String x:Key="mirrorPhone_step5_msg">In your device's Developer Settings, enable the option to Disable ADB Authorization Timeout.</x:String>
<x:String x:Key="mirrorPhone_step6_title">Step 6</x:String>
<x:String x:Key="mirrorPhone_step6_msga">Connect your Mobile Device to the Raspberry Pi, using a USB Cable.</x:String>
<x:String x:Key="mirrorPhone_step6_msga">Connect your Mobile Device to the Raspberry Pi, using a USB Cable and make sure the screen is unlocked. You can disconnect the USB Cable, later.</x:String>
<x:String x:Key="mirrorPhone_step6_msgb">Note that at some point an Authorization warning may appear. If it does, check the "Always allow from this computer" box and click "Allow/OK" to accept Debugging.</x:String>
<x:String x:Key="mirrorPhone_textParagrah_3">Finally, to start the connection, click the button below! The Raspberry Pi will use your Mobile Device's Hotspot network to establish the mirroring connection.</x:String>
<x:String x:Key="mirrorPhone_connectButton">Try Connect</x:String>
<x:String x:Key="mirrorPhone_errorMessage">Unable to connect to Mobile Device. Make sure your Raspberry Pi is connected to your Mobile Device Hotspot Wifi Network, and that your Raspberry Pi is authorized to connect/debug to your Mobile Device.</x:String>
<x:String x:Key="mirrorPhone_tips">● Disconnect the USB Cable from your Mobile Device.
● You will no longer need your USB Cable to connect your Phone unless you Restart your Raspberry Pi.
● You will no longer need your USB Cable to connect your Phone unless you Restart your Phone.
● Reduce Brightness of your Mobile Device.
● Config your Device to remain in Landscape orientation.
● If you intend to use Mirroring for a long time, connect your Phone to a Power Bank.
Expand Down Expand Up @@ -219,5 +219,8 @@ Attempt #%n</x:String>
<x:String x:Key="appPreferences_mirrorTab_videoBirate">Video Bitrate</x:String>
<x:String x:Key="appPreferences_mirrorTab_videoCodec">Video Codec to be Used</x:String>
<x:String x:Key="appPreferences_mirrorTab_videoBuffer">Video Buffering</x:String>
<x:String x:Key="appPreferences_aboutTab_title">About</x:String>
<x:String x:Key="appPreferences_aboutTab_version">Motoplay Version %v</x:String>
<x:String x:Key="appPreferences_aboutTab_createdBy">Created by Marcos Tomaz</x:String>

</ResourceDictionary>
2 changes: 1 addition & 1 deletion Source-Code/Motoplay/Motoplay.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<LangVersion>latest</LangVersion>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<ApplicationIcon>Assets\motoplay-logo.ico</ApplicationIcon>
<AssemblyVersion>1.0.0</AssemblyVersion>
<AssemblyVersion>1.0.1</AssemblyVersion>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" />
Expand Down
9 changes: 9 additions & 0 deletions Source-Code/Motoplay/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,15 @@
</StackPanel>
</ScrollViewer>
</TabItem>
<!-- About Tab -->
<TabItem Header="{DynamicResource ResourceKey=appPreferences_aboutTab_title}" FontSize="16" Margin="16, 0, 0, 0" Padding="0, 0, 0, 0">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible" Offset="0, 0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0, 0, 0, 0">
<StackPanel Orientation="Vertical" Spacing="8" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="16, 16, 16, 16">
<TextBlock Name="pref_about_versionText" Text="{DynamicResource ResourceKey=appPreferences_aboutTab_version}" HorizontalAlignment="Center" VerticalAlignment="Top"></TextBlock>
<TextBlock Text="{DynamicResource ResourceKey=appPreferences_aboutTab_createdBy}" HorizontalAlignment="Center" VerticalAlignment="Top" Opacity="0.5"></TextBlock>
</StackPanel>
</ScrollViewer>
</TabItem>
</TabControl>
<Rectangle Fill="#ababab" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="1" Margin="0, 0, 0, 48" Opacity="0.5"></Rectangle>
<Button Name="preferences_saveButton" Content="{DynamicResource ResourceKey=appPreferences_saveButton}" HorizontalAlignment="Center" VerticalAlignment="Bottom" Height="32" Width="150" HorizontalContentAlignment="Center" Margin="0, 0, 0, 8"></Button>
Expand Down
1 change: 1 addition & 0 deletions Source-Code/Motoplay/Views/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ private void PrepareTheUI()
tryingConnectToObdButton.IsVisible = false;
connectedToObdButton.IsVisible = false;
tempInitializationLogo.IsVisible = true;
pref_about_versionText.Text = GetStringApplicationResource("appPreferences_aboutTab_version").Replace("%v", applicationVersion);

//Switch to Panel page
SwitchAppPage(AppPage.VehiclePanel);
Expand Down

0 comments on commit 32d1393

Please sign in to comment.