How do you copy something to the clipboard in a Windows 8.1 apps? I couldn't find any API to do this? You could do it in the old Silverlight apps, but there seems to be no way now.
Is there any workaround? I want share some strings from one app which could be used by any other app.
There is no clipboard API for WP8.1 but it is available for Windows 8.1 apps. You need to either use a silverlight library which helps in setting content on clipboard or use share charm.
It isn't really possible with the old 8.1 API, but the Charming Share Clipboard API is probably your best bet here for attempting it.
Can you perhaps upgrade your App to the newer Windows 10 UWP API which natively supports it? This would be fairly easy and give you better hardware compatibility also.
Clipboard API
In a wp project development includes QR Scan module. I was surfing for some sources regarding this, Some article says that it won't supported in wp 8.1 winrt. Some says a third party tool can achieve but still there are some issues with that. So I request to guide a best approach for this.
Thanks in advance.
I want to write a sample application on Windows Phone 8 using Caliburn.Micro. I have found some tutorials but no one uses Caliburn.Micro 2.0. If anybody could give me any "Hello World" I would be grateful.
It is the same as using Caliburn.Micro 1.5.x from all the tutorials. The sample for WP7 also applies to WP8: https://github.com/Caliburn-Micro/Caliburn.Micro/tree/master/samples/Caliburn.Micro.HelloWP71
I understood Silverlight was drop by MS.
I create my first app permitting to read RSS in WindowsPhone and I need to add a reference to System.ServiceModel.Syndication.dll. In the doc http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh487167(v=vs.105).aspx, I need to find this lib in Microsoft SDKs/Silverlight/v4.0/Libraries/Client/.Why should I do it? Why I can't add directly a lib from the standard .net4?
Can you help me to understand.
[UPDATE]
When I add the lib from C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\
Visual Studio shows a windows "Adding reference to Windows Phone XNA assembly is safe. However adding reference to a silverlight assembly may lead to unexpexted application behavior. Do you want to continue.
So my assumption is this lib shoudn't be use but I don't find another way.
Maybe by add a ref from .Net 4 or 4.5.
Best regards,
Alexandre
The Windows Phone 7 SDK was built on top of Silverlight. For Windows Phone 8 this was changed so that there isn't a direct history with Silverlight but it was based on WinRT instead. Lots of functionality was made available to Silverlight controls to support backwards compatibility with apps written for 7.
Because WinRT is not compatible with classes written for the full version of the framework you cannot use these in your Windows Phone apps.
The warning you are getting is just a warning. It's telling you that your doing something that isn't an ideal and so you may have issues. Unfortunately there are no other versions of the SyndicationFeed object available to Windows Phone apps so you'll need to use this library if you want the functionality of SyndicationFeed without recreating it yourself. The good news is that there are no issue with using this class in your app. Just be sure to test carefully, on real devices, if you start to use other functionality from that assembly because, as the warning says: "there may be unexpected behaviour".
I was introduced to programming by the web (HTML, CSS, JS, and some PHP) and never tapped on the desktop development for Windows so when I tried to read through the Windows Phone 8 developer documentations, I was totally lost at sea.
I once read a line or two on Microsoft website that says you can build WP8 apps using just HTML5, CSS3 and JavaScript but could never find it any more. So my question is if it's possible?
I tried to find something to get started but it seems to me it all requires C#, C/C++, etc.? I thought they said the web is native in WP8? So in this sense, I should be able to develop apps using just HTML5, CSS3, and JavaScript? Am I right?
Yes, of course. You can use PhoneGap to get your job done!
Yes, Visual Studio 2012 provides a template to build HTML5 apps. This template is available with WP8 SDK.
Alternatively you can use Phonegap, Titanium, Sencha.
https://github.com/matthiasxc/WP8-HTML-Tutorials
You can use Phonegap to do that. Phonegap is a wrapper built around html5 technologies.
I've been looking into the same issue, and found this wonderful post:
http://ax2012aifintegration.blogspot.com/2013/11/mvvm-windows-phone-8-app-using.html
Here, they make a normal WP8 app in Visual Studio, and adapt it to be written in HTML, CSS and JavaScript, using Model-View-ViewModel pattern.
I believe the upcoming Visual Studio 2013 (which is available as a RC version right now) will have the templates installed, but for now, as others have pointed out, PhoneGap is the best option. I remember having created a JS project in VS 2012, but now that I have a new computer I can't find the templates anywhere.
Here is a nice tutorial from MSDN on how to create an HTML5/JS project in Visual Studio using PhoneGap:
http://blogs.msdn.com/b/davrous/archive/2011/12/23/tutorial-how-to-create-html5-applications-on-windows-phone-thanks-to-phonegap.aspx
Yes it is possible to create windows apps using html 5 and javascript
U can also develop windows phone apps without having the knowledge of coding...
To know more about it, check out:
http://www.techstorms.in/2013/10/how-to-develop-windows-phone-apps-for-free.html