Can windows phone store apps run in tablet? - c#

I am developing new windows phone 8.1
[RT] application working fine , but now my client want to give support to tablet also . Does my application work in tablet or I have to create a universal project ?
Please help me out for this .

Windows Phone 7.x or 8.x apps do not run on Windows 8/8.1/10 "out of the box" - you need to either have a universal app, or share your code (for example as a portable class library) to allow it to also run on the desktop variant of the OS.
If you want your app to run on over vendors tablets (such as Android or iOS) there are solutions that allow some code sharing, but again, you're looking at supporting another codebase to achieve this.

Related

Windows "Runtime" app (PC vs Phone) - Is it the same notification API?

I'm beyond confused trying to grasp what is what regarding Microsoft's so called "Runtime" Apps (also called "Universal" or the convergence of Windows 8.1).
I'm currently building an app for both Windows 8.1 and Phone 8.1 and wondering, is the Notification API exactly the same? Since I'm having trouble understanding what is what, it's hard to google what it is I'm after.
If I googled for "Phone 8 apps" it's obviously wrong, because they are something different.
Optimally I just wanna use the exact same code for the phone app as for the Windows 8.1 app, is that possible?
Sorry if I made no sense and thanks!
If you create an universal app, you'll be able to share the exact same notification code between desktop and phone, as they both share the same runtime (called WinRT). Any code you find to implement notifications on Windows 8.1 is directly applicable on Windows Phone 8.1

Calling Wp 8.1 Silverlight phone app in Wp 8.1 WinRT Phone app

Is it is possible to initiate a wp 8.1 Silverlight phone from wp8.1 WinRT phone app?
As i were trying for build a app for Scanning functionality,upto my knowledge there is no inbuilt options to scan the bar qode are QR code. When i search it for some resources, i found and many suggesting to use Zxing libraries. Though i tried with that and the success rate of the Scan was not that much satisfied.
When look through the Silverlight wp app, it was working quite well. So i was planning to create a seperate a app for this in wp 8.1 Silverlight app and that to be initiated from the WinRT phone app.
Please suggest some ideas on this.
Not directly. There is no way for a Windows Phone app to directly launch a specific other app. Apps can launch only files or URIs into their default handlers.
You can hack this by defining a protocol for your app and launching that, but you cannot guarantee that your SL app is installed. The protocol launch is fire and forget and cannot return data. The SL app could save it's data to a custom data type handled by the runtime app and launch that file, but this will all be pretty cumbersome and likely obvious to the user.
I'd try to keep all of the functionality in one app, whether that be a runtime app or a Silverlight app.

Does windows phone allow application to turn off/on the screen?

As I mentioned in the title, I plan to write an sensor-based application for windows phone platform, but I don't know if windows phone allow application (using some codes) to turn off/on the screen.
Microsoft certification will not allow application to do so, even though if your able to do with some hacks. You cant turn off the screen from your application. This type of app cannot be made for Windows Phone, the API's do not exist, and if someone found a workaround it would be removed from the store. Unfortunately non of the developers have developed such app for windows. One app is available on Windows phone store One Touch Lockscreen, Find here

Get mobile operator in Windows Phone XAML app

My application responds to mobile operator information that I used to be able to get through
DeviceNetworkInformation.CellularMobileOperator;
It seems that this property is not available anymore for the new WP XAML and universal apps.
This information is critical since my application content depends on what mobile operator provider is the user connected to.
Is there some kind of a workaround for this?
Since Universal apps run off the Windows RT platform the DeviceNetworkInformation class is not available.
To use the class DeviceNetworkInformation in your code you'll need to build a Windows Phone Silverlight 8.0/8.1 app instead.

Will Windows Mobile 5 SDK work for Windows 7.5 mango OS phone

I want to develop an application for Windows 7.5 mango OS phone like HTC Mozart, I am already having Visual Studio 2008, will the apps built by Windows Mobile 5 smartphone SDK be supported in a windows phone?
No, the Windows Phone SDK is the only one that is supported. In short, Windows Mobile != Windows Phone.
Also the UI is drastically different and the underlying runtime and .NET framework is also different. You might be able to port the logic of your code across easily to the new SDK, but the UI will need rewriting.
There are also a lot of freedoms lost in the new iteration as "the user is king". This means you need to review what your current app requires and provides to see if it is even a good fit for the new range of phones.
No, Windows mobile SDK wont work for Windows phone 7 applications.
See, the .NET Framework for windows phone 7 has changed completely . Infact the classes and APIs have changed .you can carry forward your previous experience of Windows Phone development into this new one but that certainly might not be the same code and services working in the same platform

Categories