preview

Is there a simple way to turn the byte array from the camera's onPreviewFrame into a picture in android?

I ask if there is a simple way because there is a google issue report saying that using decodeByteArray isn't possible. But that report originated in 2008 and I was hoping there was a solution not posted on there. The method listed on the issue report was to decode the format yourself, but I'd prefer to not have to put that in and slow d...

What are the various code-with-instant-preview (and auto-save) services out there?

What are the various code-with-instant-preview (and auto-save) services out there? http://jsbin.com/ http://jsfiddle.net/ ...

subclassing SurfaceView and overriding onDraw() to change SurfaceView parameters to generate preview of desired size

I have subclassed the SurfaceView and instantiating it in onCreate of the Activity. The preview is generated but the control never enters onDraw() which is overriden in the subclass of SurfaceView. Why is that? class ActivityClass extends Activity{ onCreate(){ mPreview = new Preview(this); setContentView(mPreview); } public void st...

using dispatchDraw(Canvas) to obtain subsection of video preview

The following is the overriden dispatchDraw in a subclass of SurfaceView. I'm trying to change the parameters of the Surface(getting only a subsection of the video preview. @Override public void dispatchDraw (Canvas canvas) { Log.d(TAG,"**************inside dispatchDraw************"); int VIEW_WIDTH = canvas.ge...

Preview Handlers (Office 2007, Vista & Win7) - issue w/ reisize

Greetings, I'm working on a preview handler for Office 2007, Vista and Windows 7. I'm basing my code off the following MSDN article. The "guts" are done as it was pretty straight forward. I've been testing in Windows 7 (64-bit) Explorer. One thing I've noticed is the preview handler appears to "lock" the Explorer window and doesn't al...

WPF Design view in Visual Studio 2010--scroll the scrollbar?

I just added a ScrollViewer to my WPF app. Now some of my content is hidden because it is at the bottom of the ScrollViewer--this is intentional. However, is there any way in the Design view of Visual Studio 2010 to scroll a scrollbar so that I can preview what my app looks like when the scrollbar is at different positions? It would b...

Change paragraph text dyanamically with jQuery?

Hey everyone, I want to take the information typed into a text field and display it in a paragraph elsewhere on the page. Basically, exactly what is happening below as I'm type this (go to post a question and start typing in the main text box and you'll see what I mean). Any idea how to do this? The page has so much javascript on it I ...

Create bitmap from camera preview in Android

Hi there, I'm new to Android and am trying to create a custom camera filter. My initial thought was to access the frame data directly but this does not seem possible in 2.1 Eclair (I don't have access to Froyo hardware yet) - please correct me if I'm wrong. Instead, I am now trying to reproduce the camera preview by creating and displ...

adobe flex air file preview

Hi Gurus, We have an AIR application which connects to a WAMP server. We support tiff images currently. We have a neat feature of previewing a tiff image( uses a URLLoader to read the bytes and opens the image in a popup) We want to extend this preview feature to other types of files too like "pdf", "doc", "movie file" etc. Please let...

PHP Mysql content sneak peek

Hi There, Just wondering if anyone has got any ideas regarding sneak-peaking the content of a mysql table? Ie. say there are 10 posts with 500 words each. I want to list all the posts with a content sneak peak... i.e display a couple of lines or 200 characters etc. for each post The thing i'm wondering is how to do that while keeping...

Prevent Preview of Custom UTI File Types on iPad

I have an iPad application with a custom file type declared via UTI and CFBundleDocumentTypes. Is there a way I can prevent applications like Mail and Dropbox from showing the file Preview while still allowing the "Open In..." option to launch my app? I have set UITypeConformsTo and UTTypeTagSpecification to custom values in the applicat...

DataDynamics ActiveReports is not printing the page footer

I am using DataDynamics ActiveReport to generate a report. When I run the program and generate the report everything looks fine. Yet when I print the report the page footer isn't printed. What is going wrong and how do I fix this? EDIT: In case this is needed I am creating an 11x17 report in landscape mode. I am able to export this to ...

How to implement the preview of a custorm file type in iOS's email attachment?

From iOS 3.2, application can be called to open specify files, lick .zip . we try to implement an application can open the zip attachment file in iOS, it works. But from iOS 4.0, apple provide a new file preview framework call Quick Look Framework. The default email application will open the preview of the file default. But the quick loo...

Writing to the Windows 7 "preview" window area

How can I write or draw controls to the Windows 7 preview area using C#? For an example of what I am talking about, open Windows Media Player in Windows 7 and play a song. While the song is playing, minimize Windows Media player, then hover your mouse over the Windows Media Player icon and you will see a pause, rewind and fast forward bu...

Can I change vim completion preview window height?

I'm using Eclimd for completion, it generates a lot of helpful info about function, but in 1-line preview window it looks messy. (same window uses by omni-completion) So: 1. Is there any way to change default preview window height? 2. Make preview-popup instead of preview-window? ...

Jquery: textarea preview (simple and small script)

Simple way to make a preview of a textarea? the code i have below wont format <em>i'm italic!</em> into italics. I'm not very good at js/jquery, and i don't know if the .replace() part is what i need to focus on or what. I've googled it and searched here and couldn't find a simple answer. $('.comment-block textarea').bind('blur keyup',f...

Problem with preview in Sitecore 6.2?

When i try to preview a page in my Sitecore solution, i get this asp.net error; The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). What could be causing this - it is only showing in preview mode, any other works fine? ...

What is a good Java library to write GPS metadata on JPEGs (in EXIF)?

I have developed a Java application (Latipics) that geotags pictures with location information pulled from Google Latitude. I use an open source library called Sanselan to read/write GPS coordinates from/into JPEGs' metadata. It works mostly great except that Apple's Preview (stock JPEG viewer in OS X) seems to misinterpret the GPS lon...

Image Upload Preview in Update Panel.

In my asp.net page I have an image upload control where users can upload there profile photo. what I want is when user browse his/her photo an immediate preview should displayed. Is there any ajax image control for that or how can I implement that? ...

flex air show pdf preview

Hi, I am using urlloader to load a tiff file from the server. Then i get it as ByteArray and show the image in a popup window. var bytes:ByteArray = urlloader.data as ByteArray; i use the TIFFbaselineDecoder to decode the bytes and open a popup to show the bitmap. Works nicely. Now, i want to do the same thing for a pdf file. How can ...