Microsoft's "Wallet" App for Windows 10 Mobile allows you to manage all kinds of membership cards, loyalty cards, tickets and so on in one place.
You can also install additional apps that interact with the wallet. The Lufthansa app for example can add your bording card to the wallet.
(Sorry the screenshots are in German. The scrennshot on the left shows an option to search the store for wallet ("Brieftasche") compatible apps, the one on the right shows the search results)
So far for background. Now, my problem:
I would like to build an app that lets you add photographs or PDFs to the wallet app (I have a couple of printed notes, timetables etc. in my physical wallet and I think it would be handy to have them on hand in the wallet app).
So far, I couldn't find anything on how to mark an app as "wallet-compatible" and how to add items to the wallet programmatically.
Any experiences anyone?
You can create a wallet app with the Windows.ApplicationModel.Wallet classes.
Use the WalletManager class to request your app's wallet store and then create WalletItems with your images, notes, etc. to add to it
See Wallet for Windows Phone Store apps for an overview and sample code. The same API for Windows Phone 8.1 Store apps works for UWP apps.
Related
I am working on two different Xamarin forms apps and there is a need where I want to share the SQLite database of first app with second app.
I want to achieve Single Sign On approach for different xamarin forms apps,
Where user will only log in in any of the app and can stay logged in in both the two apps.
I found below link which stats in android we can share the database:-
Share LocalDB in two different android app
now I only need is similar thing in my xamarin forms app.
Any help will be grateful.
Thanks :)
Enjoy!
In the case of iOS, it's sandboxed so sharing data between applications are so difficult. But there are still some ways to share data between applications.
In your case, I recommend you using App Groups. An App Group allows different applications (or an application and its extensions) to access a shared file storage location, please refer to Working with App Groups for more details.
After Adding an App to an App Group we can use the methods below to share data between applications:
NSUserDefaults:
var userDefaults = new NSUserDefaults("<your group ID>", NSUserDefaultsType.SuiteName);
userDefaults.SetString("user123", "userId");
userDefaults.Synchronize();
NSFileManager:
NSUrl appGroupDirectoryPath = NSFileManager.DefaultManager.GetContainerUrl("<your group Id>");
NSUrl dataBaseUrl = appGroupDirectoryPath.Append("dbName.db", false);
//You can try to copy your dataBase file to this url.
Yes it is possible to share the data between two iPhone apps ...
If anybody need more information on this please go through the below link which will explain how to achieve...
Using your App Group
App Groups are the scheme iOS uses to allow different apps to share data. If the apps have the right entitlements and proper provisioning, they can access a shared directory outside of their normal iOS sandbox. Sandboxing still applies except for a single exception.
This is probably almost automatic, but when you get into iOS app provisioning you can't assume anything. What's supposed to happen is that you just turn on the "app groups" entitlement in Xcode for the app and for any extensions..
Link for:-
Sharing the app extension
#Land Lu - MSFT Thanks for the suggestion your answer led me to get it done.
I was working on windows phone 8.1 (WinRT) application. I wanted to give certain users free redemption codes by which they can get the app for free when inserted from the app. But I wanted to change their license info so that even if they
Change the device and install the App or
Uninstall the App and reinstall it,
they should be able to use the App for free. By using the device ID I can take care of problem 2). But since LicenseInformation.IsTrial is a read only property I cant change it and solve problem 1).
Is there anyway I can at least get the outlook,live ID from which the user has logged in the phone so I can treat it uniquely?
You can try to create an in-app purchase item with zero price. So when the user enters the code, then make him buy that item for $0. Once bought, it will be associated with his account, and be transferable across devices
I am currently making a windows phone 8 silverlight app.
In the app we would like to allow the user to pay through paypal or another way of paying.
I also looked up the in app payments from the dev center, but did not manage to see a payment with variable values there.
Any help on what to use or examples about how to do this would be greatly appreciated.
Update: according to the policy of the windows phone store you are not alowed to use paypal for example and can nly use Windows Phone in app payments.
This example from visualstudiomagazine should work: http://visualstudiomagazine.com/articles/2013/07/01/in-app-purchasing-for-windows-phone-8.aspx
They explained it very good AND uses the legal way with the Windows Phone SDK 8.0.
Only those payment methods that support Windows store for IAP.
Is it possible to get a list of the installed apps which provide Map functionality?
In the maps settings menu, you can select which app should be the default one for voice navigation - in that list, my phone displays HereDrive+ and Windows Phone Maps.
How is it possible to search for apps like this? Is such API open or that list result was acquired using a restricted API?
Not a correct answer, but maybe the way you should use this is by using the ms-drive-to or ms-walk-to Uri scheme! When you use those, the phone itself will launch HERE drive if it is present, otherwise Bing maps!
My guess, in the future the user will be able so set this as an option, that he can indicate what default map app he wants to use in general. But for now it's default Bing or HERE if that is installed when using the given URI scheme.
Get the needed example code and usage on MSDN here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj710324(v=vs.105).aspx
There is no public API to list apps like this. The referenced settings menu is part of the OS not an exertion point for apps.
Apps are blocked from setting information like this from other apps or the OS.
ShareStatusTask statusTask = new ShareStatusTask();
statusTask.Status = "Blogging";
statusTask.Show();
There is a ShareStatusTask available in Windows Phone 7 which meets most of my needs. But I need to further customize it. Meaning, I have individual Facebook, Twitter, Live icons. When an user hits them, I should be able to popup the share status task with either Facebook or Twitter or Live pre-selected.
If they are not configured, I would show an error message probably to configure it in their device (under settings -> accounts).
Is there any code or inbuilt functionality available in Mango to access these ?
Unfortunately there is no way available to further customize it.
When you use ShareStatusTask (or some other similar tasks like ShareLinkTask), the control completely goes to the Operating System and we have nothing to do with.
If we really want to customize, we have to go for our own implementations using some third party libraries like Hammock or Twitterizer for Twitter and Facebook c# SDK for facebook.
Even with a little disadvantage, I would suggest to use ShareStatusTask for simple implementations, unless you need some picture sharing etc.