I've recently discovered that an "Accessory apps" section exists within the phone's settings, and I'd be interested in trying to create a Windows Phone version of the accessory's official app that's only available for Android devices.
My question is, what are the steps to develop such apps using Visual Studio? I've been looking for a template, but haven't found any so far.
As of today, unless you are an OEM who is granted special privilege by Microsoft, you cannot create an accessory app. Although the classes in Windows.Phone.Notification.Management are visible in Visual Studio, attempting to use any of them will result in an UnauthorizedAccessException.
Related
I have an Windows Embedded Compact v8.00 device installed with build 6247. FYI - This device is an Siemens HMI.
Now I'm looking for the right way to develop applications for this version of Windows. I started trying with Visual Studio 2008, so I build a very simple application with just a useless textbox. After copying the executable to the device I start tried to run the test applications but nothing happens.
After searching the web I found out it's better to install Visual Studio 2015 PRO with an application builder from Microsoft's website.
Is this the right way to do? What else does I need to know when developing applications for Windows Compact 2013?
To create applications for Windows Embedded Compact 2013 you need VS2013 or VS2015 professional with the Application Builder plugin and a valid SDK installed on your PC.
If you develop managed apps you also need to check in the .NET runtime is already part of the image or find a way to deploy and install it permanently on your device (the way to do this may change depending on the device configuration, registry type etc.)
I am using a Nokia lumia630 device, which uses latest windows 10 insider preview build available.
i created a sample windows UWP application and took a build of the same.The output of the build is an Appx.
How can i install this Appx to my device? Anyone having any idea?
Deploying apps to Win 10 Mobile is a bit difficult when using the command line tool. A great alternative is the Device Portal that is available under the “For Developer” settings.Its available with the latest build.
Now You can connect to the device using a web browser and manage apps via the Apps page with no pairing/pin required. This seems to be an easy way of deploying apps than using command line.
Microsoft developed a command line tool called WinAppDeployCmd so you can deploy an Universal Windows app from a Windows 10 machine to any Windows 10 Mobile device via USB or WiFi (since they're on the same subnet). That's a perfect solution if you doesn't have Visual Studio, the app source code or you're under a Hyper-V Virtual Machine.
Basically you will need:
Windows 10 SDK
Generate the .appx package (PC)
Enable the developer mode (Mobile)
Turn on the discovery mode (Mobile)
Get the code to pair devices (Mobile)
Get mobile IP address using WinAppDeployCmd tool (PC)
Run command (PC)
The command will look like this
WinAppDeployCmd install -file “<path>” -ip <ip> -pin <pin>
The tool can be found at C:\Arquivos de Programas (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe
You can find a detailed step-by-step tutorial here
Visual Studio allows you to directly deploy an app to a windows phone. You need to register your windows phone as a development phone with Microsoft. Once this is done, you could use visual studio to do this for you. Not sure if you can deploy windows 10 apps to your phone at the moment. Try this link and see:
https://msdn.microsoft.com/en-us/library/windows/apps/ff769508%28v=vs.105%29.aspx Remember to Upvote if this helps.
You can register your Windows Phone 10 in developer mode. Follow these steps and you can achieve your goal.
When you use device portal like mentioned in the answers above, some might get the following error
"Failed to start deployment. Failure text: Package failed updates, dependency or conflict validation. (0x80073cf3)"
To fix this:
Add the dependencies found under "Dependencies/ARM" folder.Add it here.
I had to add following dependencies to make it work:
Microsoft.NET.CoreRuntime.1.0.appx
Microsoft.VCLibs.ARM.Debug.14.00.appx
I am trying to learn C# with XAML but some how i am not able to create a sample app.
I am following few tutorials on internet,
but as given in the tutorial i need to select Blank App (XAML) template with Visual C#.
But in my Visual Studio 2013 Express Edition i don't get option for:
Installed->Templates->Visual C#->Windows Store->Blank App (XAML)
I have only:
Installed->Templates->Visual C#->Windows
And no Blank App (XAML) option.
Do i need to install anything else to get this option?
Also What are Windows Store applications?
UPDATE:
- My Visual Studio 2013 Express is installed on Windows 7 Machine.
- I am trying to create just a sample application using C# and XAML not specific for Windows Store app.
Could it be that you are not using Windows 8/8.1 which is required for App development. You can however create XAML/WPF windows desktop programs but then you would have to find tutorials specific for WPF.
I think you have installed Visual Studio Express for Windows Desktop, instead of for Windows.
You can download it here: http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-8
May be this is a question when a programmer/developer thinks to start mobile application development. But he is habitual of a particular environment in which he is working from several years. So it would be more comfortable that he can develop mobile app in the same environment what he is using from years.
I am currently working in Asp.Net MVC with C#, Visual Studio 2013 and i like it most. I am working on a large MIS and want to make available my solution to all platforms. As we know mobile devices are the most powerful technology current days.
Please suggest some way that i can work in visual studio and can develop cross platform mobile application that can work on Android, MAC, Windows Mobile and Windows PC/Laptops
I know there is many tools are available, but i need an expert suggestion on this particular scenario. If you provide a solution then please describe how to enable it in visual studio or how to customize current solution for that.
To have .net apps running on mobile platforms other than microsoft, have a look at xamarin
This is the front office for the mono framework
I know it's probably old question but you can try Apache Cordova with Visual Studio.
More options described in here
Yesterday at the xamarin webinar I asked if it was possible to install xamarin studio for IOS development on a windows machine and was given the answer that it was possible but developers usually went for visual studio. Today I've tried to find info about how to do this but can only find posts that it can only be done via Visual Studio. Most of the posts are a couple of months old though so which is the correct answer?
Unfortunately, I think your fears are true. Another post talks a little about this:
How to develop iOS app using Xamarin Studio on Windows?
The official Xamarin documentation also says pretty clearly that you need Visual Studio to do iOS development in Windows. On top of that, you also need a Mac on the network to compile the iOS project.
Using Mac build Host you can do but you'll need the networked mac
for developing and debugging too.
or else you can use Xamarin Live Player using which you can
debug,develop and deploy the app completely in windows without the
help of any Apple system but to sign and release the app to appstore
you will need Apple System though
You can access Xamarin Studio from a Windows machine by accessing a remote Mac from services such as MacinCloud.com. Although you are not running Xamarin Studio directly on your Windows machine, the ability to access a Mac server for development allows you to run Xamarin Studio, and other Mac-only tools easily.