This is my code
var Store= await ContactManager.RequestStoreAsync();
var Contacts = await Store.FindContactsAsync();
But that is too slow. Therefor, please tell me the way better.
Thank you.
Basically not at the moment other than recoding the application using Silverlight instead of XAML/RT projects.
If only you could specify the desired fields to return or specify a condition the contact should meet, like having a Phone Number entered, that would be great.
Those examples I mentioned are possible to apply on the app Contact Store, but not from the main phone agenda.
I found the same problem:
WP SilverLight 8.1 vs WP 8.1 (XAML) pros and cons
PD: Create a SilverLight app with the code to get all the contacts using the Silverlight API and you can easily see the difference.
Baically seems XAML Contact API is 2.5x~3x slower than the Silverlight Contact API
Related
I have built an indoor location ios app using Estimote SDK and its working fine. Now I want to see all the users in same location to be able to see each other in App.
Any suggestions on how to do that. Please comment and let me know if anything is not clear about the question
Here's one example how we did it using IndoorAtlas & PubNub service. Does not require any logic on the server side and allows you to tap into the location stream from several different types of clients such as mobile or browser. You should be able to do it in similar way using Estimote.
https://github.com/IndoorAtlas/android-sdk-examples/tree/master/Basic/src/main/java/com/indooratlas/android/sdk/examples/sharelocation
I have a small question about downloaded maps in Windows Phone 8.1. Is it possible to detect in code if the user has a downloaded map for a particular country? The idea is to suggest the user to download the map, so the Application runs faster and the user saves some wifi or network data
Thanks in advance
There are two classes that will help the user to understand the Offline Maps content, but there is no known way to do this only in C#.
The two options are:
MapUpdaterTask: https://msdn.microsoft.com/en-us/library/windows/apps/jj206975(v=vs.105).aspx
MapDownloaderTask: https://msdn.microsoft.com/en-us/library/windows/apps/jj206984(v=vs.105).aspx
This will load the Maps Settings app but not directly give you hint on code.
I did not try but you might be able to perform local request (find/geocoding or route) and observe the result to see if there are specific properties or values that might differ while calculating in offline.
Is there a way to get info about particular app such as number of downloads, some kind of statistics etc., not being its owner. I am wondering whether exists any API to get information from Windows Phone Market? Thank you in advance. Last concern : is it enable to use another ad on windows phone than microsoft advertising? Will such app be approved on market?
Unfortunately there is no such Api to Access these things.
I used this method in WP8 to get the user property :
object userHashId;
UserExtendedProperties.TryGetValue("ANID2", out userHashId);
_userId = userHashId.ToString();
msdn link
But I cannot find these in Windows Phone 8.1. Are there any new API for this
, or any alternative.
AFAIK it isn't possible under WinRT apps - the link you have provided stays for WP8.1 Silverlight Apps - then I suspect you are trying to develop under WinRT - API Reference.
You can read more from here, also here at SO and at this article.
Following this answer, maybe the code below will help you:
HardwareToken myToken = HardwareIdentification.GetPackageSpecificToken(null);
IBuffer hardwareId = myToken.Id;
There is also a Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic.
Is there a way to get the following data from the windows phone store without having to parse whole HTML page (I got the app ID)?
- Name
- Description
- Access the search (and return only App IDs so I can get what I need for the search reults)
I already found this question regarding zune, but that seems to be discontinued, if I'm rigjt. Is there soemthing similar for Windows Phone 8?
you can show the details of the by using MarketplaceDetailTask from Microsoft.Phone.Tasks
here the links , which explains how to show the details page of a app from store.
1)How to use the Marketplace detail task for Windows Phone 8
2)http://www.geekchamp.com/tips/how-to-use-the-marketplace-tasks-in-windows-phone-8
Hope this helps.
Thank you.