Windows 8 Application Development for Phone,Desktop and Tablets - windows-phone-8

I am about to start the development of an Windows 8 app. The app is supposes to run in phone, tablet and desktop. I went through lot of docs in msdn sites and this is what I understood from them.
There is no way to create one project which supports both phone and (tablet,desktop).
User can create a Portable class library project and put all the reusable code into it and add it as reference to the actual projects.
create one project for windows phone and one project for window store app(create using dev account)
Please correct me if I am wrong and also let me know if there is any other way of doing it. Also I understand like the window store app will work for both tablet and desktop whereas windows phone app works only in phones and not in tablet.Is it right?

Windows tablet comes in two flavours, Windows Pro and Windows RT.
Will the desktop store app work on both the tablets ?
is there different development environment for different category of tablets?

Related

Windows Desktop app or Windows Store app

My app, basically, needs to do the following:
getting GPS coordinates
calling web services (for accessing, sending info etc)
work in background with no UI for most of the time
The target device is a mobile tablet running with Windows 8.1.
I found out that for this OS I can develop both a desktop app or a Windows Store App.
Please, what do you suggest to use for my needs?
Also, because I dont know Windows Desktop App at all, Please can I get everything done using a desktop app?
Thanks
the main difference between those two is, whether or not you get a window in your old-school desktop (desktop app) or one of those fancy full-screen-app thingies that were introduced in Windows 8... Afaik you can't sell the Desktop apps on the Windows Store, but functionality-wise your average desktop app has no real downside as you can use .NET with all fancy features for both...
Here you can find a detailed comparison between both. But from your description you should be fine with the desktop app (:
Cheers D
I would go with the desktop app simply for the background tasks you mentioned. This is tricky to do in Windows Store apps as Windows tombstones (freezes) the apps if you navigate away for any length of time. As far as I know, only certain apps, such as music apps, can run in the background.
Desktop apps have no such limitation.

Is it possible to create a headless accessibility tool for windows phone?

We've just successfully created an accessibility app for android (think screen reader) that works across all applications without needing to first launch a specific app, via the accessibility service.
Is it possible to create an equivalent headless service for Windows Phone? UIAutomation is available for WinRT but I don't think it's available for Windows Phone 8.1 or 10 in the same way. How could I achieve something like this?
It's currently not possible to build a system-wide accessibility app on Windows Phone 8.x (or 10 for that matter). Please consider adding a suggestion on UserVoice.

Multi mobile OS simulator

I am trying to find Simulators for multiple mobile Operating Systems, but i am always getting Emulators instead.
What i need basically is maybe a Web Version of different mobile OS, not to run or test applications, just to navigate through their menu and settings (go at settings, change settings, setup email etc.)
The purpose for this is to guide through users on how to change their settings on their phones, without the need of the actual device or having multiple emulators.
UPDATE
After a lot of search around i managed to find an Android web simulator that suits my needs at Manymo.
It has versions : 4.2 , 4.1 , 4.0.3 , 2.3 , 2.2 , 2.1
Still in search for something similar for iOS, Windows Phone and Blackberry.
You could easily set up such emulators with a bit of CSS and jQuery (for the animations when changing screens).
From time to time I run into such "simulators" on cell-provider companies' websites. But they are very limited to a teaching a few functions, and are accompanied by text on the side.
You might want to hire a web developer, give him 3-4 days and then you have a nice simulator for the 3 popular OSes.
Just beware that having an Android simulator may not be enough; The OS changes with the devices, as manufacturers do whatever they want with the OS and compile for their specific device.
Have you considered creating a free account on http://deviceanywhere.com?
There are some 'fun' apps built for Windows Phone to emulate other phones
iFun - iPhone simulator
Fundroid - Android simulator
B7B - BlackBerry simulator
I haven't tried them out myself so I can't say how well they simulate phone settings, but is this kind of what you're looking for?
Something like http://www.mobilephoneemulator.com/ then perhaps. Or do you want it for apps rather than web pages? Then I don't think it's possible.
There are packages like jQuery Mobile that is designed to generate web apps that look like native mobile apps.

Any code changes needed to get WP8 app to run on Surface Tablet?

So, our Windows Phone developer left recently, and I primarily do Android development.
We had a question from a client about the possibility of installing our Windows Phone 8 app on a Surface Tablet. Namely, is it possible to do? As it stands, our WP8 app was not written with tablets in mind, so my question is:
Is there anything I need to do to the WP8 app to get it to install on a tablet, (should it work as-is (like Android apps do), is there some sort of flag I have to enable and then rebuild, etc.?)
As #AMR mentions, the biggest challenge will be the UI; however, depending on the device functionality being used, the "backend" may or may not be a challenge as well.
There is great guidance on the Windows Phone Dev Center about practices and techniques for building for both platforms, so depending on when the phone app was built and your former developer's awareness of the overlapping platforms, you could be in great shape or just so-so shape.
Additionally, the following resources may be of help in mapping from what you have already coded in Windows Phone 8 to what you'd do in Windows 8:
XAML controls comparison between Windows Phone 8 and Windows 8
(much will be relevant to Windows Phone 7 too)
Windows Phone 8 and Windows 8 platform comparison (shows common
APIs, storage, networking, etc.)
Lastly, the Windows Phone Runtime API documentation gives a listing
of APIs only on Phone 8 vs. APIs adopted from Windows 8.
Okay well first off yes, there will be a few things that change but nothing to serious.
HOPFULLY you have a good MVVM model. If this is the case then you should be able to just copy and paste 99.999% of your backend code right into your tablet app. There are a few things that are different but its just namespace stuff. Nothing too serious.
The Major change is going to be your UI layout and UI controls. Depending on what libs you are using you will probably have a lot of conflicts.
Your best bet is to just copy and paste your backend code in and then creating a new UI. I have tried to merge phone UIs in the paste into the tablet and its rediculous at times. I found it takes less time to just recreate it.
If you need any help you can hit me up at www.AnthonyRussell.info Maybe I can help with your transfer. Just make sure to leave your contact info.

Windows 8 App and Windows Phone App Submission

I am a little confused with the two apps, Windows 8 (which run only on Windows 8 OS?) and Windows Phone Apps.
Based on the marketing I heard around windows 8, I assumed an app available on Windows 8 would automatically be available on windows phone?
I am assuming this is not the case after searching around, because I see a windows app store (which I assume only includes windows 8 apps), and the windows phone.
Assuming my assumptions are correct, do you need to buy a developer licence for both windows 8 app store and windows phone store?
Is it as simple as submitting your windows 8 app that was created through windows phone, or is there additional configuration or development that needs to be done? Assuming that you don't care about resolutions or functionality.
Thanks for any clarification.
*Additional question,
Where does Windows tablets running windows RT and or non RT fall into all this? Are they windows apps I'm assuming?
Hope it helps you. As the store licences are unified (WP8 and Windows 8), the development remains different http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/11/06/unifying-developer-registration-windows-and-windows-phone.aspx
Yes you are correct Both the platforms need seperate Developer Accounts one for the Windows Store Apps and one For the Windows Phone Apps..and yes both the Apps are different you have to develop both the Apps Separately and submit them to the respective market separately only then would it be available in the respective markets.
Separate Developer Accounts for the Windows Store Apps and Phone are no longer required. If you have a App Store account, you should now see that you can register up to 3 phones without a separate registration process.
IF you have a developer account, VS2013, and a windows 8 phone plugged into USB, an easy way to be guided through the process is to create a new project and select a W8 Phone sample. Specify that you want to debug using a Device (as opposed to an emulator). You will get a Device is not registered for development dialog with a link to instructions.
As mentioned in other post, things have been streamlined so W8 and W8 phone mostly overlap APIs, and you can probably use the same source, but will need build separate outputs.