I'm developing an application on windows phone 8.
I would like to get all the icons and the list of installed apps like this app.
If it is impossible to get the list of all apss, how about the icon?
I'm developing an application on windows phone 8.
I would like to get all the icons and the list of installed apps like this app.
If it is impossible to get the list of all apss, how about the icon?
You can't do that. There is no API for that.
The app you provided was developed by Samsung for it's devices only. That's why they have an access to special hidden API's and abilities.
Also, you question is not very unique.
Firstly, you need to get all app product id, then use below code to get stream for app icon.
But you couldn't get icon of "setting app" by this way.
IEnumerable<Windows.ApplicationModel.Package> apps = Windows.Phone.Management.Deployment.InstallationManager.FindPackages();
foreach(var app in apps)
{
if(app.Id.ProductId.Equals("APP_ID", StringComparison.InvariantCultureIgnoreCase)
{
var token = p.GetThumbnailToken();
var name = app.Id.Name + SharedStorageAccessManager.GetSharedFileName(token);
await SharedStorageAccessManager.CopySharedFileAsync(ApplicationData.Current.LocalFolder, name, NameCollisionOption.ReplaceExisting, token);
var file = await ApplicationData.Current.LocalFolder.GetFileAsync(name);
var randomStream = await file.OpenReadAsync();
Stream stream = randomStream.AsStream();
}
}