开发者

Can i use this Barcode library on WP7?

Greeting,

can i use this library in Windows Phone 7?

T开发者_运维知识库here exists C# or VB.NET version.

Here is used namspaces:

using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Text;
using System.Collections.Specialized;
using System.Collections;

Or how can i know that I can use the library or I can't.


Not without changes - System.Drawing isn't available in WP7 (or Silverlight in general, for that matter).

The simplest way to find out though is to create a new WP7 class library project, try to add the existing source to it, and then try to add the assemblies that the original code references.


If you are looking for a barcode scanning library in Silverlight or Windows Phone 7 you can check out the Silverlight ZXing port at http://silverlightzxing.codeplex.com/. The project includes sample code for using the library as well as a BarcodePhotoChooser XAML/CS page for displaying and choosing sample barcodes since the emulator does not support the camera. I created it for use in the PhraseMeme Scanner app that was recently released to the marketplace, but I plan on submitting bug fixes and additional code to the project so that others can also use it in their Windows Phone 7 or Silverlight applications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜