I am developing an app using Visual Studio Express 2013. I selected a blank application(Universal) template and there is no blank template available specific to phone.
Doing so has created an app with 2 c# classes targeting to both phone and desktop.
How can I create an app which I want to target only for windows phone. Will deleting one of the class from the project solve the purpose?
I think You should select windows phone Apps Template if you are going for only windows phone app.
If you're targeting only WindowsPhone, then you should be going with the Silverlight app for WP or the normal WinRT apps for WP.
Universal app is where it targets both the WP and the Store apps.
Hope it helps!
Related
I want to develop background task when app is closed.I searched on google but I am not getting any proper answer.I am developing windows phone runtime app,not silver light.please help me..
you can develop now - UWP apps
learn UWP - https://developer.microsoft.com/en-us/windows/develop
Windows 8 development -https://msdn.microsoft.com/library/windows/apps/xaml/mt244353.aspx
Support your app with background tasks- https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/support-your-app-with-background-tasks
Get started with Windows apps - https://developer.microsoft.com/en-us/windows/getstarted
Creating background Task is easy.
You can go through this link
https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/create-and-register-a-background-task
I have a device with a hard-coded NFC tag that opens an Android app based on an Android Application Record (AAR). Basically it calls an Android app to open with type android.com:pkg and payload com.something.Something.
I have researched on how to launch my Windows Phone app with that existing tag, but in the end I have only found that Windows Phone can launch an app if the NFC tag is adequately programmed to open the Windows Phone app ID or the custom protocol registered in my app. But it is very important that I use the existing NFC tag which opens the Android app ID.
What is curious is that my Windows 10 Mobile detects this existing NFC tag to want to open the app when I touch it with my phone and prompts me if I want to launch an app? But the app with that ID isn't installed so I did a research on how to put this app ID on my Windows Phone app but in the end I only got deployment errors.
Android Application Records (AAR) cannot be used to launch Windows apps. Windows uses a different system to launch apps (Launch Record). The main probem is that Windows uses a different scheme to identify apps (not a Java package name as Android does). Moreover, Windows apps cannot be set to be automatically launched based on the data contained in an AAR, hence, it's not possible to build some custom filter that starts your Windows app based on that AAR.
The workaround that's currently known seems to be what's discussed in Cross platform launch records with extra data on Windows Phone and Android. Though this requires modification of the data structures on the tag side.
I'm writing a Windows 8.1 universal App (WinRT).
I need to integrate with Facebook to track App Events.
I made the same thing in an Android App using the AppEventsLogger.
I added the "Facebook SDK for .NET" to my project using NuGet, but I cannot find any way to track the App Events (like activateApp, deactivateApp, logEvent)
Are these functionalities I need included in the SDK I'm using?
Can I track these events in any other way in a WinRT Application?
Thank you all.
I have an a PAID app on the store. Now I would like to distribute another free(2 apps: 1 paid and 1 free). Obviously I would not recreate another project.
you can do? on ios and android is direct by the project with the targets. you can on windows phone?
i use Windows phone 8.1 silverlight
The same as on iOs and Android. Use Conditional compilation symbols.
and then in code:
#if FREE_VERSION
TrialPanel.Visibility = Visibility.Visible;
#endif
Is it possible to use LESS files in a WinJS application for the Windows Store?
I like how the Web Essentials extension works with web apps and would like to have this functionality in my WinJS app.
Yes, as long as you've got it setup to compile and you add the output CSS files to your project, it works fine. I'm using it in a WinJS project.