I want to get the list of all time zones that are listed in the Date+Time settings in my windows phone app. How can i do this. Kindly help.
You can't enumerate time zones like you did previously in plain ole c# apps:
TimeZoneInfo.GetSystemTimeZones()
You can however, use this NuGet package : https://www.nuget.org/packages/WinRTTimeZones
Related
Since submitting a Windows Phone 8.1 app alongside our Windows Phone 8 I've noticed some strange behaviour in the store regarding app version numbers. In my AppManifest and when I'm building packages for the store I set a version number say, 2.0.2.1.
The package uploads fine but when visible in the store and on the upload page the version number has changed to when I built the package, for example v2015.918.xxxxx = 18/9/2015. I guess this is fine as it will keep getting larger but I still rather show the actual version number.
Thanks to an automated Twitter account I've noticed it happening to other apps too: https://twitter.com/NewsCuriosityWP/status/646956803079700480
I'd love to know why this happening, a bug with the store maybe?
Here are some examples:
I had this problem too, I posted about it in the forums: https://social.msdn.microsoft.com/Forums/en-US/d2913ad6-6130-45b6-8a7f-086ff7f04cff/problem-with-version-number?forum=wpsubmit
Apparently it is working as intended ... but when I ported an app to Win10 UWP, it really messed up the version numbers and now I have to specify a version starting with 2015.... :-(
If you want to avoid this for new applications, you can prevent it from creating an app bundle, and then it should use the version number you specified.
Unfortunately, for already published app you cannot go back from app bundling
Hope this helps...
i was trying to submit my app to the Windows Phone Store, but i got these errors:
In Visual Studio 2013, i compiled the solution as release and not as debug. One of those Microsoft's links (the first error) suggests to add a flag to the linker, but i didn't manage to do that.
Also, the second one regards a bunch of unsupported APIs that i didn't even include in my project. Did someone face the same issue?
Thanks
Please check thirdparty libraries or you code for some API which not allowed for Windows Phone 8.1 Store Apps
For example, I added Flurry WP8.0 SDK in my WP8.1 Store App and I have the same problems. After that I removed Flurry and Store accepted my App
I'm trying to find the best solution in Windows Phone development for configuring environment-specific information.
These may include for example URLs that are different for development, test and production.
They also should be configurable for each developer, alowing them to run the code with his or her own environment setup.
Another example would be the Live SDK ClientID. I'm currently playing around with this SDK, but obviously you don't want to check in your key on GitHub. So hard coding it like every example does is not an option :)
As far as I can see, there is no notion of App.config and appSettings with Windows Phone, and all search results point me to use LocalStorage, which is NOT what I'm after.
Anyone have some experience to this? It must be a standard need for large enterprise applications.
You can store your settings in IsolatedStorage by IsolatedStorageSettings class.
This may help you :)
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769510(v=vs.105).aspx
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj714090(v=vs.105).aspx
I developed some apps for Windows Phone (conversion from other plattforms) and when I finally wanted to upload the apps, I saw this BETA-Feature. You can upload your app and test it in real environment. Sound Great.
Now I have seen all the bugs in this process:
First of all, it seems I cannot convert this app if it is working properly to published app?
I have to crate a new app and I have to re-Enter all the descriptions in all languages and re-upload all screenshots?
Next big problem: I cannot re-use the app name? WTF? My app names are now reserved for these BETA-Apps?
What can I do? I want to convert the apps from BETA to PUBLISHED? Not possible? I have to RE-ENTER ALL INFORMATION IN ALL LANGUAGES? I have to re-upload EVERY Screenshot for EVERY language? I have to use a different name? Is this really the only possibility?
On MSDN you can find the description of the beta testing. So, the answer is yes, you need to reinput all data for the production version. In order to use application name in the production release, you can unpublish and delete your beta app. Then you can use its name.
In my own experience, I didn't add much information for the beta distribution. Also, I added suffix BETA to the app, which is in beta distribution. So beta testers can recognize the build.
Is it possible to push windows 8 app directly to some not development-devices (without direct access to device)? For example, if one wants to install demo version of our app during the exhibition on devices of someone who intersted on our product.
First of all, the application deployment bypassing the Windows Store is called sideloading.
One basically has two options to perform sideloading:
Windows 8 Pro and Windows Server 8, if they are joined to a domain, are directly ready for side-loading.
Windows 8 and Windows 8 RT, as well as the above-mentioned systems without domain, require the activation of a special Sideloading key, which can be purchased by enterprises only and usually available in 100 packs (priced at $3000 per pack, $30 per licence).
The installation of the app can be done either by using the application image and DISM or in runtime by add-appxpackage PowerShell CmdLet.
Here is a good explanation of the whole process (in German).
No, it would not be practical at an exhibition to provide direct loading of your application, bypassing the Windows Store. The Windows Store is there to provide a safe environment in which to download certified applications.
It would be a far better experience if users could download from the Windows Store a trial version directly -- maybe you could provide free a wifi/network connection, and a bit.ly link or QR code of some sort to quickly get to the download for your application. :)
While it is possible to do side-loading (walkthrough) in some circumstances, it was not intended to be used in this case. It's intended for Enterprise deployment and the walkthrough article has lots of details about the specific options and the costs associated if the destination machines/Windows isn't running Windows 8+ Enterprise edition.
One other option is that you can also deploy an application for testing purposes to another developer machine (which requires a Windows 8 developer license). It would be unusual for anyone but a Windows 8 application developer to have this activated (as you know, they expire after 30 days). This may be a violation of the licensing agreement though as it is expected that this is for development purposes only. It also involves powershell, so it would be a potentially awkward installation experience at an exhibition.
It is possible dude...
Just developer unlock ur phone and deploy apps directly from PC.