Windows Phone: Use Location Services AND get Certified!
Join the DZone community and get the full member experience.Join For Free
Did you know Microsoft employs more Attorneys than Developers? That’s totally not true! We have a platoon of attorneys and a battalion of developers. We’re a software company. But don’t screw with us! Just kidding – sort of.
is necessary when you deal with personal information. A person’s current
location (from the Location Services API) is considered personal
information. And, of course, because the marketplace certification
requirements say so.
Thank you wikipedia:
Could I get sued?
you kidding? We could all get sued – by anyone, for any thing, at any
time. The better question is: “If I get sued am I in deep snow?” Well…
every situation is different; should the plaintiff resurrect Jonny
Cochran you might be up Snow Creek regardless of the details. But the
purpose of a policy is to give your users options and give you
guidelines. Just remember this: you need to obey your own privacy
How do you write a Policy?
I use Microsoft
Word. But that’s not useful, is it? The reality is you just do it (see
the warning at bottom). The most important thing for you to know is that
policy should be tailored to suit your unique situation. Even if your
situation is identical to mine, it is important that you take care to
Note: you don’t need an airtight, attorney-written policy to be marketplace certified. You just need a policy. They don’t judge the merit of your policy (they are not your adjunct legal staff). They just ensure you have a policy – end of story. However, that doesn’t mean you don’t need an airtight, attorney-written policy. See the difference?
Here’s my Policy
In order to access some Microsoft services, you will be asked to sign in.
Microsoft collects and uses your personal information to operate and improve its sites and services.
Personal information collected on Microsoft sites and services may be stored.
Except as described in this statement, we will not disclose your personal information outside of Microsoft.
We may also disclose personal information as part of a corporate transaction.
Microsoft is committed to protecting the security of your personal information.
You have the ability to accept or decline cookies.
If you have questions regarding this statement, you should first contact us
Let me rewrite those for my app:
This application uses your current location.
This is used to improve the mapping experience.
This may be stored.
This may be shared.
Your privacy is important to us.
At any time, you can disable this function.
If you have questions, contact email@example.com
Now let’s turn it into my policy statement:
Your privacy is important to us. This application uses your current location to improve your mapping experience. This may be stored and shared. You may disable Location Services. If you have questions, contact firstname.lastname@example.org.
How to use it?
Something like this:
With this XAML:
In the code above, the only tricky thing to notice is that   is equivalent to an HTML character (which is a space). Using <Underline> in a TextBlock strips adjacent spaces.
With this code behind:
In the code above, we do a few things. First we assume the setting is true if never set. This means the user is opting out. Your code might want to do the reverse. Then, see the EmailComposeTask? This helps the user by pre-composing the email message (if they want to ask a question) and calling Show() lets the Windows Phone OS do the rest – they will get the typical email dialog and are required to push Send.
Nobody installs an application that
isn’t in the marketplace. And no application that uses Location Services
Hopefully this will give you a little guidance on meeting Requirement 2.7.2 for certification.
This blog article is not legal advice.
I do not represent you. In fact, I don’t even know you. When you create
attorney friend you could ask. Perhaps you just want to risk it. Or,
perhaps you want to reach out to an attorney professionally. Please
don’t let this blog be your legal guide.
Now, start developing!
Best of luck!
Opinions expressed by DZone contributors are their own.