Smith has to develop an app through which he can record audio. For this, he needs to access the Microphone of his computer into his app by configuring a feature in the manifest file of the app. How can he accomplish this task?
Smith has to develop an app through which he can record audio. For this, he needs to access the
Microphone of his computer into his app by configuring a feature in the manifest file of the app.
How can he accomplish this task?
Solution;
XAML FILE
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name="438ecd2d-612e-4fce-a80b-3e0cc82bcb3f" Publisher="CN=Rohit kumar" Version="1.0.0.0" />
<Properties>
<DisplayName>App4</DisplayName>
<PublisherDisplayName>Kamal Sharma</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.2.1</OSMinVersion>
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="App4.App">
<VisualElements DisplayName="App4" Logo="Assets\Logo.png" SmallLogo="Assets\SmallLogo.png" Description="App4" ForegroundText="light" BackgroundColor="#464646">
<DefaultTile ShowName="allLogos" />
<SplashScreen Image="Assets\SplashScreen.png" />
</VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="webcam" />
</Capabilities>
</Package>
Microphone of his computer into his app by configuring a feature in the manifest file of the app.
How can he accomplish this task?
Solution;
XAML FILE
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name="438ecd2d-612e-4fce-a80b-3e0cc82bcb3f" Publisher="CN=Rohit kumar" Version="1.0.0.0" />
<Properties>
<DisplayName>App4</DisplayName>
<PublisherDisplayName>Kamal Sharma</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.2.1</OSMinVersion>
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="App4.App">
<VisualElements DisplayName="App4" Logo="Assets\Logo.png" SmallLogo="Assets\SmallLogo.png" Description="App4" ForegroundText="light" BackgroundColor="#464646">
<DefaultTile ShowName="allLogos" />
<SplashScreen Image="Assets\SplashScreen.png" />
</VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="webcam" />
</Capabilities>
</Package>
Linda has to develop an app through which she can capture an image.
Linda has to develop an app through which she can capture an image. For this, she needs to
access the Webcam of her computer into her app by configuring a feature in the manifest file of
the app. How can she accomplish this task?
Solution;
XAML FILE
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name="438ecd2d-612e-4fce-a80b-3e0cc82bcb3f" Publisher="CN=Kamal Sharma" Version="1.0.0.0" />
<Properties>
<DisplayName>App4</DisplayName>
<PublisherDisplayName>Kamal Sharma</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.2.1</OSMinVersion>
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="App4.App">
<VisualElements DisplayName="App4" Logo="Assets\Logo.png" SmallLogo="Assets\SmallLogo.png" Description="App4" ForegroundText="light" BackgroundColor="#464646">
<DefaultTile ShowName="allLogos" />
<SplashScreen Image="Assets\SplashScreen.png" />
</VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="webcam" />
</Capabilities>
</Package>
access the Webcam of her computer into her app by configuring a feature in the manifest file of
the app. How can she accomplish this task?
Solution;
XAML FILE
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name="438ecd2d-612e-4fce-a80b-3e0cc82bcb3f" Publisher="CN=Kamal Sharma" Version="1.0.0.0" />
<Properties>
<DisplayName>App4</DisplayName>
<PublisherDisplayName>Kamal Sharma</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.2.1</OSMinVersion>
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="App4.App">
<VisualElements DisplayName="App4" Logo="Assets\Logo.png" SmallLogo="Assets\SmallLogo.png" Description="App4" ForegroundText="light" BackgroundColor="#464646">
<DefaultTile ShowName="allLogos" />
<SplashScreen Image="Assets\SplashScreen.png" />
</VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="webcam" />
</Capabilities>
</Package>
Steve wants to create a Windows Store app that displays the message, My First Windows Store App, on the interface. Help Steve to accomplish this task.
Steve wants to create a Windows Store app that displays the message, My First Windows Store
App, on the interface. Help Steve to accomplish this task.
App, on the interface. Help Steve to accomplish this task.
Solution;
<TextBlock HorizontalAlignment="Left" Height="137" Margin="109,100,0,0"
TextWrapping="Wrap" VerticalAlignment="Top" Width="946" FontSize="72"
Text="My FirstWindows Store App"/>
No comments:
Post a Comment