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.
Related
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.
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.
Basically I want to achieve the same fucntionality which you normally see in android or ios devices. So if I click on login it should open facebook application(not webview) if facebook is installed but in case app is not installed it should open webview.
Currently it shows me a message do you want to search on store which I don't want.
Any help will be highly appreciated.
Thanks
Vinod
Windows Phone SDK only has the API to launch an app from another app which wouldn't work in your case since you would not be able to share session tokens.
Your best approach to achieving this would be to try out the third party Facebook SDK for .NET. Take a look at the Login API which seems to provide the ability to invoke the facebook application on the app and if not available would take the user to the store (LoginBehaviorApplicationOnly - Windows Phone 8.1).
I understand you would like to bring up the WebView if app isn't available but this SDK doesn't seem to have that functionality. You could contribute to the project or request a feature addition.
Hope this gives you a good start?
I want to allow the users of my Windows Phone 8.1 app, to share their Edited or Trimmed video to Instagram.
I think there isn't any Client Library of Instagram for Windows Phone. I come across this link:
http://instagram.com/developer/authentication/
But there is no way to upload Photo/Video to Instagram server.
Can someone guide me or redirect me to any useful link or sample code..? Any kind of help appreciated.
In windows Phone Mango there is ShareLinkTask that allows users to share URL over email or with some application (Twitter client etc).
I cannot find phone API to subscribe my application to be able to receive URLs like that.
I would like my application to be on the list off apps to which user can share URL when he wants for example with long press on link in Internet Explorer and be able to get URL info when user shares that link with my app.
There are only Pictures Extensibility and Search Extensibility exists for Windows Phone 7
All extensions are declared in WMAppManifest.xml in extensions scope, so you can check yourself that there are no more extensions at that moment
If you decompile the Microsoft.Phone assembly and look at the class in question, you can see that this API call is hard coded to invoke the Me application via interop and does not utilize any kind of a registered application lookup. It certainly seems like it would be easy enough for MS to implement however.
This is not possible at the moment.