Questions tagged [preview]

User Interface action to display a preliminary or scaled down version of the actual item.

User Interface action to display a preliminary or scaled down version of the actual item.

For images, typically showing a thumbnail version of the full image.

For documents, typically showing the first few pages or draft copies of the final.

1681 questions
6
votes
2 answers

Muxing camera preview h264 encoded elementary stream with MediaMuxer

I am working on an implementation of one of the Android Test Cases regarding previewTexture recording with the new MediaCodec and MediaMuxer API's of Android 4.3. I've managed to record the preview stream with a framerate of about 30fps by setting…
mAx
  • 546
  • 1
  • 6
  • 17
6
votes
5 answers

how to preview an image before upload in various browsers

I want to show preview of an image before it is uploaded. I have found a partial solution that works for ie6 and firefox, and havent yet tested it in ie7 or ie8. But i want a solution that works in safari, ie7 and ie8 as well. Here is the solution…
umar
  • 4,309
  • 9
  • 34
  • 47
6
votes
1 answer

Camera preview shows unwanted tiles only on Android 4.2.2 (S4, full HD screen)

My app runs with many devices but 2 users have send me simular images as below. As far as I know the behaviour is only seen on Android 4.2.2 (Samsung S4). On the full HD screen there seem to be 3 compressed tiles of 160x600 pixels. I have tried an…
6
votes
0 answers

Show custom application image in task manager on ICS or JB

As far as I see on Android 4.0 (or higher) default task manager shows last screenshot from program with program icon no the top left. See image: My question is how to change application's image (not icon) in task manager to custom? Don't ask me…
ArtemStorozhuk
  • 8,715
  • 4
  • 35
  • 53
6
votes
1 answer

ASP.NET MVC V2 - Buddy Classes

Does anyone have an example of buddy classes in ASP.NET MVC 2 Preview 1? I can't seem to find anything on the MSDN about it but according to ScottGu they've added functionality for it in the most recent release.
Nathan Taylor
  • 24,423
  • 19
  • 99
  • 156
6
votes
1 answer

Proper use of new "container view" in XCode 4.5?

I recently discovered the new "container view" in XCode 4.5 Developer Preview and wondered whether this is the proper way to use it:
pasql
  • 3,815
  • 5
  • 23
  • 33
6
votes
1 answer

GetSupportedPreviewSize returns reverse width and height

I'm using a DroidX to develop an app that uses the camera preview image. The code I'm using is found in numerous places on the web but I noticed that the common method "getBestPreviewSize(width,height,camera.parameters)" is returning such a small…
bob
  • 688
  • 8
  • 15
5
votes
4 answers

How to display a print preview of an HTML document

I need to display some HTML content as it will be printed. Basically, I want to emulate the browser print preview feature. I'm not sure how to do this just with HTML/CSS/JavaScript. The only solution I came up is to convert the HTML to PDF so it´s…
Flupkear
  • 2,135
  • 7
  • 29
  • 32
5
votes
2 answers

How do you reload files in mac preview 10.7?

I'd like to reload files (.png, .pdf) in Preview after they have been updated. How can this be accomplished? In OS X 10.5 and 10.6, it was as simple as switching to Preview - it would automatically reload the new file. Alternatively, you could use…
keflavich
  • 18,278
  • 20
  • 86
  • 118
5
votes
3 answers

Is OSX Lion Preview application scriptable?

Is OSX Lion (or older OSX) release of Preview scriptable?
P5music
  • 3,197
  • 2
  • 32
  • 81
5
votes
3 answers

Android KeyBoard.Key disable iconPreview of special keys?

I customize my own soft keyboard by implementing the KeyboardView.OnKeyboardActionListener interface. When the keys are pressed, it will show a preview popup. My problem is how to disable the preview popup for special keys such as SHIFT and…
John Smith
  • 111
  • 3
  • 7
5
votes
0 answers

Kotlin Compose Preview reference unresolved

I am working on a Kotlin Multiplatform project for Android and Desktop using Compose and have the Compose Multiplatform IDE Support plugin installed. What I am trying to do is add the @Preview annotation so I can get a preview of the composables…
5
votes
1 answer

Can R Markdown be made to preview from anywhere other than the start of the document?

I'm currently writing something in R Markdown. Whenever I Knit the document, RStudio's preview takes me back to the very beginning of the document. Is there a way to make this new preview display a location closer to where I've been working by…
J. Mini
  • 1,868
  • 1
  • 9
  • 38
5
votes
4 answers

Apple's SwiftUI tutorial code doesn't display view contents in homemade copy

I'm just getting started learning SwiftUI, following Apple's tutorial for building an iOS app at this link. I started with the skeleton app provided and have followed along in the latest Xcode, step by step. Instead of seeing what I am supposed to…
vacuumhead
  • 479
  • 1
  • 6
  • 16
5
votes
0 answers

how to implement custom SurfaceProvider for android Camera x androidx.camera.core.Preview

I'm following this original CameraX Example for Android here: https://developer.android.com/codelabs/camerax-getting-started#5 and…