Windows Phone 8 Push Notification - windows-phone-7

The structure of PUSH Notification for Windows Store 8 App differs from Windows Phone 8 app (in terms of Registration, Authentication, etc,.) at least that's what I gather from the two below links.
Windows Store.
Windows Phone 8.
I decided to run the sample from this link. I downloaded it, ran it and waited for URI to return, but nothing happens. No response at all. I am using Visual Studio 2012.
What is the mistake that I am making here?
Why is there a different approach for Windows Store 8 application and Windows Phone 8 PUSH notification service?

I'm not sure what your were asking in question #1.
Overall Win8 and WP8 push notifications are different because they end up supporting different UX on the operating system itself. Win8 and WP8 need different data to power their tiles, toast notifications and raw channels. As a result of that you'll need different message formats to power each platform. And as a result of that the services were separated for MPNS (Microsoft Push Notifications Service) on WP8 and WPNS (Windows Push Notifications Services) on Win8.

Related

Push Notifications on Windows Desktop Apps

we are currently writing an Cross-Plattform Application for Android, iOS and Desktop / Windows with Flutter.
Our Application relies on Push Notifications to trigger actions in our application, which works perfectly fine on Android and iOS. On Windows we ship our application with an InnoSetup-Installer as an .exe. Is it possible to use the Microsoft Service (WNS) for sending Push Notifications to our application? Or is this only possible for Windows Store Applications?
Thank you and best regards
Langohr
There seems to be a plugin https://pub.dev/packages/quick_notify for that. The repo seems to be archived, though. So not sure about it. It does support Windows notifications.

How to develop Windows Phone 7.5 compatibile app?

I am starting first project for Windows Phone and it should work on at least Windows Phone 7.5. My question is if should I write app on Windows Phone 7.5 or should I write two app versions - once for Windows Phone 7.5 and another for Windows Phone 8?
I know that app which works on WP7.5 will also work on WP8 but what would you recommend? What would you do?
If you think that writing two apps for both versions is a better idea then should I write app on WP8 first and at the end remove special WP8 features to downgrade it for WP7.5 or maybe I should write WP7.5 app and then add some WP8 features to upgrade it to WP8?
I am asking because I want to learn WP developement and I have two tutorials: "WP7 jumpstart" and "WP8 jumpstart" tutorials (from MSDN) and I am wondering If I can skip WP7 and start directly with WP8?
Standard way will be to create a Windows Phone Class Library that will contain all the code except Page, View or Windows 8 specific code and than create Windows Phone App and set dependency to above created Library project. Now as Rowland Shaw as suggested you can target the Windows Phone app to 7.5 so that it will work for Windows 8 as well and if you want to use any Windows 8 specific API you can create separate application with same Library reference so that all the common code will not be duplicated.
Referr MSDN Link for the same.
If you wish to normally support all screen sizes, you should create 2 apps. Because WP7.x supported only 1 screen resolution, and running on WP8.x with larger screen the app will remain small size.
You would have to use WP7.5 if you are not going to impelement any feature which is present in only WP8

As compared to android, does it cost money to develop for windows 8? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have been reading a number of blogs on the subject. But now I am left with a number of sometimes contradictory information. I hope this community can present me the truth on the matter.
WHAT I HAVE:
I own a mac osx mountain lion. I also own a pc, which I bought in November 2008, that's running both Windows Vista and Ubuntu.
COMPARISON:
If I decide to develop for android right now, I can get everything I need for free:
I can get the IDE (eclipse) for free
I can get the android sdk for free
I can get the emulators for free
I only have to pay a $25 lifetime fee if I decide to publish on the Google Play Store
No computer to buy; no OS to buy; no IDE to buy; nothing to buy.
Can someone please tell me: Is it the same for windows 8 development? With my existing computers, would it be cost free to develop for windows 8? If not, what do I need to buy. Please no iffy info, I am looking for decisive information. One blog, for example, talks about a 30 day free-trial of the Windows 8 OS: This is clearly not free now is it?
Also is developing for windows phone the same as developing for windows 8? Some blogs treat the two as equivalent. What's the reality?
A: All windows phone apps work on windows 8?
B: All windows 8 apps work on windows phone?
C: Both A and B
How about windows 7? Is there a relationship there with windows phones?
Note: I understand the details may make this seem like a number of questions in one; but I had to include the details. The question, however, is one: does it cost money to develop for windows based on the criteria I present?
To develop Windows Store/Modern UI applications for Windows 8 you need a computer running the Windows 8 OS.
For Windows Phone 8 development you specifically need Windows 8 Professional 64-bit.
Windows 8 is not free, but there is a 90-day evaluation for developers that you can download free. Since you have a Vista license you should also be able to upgrade that to Windows 8, but again that is not free (just as OSX upgrades are not, IIRC).
Visual Studio Express versions are FREE and available for both Windows 8 and Windows Phone development (they are different platforms, but with some overlap in terms of code reuse).
To publish to the Windows Store (Windows 8 apps) there is a $49 annual account fee. For the Windows Phone Store, it's a separate account that has a $99 annual fee.
If you are a student and join DreamSpark, both of these fees are waived.
If you are a MSDN subscriber, likewise these fees are waived.
An MSDN subscription is part of the BizSpark program for startups as well, so if you qualify there, you would get free store accounts as well as access to Windows 8.
With Windows 7 you would only be able to develop applications for the Windows Phone 7 platform, so given the setup you've described there's no advantage in going to 7 versus 8. When you build Windows Phone applications with Windows 8 development tools you will still be able to target Windows Phone 7 devices in addition to the newer Windows Phone 8 devices.
Do keep in mind that Microsoft is always running promotions and incentives in various markets (in the US, for instance, there is the Keep the Cash program where you can get $100 for up to 10 apps you publish in the Windows Store, and another $1000 for Windows Phone applications, - more than offsetting costs to get up and running)!
Likewise, there are Microsoft audience evangelists across the world whose role it is to help you get started and be a successful app publisher on the platform. Do reach out to your local rep as he or she may can provide additional guidance and make you aware of offers/incentives that may help you to get started. If you don't know how to reach him or her, please send me a note via my profile and I will connect you.
It is and it is not free, depends on how you look at it.
To develop apps for Windows 8 you need a proper Windows 8 license. Technically, if you don't buy a new computer or a tablet these days, then you need to buy Windows 8 OS and install it on your existing machine to be able to start developing. That costs money, of course.
Once you buy Windows 8, the development tools for developing apps are free in Express versions, which are perfectly enough for you to develop apps.
Comparing to Android, you would probably want to buy an Android device to test your apps before you publish them. Technically speaking, by having the Windows 8 OS you have the device and emulator at the same time, so there you won't have any new hardware costs.
Price of the annual subscription is around 50 USD if you're an individual, and around 99 USD if you're a company. Not sure about your status, but if you're a student, you can get an annual subscription for both Windows 8 and Windows Phone 8 development over Dreamspark for free. If you're an MSDN subscriber, you also get the free annual subscriptions. You might even have access to Windows 8 through MSDN and/or Dreamspark Premium.
Regarding the Windows Phone:
Currently, the Windows Phone apps you develop will work only inside
Windows Phone emulators on Windows 8
Currently, Windows 8 apps don't work on Windows Phone
The development for those two platform has many similarities, so you can reuse some code from you Windows 8 app in your Windows Phone 8 app and vice versa by either using portable libraries or simply by changing some things.
On Windows 7 you can develop Windows Phone 7 apps
I think you need to decide for yourself. It seems to me that you're trying to make a long term decisions but have difficulties understanding the simple differences between Windows Phone 8 and Windows 8.
Also, before deciding, have in mind the size of the platforms.
There are two different things you can target if you're going to develop for Windows 8. You can target the desktop or you can target WinRT. Windows Phone 8 is a slightly different animal.
To target the desktop you don't need Windows 8 and you can use Visual Studio express, so targeting the desktop is free.
To develop for WinRT (the tablet interface for Windows 8) you need to have Windows 8 (previous versions of the OS don't support targeting WinRT). You also need VS, but again, you can use the express version, so there is no require costs. Finally, you need to register as a developer for the Windows App Store. See pricing on there here. If you meet the requirements, you can get a BizSpark Account and get all the needed things to develop for WinRT for free (Windows 8, Appstore account and even VS Pro).
Developing for Windows 8 phone is slightly different. The core is most the same as for WinRT, but the UI is different, so you can share a lot of non-UI code with a WinRT app, but will need to have a separate UI. Costs for this are similar to that of WinRT with the same caveats.

WP7 In-App purchase

Could you tell me how I can integrate In-App to Windows Phone 7.
I know that with Windows Phone 8 this feature is native. But we need implement it to WP7 too.
Service should provide opportunity to pay via Card (Master, Visa), SMS, or something else.
I know about Linxter, but it's private beta and developers don't respond to us.
Maybe other services exists?
Thanks.
As I Know you cannot integrate IAP (In App Purchases) in Windows Phone 7 as its dependent on some libraries that are not available for Windows Phone 7 Mango(7.5) and its only exclusively available for Windows Phone 8.
But You can do two things.
If your app is compiled with Windows Phone 7.5 and if its runs on Windows Phone 8 Devices then we can put IAP through reflection method. So If Your Windows Phone 7.5 Compiled app runs on 7.5 firmware devices then there will be no IAP but if the same app runs on 8.0 firmware devices then it will implement IAP.
http://channel9.msdn.com/Shows/Inside+Windows+Phone/Inside-Windows-Phone-45--Adding-In-App-Purchase-as-a-light-up-feature-to-your-Windows-Phone-7-Games
You can use any payment gateway and integrate into your web and once user clicks for Payments then you should open that payment page in webbrowser task and web will be communicated through secure Connection "HTTPS".
I hope it will helps you :)

How to use phone gap in windows phone 7 mobile application development?

I am iphone and android developer.I know how to use phone gap for iphone app and android app development.But I am new for windows phone 7 app development using phonegap.I dont know how to start windows phone 7 application development using phone gap.
Please give me advice for this query.
Thanks in advance.
Looks like PhoneGap doesn't support Windows Phone yet.
This post seems to suggest its close though and there is an alpha/beta you can start developing
http://programmersgoodies.com/phonegap-for-windows-phone-7
PhoneGap support for Windows Phone 7 is still in a "pre-alpha" state.
From a practical stand it's not realistic to start developing with it. Some people have started (and apparently submitted apps based on it) but there is no guarantee of future compatibility with what they've done.
When available, it will also only support phones running Mango.

Resources