Posts Tagged Privacy

Windows Store Apps: Add a Privacy Policy link to Settings Charm (C# & JavaScript)

In my (little) spare time recently, I’ve been playing around with developing Windows 8 Store apps. I submitted my very first app to the Store this week and unfortunately the app failed the certification process.

The reason for failure was simple… I requested Internet Connection permissions in the app and therefore, based on the Windows Store App certification requirements, I should have included a Privacy Policy link within the app. In fact, I needed to include the Privacy Policy link from the Settings Charm.

Of course, having never done this before I had no idea how to do this. After much searching, I finally figured out how to do this.

So if your app has failed in your quest to be certified, here’s the simple steps required to get a Privacy Policy link included in the Settings Charm for your Windows Store app….

C# Solution

1. Add the following name spaces
using Windows.UI.ApplicationSettings;
using Windows.UI.Popups;

2. Add the event handler to your app initialisation
SettingsPane.GetForCurrentView().CommandsRequested += SettingCharmManager_CommandsRequested;

3. Then add the following methods…
public SettingCharmManager()

SettingsPane.GetForCurrentView().CommandsRequested += SettingCharmManager_CommandsRequested;
private void SettingCharmManager_CommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args)
args.Request.ApplicationCommands.Add(new SettingsCommand(“privacypolicy”, “Privacy Policy”, PrivacyPolicyLink));

private async void PrivacyPolicyLink(IUICommand command)
Uri uri = new Uri(“<enter the full URL to your Privacy Policy here>”);
await Launcher.LaunchUriAsync(uri);

JavaScript Solution

var settingsPane = Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();
function commandsRequested(eventArgs) {
    var applicationCommands = eventArgs.request.applicationCommands;
    var privacyCommand = new Windows.UI.ApplicationSettings.SettingsCommand('privacy', 'Privacy Policy', function() {'<enter your Privacy Policy URL here');
settingsPane.addEventListener("commandsrequested", commandsRequested);


Assuming your Privacy Policy link is valid, you should not fail for this reason on your next app submission! :)

Enhanced by Zemanta

Tags: , , , , , , , , ,

No Comments

Google searching your history to show suitable adverts

Image representing Google as depicted in Crunc...
Image via CrunchBase

In a step that worries me slightly, Google have launched a new behavioural targeting scheme into it’s Google Adsense scheme. Now instead of just focusing on the contextual content of the page you are currently viewing, it will also delve into the history of other sites you have viewed and display ads accordingly. The new system is currently running as a beta test on sites like YouTube.

So what does that mean for us the public? Well you can safely say your privacy is gone. For me who not only uses my laptop for work, but also for leisure – anyone that now accesses the web through my machine will be easily able to hazard a guess at the type of websites I like to frequent. Luckily enough for me, I don’t go to many dodgy sites. But what if I did?

Google do offer an opt-out and preferences management option, but the opt-out is cookie based, which means you’ll have to opt out from each machine you login through.

I have to admit, it’s a great module for Google to increase revenues, but in terms of privacy, that just seems to be out the window!

Tags: , , , , ,