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
12
votes
3 answers

SwiftUI Preview - Failed to Build Scheme, No such module "ProjectName"

I am trying build a Preview for a project that is built on SwiftUI. At first, I created the project with the name 'VOIP'. After some development and time, I connected it to the AppStore Connect and the name of the project was created differently,…
Faruk
  • 2,269
  • 31
  • 42
12
votes
1 answer

Data binding in custom view throws and error in Android Studio preview

I have created a custom view that uses data binding. It works fine in the application but it throws an error in the Android studio IDE. DataBindingUtil.inflate throws an error because some of the fields in the binding are null in edit mode. I can…
12
votes
2 answers

60/120fps preview data on an Android device?

We would like to process 120 fps (or 60fps) camera preview data using Neon assembly or GPU shaders to perform a simple image processing operation (eg 3x3 convolution). We are NOT interested in displaying the image on the screen so the camera data…
twerdster
  • 4,977
  • 3
  • 40
  • 70
12
votes
4 answers

Oauth2 for SharePoint 365 REST

I'm trying to connect to Sharepoint Online (Sharepoint 365?) content using OAuth2 and the REST API. I need to do this from Python as it is an addition to an existing application. I have already managed to connect the application to Google Drive…
ZinaliErik
  • 163
  • 1
  • 1
  • 6
11
votes
5 answers

Converting preview frame to bitmap

I know the subject was on the board many times, but i can not get it work anyhow... I want to save view frames from preview to jpeg files. It looks more or less(code is simplified- without additional logic, exception etc) like this... public void…
androdevo
  • 752
  • 1
  • 8
  • 17
11
votes
5 answers

Preview Xamarin Form Pages

Is there any way to preview a Xamarin forms page without first deploying to device/emulator? Or is there any way to live edit the page and see changes somewhere (a bit like Snoopy for WPF). I tried both Xamarin Studio + Visual Studio and do not see…
Michal Ciechan
  • 13,492
  • 11
  • 76
  • 118
11
votes
3 answers

Android camera preview is dark

I am trying to create a custom camera app. I followed the Android Developer example from here with minor tweaks. However, my camera preview turns out to be rather dark. On the other hand, the stock camera gives a much brighter preview. I have tried…
Puneet
  • 653
  • 1
  • 7
  • 18
11
votes
2 answers

Using readAsDataURL() for image preview

jsFiddle URL: http://jsfiddle.net/Xotic750/AjtLx Been working on this all day and I can't see the issue. It's probably due to my narrow understanding of how FileReader objects work but what I'm trying to do is use readAsDataURL() to obtain images a…
whitwhoa
  • 2,389
  • 4
  • 30
  • 61
11
votes
3 answers

ASP.NET MVC 2 - HTML.EditorFor() and Custom EditorTemplates

With MVC 2's addition of the HtmlHelper EditorFor() it is not possible to create strongly typed Display and Editor templates for a given Model object and after fiddling with it I am a bit stumped as to how to pass additional Model data to the editor…
Nathan Taylor
  • 24,423
  • 19
  • 99
  • 156
10
votes
4 answers

surfaceCreated() Never Called

I've seen similar problems to the one I'm having, but I still can't find a solution. I'm very new to Android development, so I'm having trouble tracking down my problem. Anyways, I'm trying to create a camera preview using a CameraSurfaceView class…
jvhashe
  • 1,071
  • 2
  • 12
  • 15
10
votes
2 answers

Record video of Xcode Simulator WITH AUDIO?

I need to record a video of my app to use for the Preview in the App Store. It's crucial for me to feature the actual app audio (since it's an interactive educational app for musicians). Xcode Simulator 12.5 has the great new feature of easily…
Anton
  • 2,512
  • 2
  • 20
  • 36
10
votes
2 answers

Preview not changing device to iPhone SE when using SwiftUI

I am new to SwiftUI and I was trying to change my preview device to iPhone SE but the device does not change. When I update the text "Hello, world!" to something else in the ContentView, it does show the updated text on the preview device. The…
10
votes
1 answer

Camera preview with a transparent image above

I would like to see an image on top of Camera SurfaceView\preview. How do I do that? Any examples?
OkyDokyman
  • 3,786
  • 7
  • 38
  • 50
10
votes
2 answers

Render problem in Preview of Navigation Drawer in Android Studio

I am having a problem with Preview of generated Navigation Drawer layout in Android Studio 3.4. I've tried to change layout Theme or change API version for Preview but none of these seem to help. The Render problem's error trace looks like…
10
votes
1 answer

How to use androidx.recyclerview.widget.RecyclerView with tools:listitem?

How to use androidx.recyclerview.widget.RecyclerView with tools:listitem? I have this layout: