First, the CN3 is a very capable Windows Mobile device manufactured by a company called Intermec http://www.intermec.com/. It has hardware specific to Intermec devices, such as the bar code reader (Imager) and uses the Intermec Development Libraries (IDL).
So, I created the application and ran it. Here's a screenshot:
Next, I modified the program and added a list of images:
From here, I see this being used to document labels that cannot be scanned, possibly damaged goods reporting, etc.
There are other options for obtaining pictures for reporting damaged goods, such as using a cell phone or digital camera, in addition to the the CN3. The CN3 also comes with an optional digital camera, but a CN3 cannot have both an Imager and a digital camera. At DevCon, this seemed to be the biggest complaint with the CN3.
The significant code sections for this application are as follows:
private Imager myImager;
...
myImager = new Imager(pbxImager, Imager.PictureResolutionSize.Full);
myImager.VideoRunning = true;
myImager.OnScreenCaption = "Imager Example";
myImager.OnScreenCaptionPosition = Imager.OnscreenCaptionPos.LowerLeft;
and then to capture the images:
ImageCount++;
string imageName = "\\JPGImager_" + ImageCount.ToString() + ".jpg";
myImager.SnapShot(imageName, Imager.PictureResolutionSize.Full, Imager.FileModeType.JPG);
imageList1.Images.Add(new Bitmap("\\JPGImager_" + ImageCount.ToString() + ".jpg"));
listView1.LargeImageList = imageList1;
listView1.View = View.LargeIcon;
ListViewItem lvi = new ListViewItem(ImageCount.ToString());
lvi.ImageIndex = ImageCount - 1;
listView1.Items.Add(lvi);
No comments:
Post a Comment