Screenshot And video option is missing in Android Studio 3.4.1? - android-studio

Android studio missing take screenshot and video option is missing in latest version(3.4.1).
Ctrl+s is working but i am unable to get screenshot in real device(attached via cable) use Ctrl+s.
Any other way to taking the screenshot of real device and store in to system?

Click on setting icon on top and click "Show Toolbar" like in below pic

You can take photos/videos under Logcat, using these buttons. Sometimes they are hidden in a little drop down, which is indicated by two little arrows instead.
Unless you mean taking screenshots and saving them on the device. In which case just use the device's mechanism for taking screenshots?

Related

How to take screenshot of a whole webpage from browser in a single image

In lots of place i saw that people using long screenshot of a full webpage for presentation. I tried with snipping tool but i am not able to take screenshot of whole webpage in a single image. I want to know that how i can take long screenshot from browser like this
If you are using Google Chrome then this answer will be beneficial for you.
Just follow some simple step to take long screenshot of a webpage.
Step 1: Click the three dots, point to “More Tools,” then click on “Developer Tools.” Alternatively, you can press Ctrl+Shift+I on Windows or ⌘+Shift+I on Mac to open the Developer Tools pane.
Step 2: In the top right corner of the pane, click the three dots icon, then click “Run Command.” Alternatively, press Ctrl+Shift+P on Windows and ⌘+Shift+P on Mac.
Step 3: In the command line, type “Screenshot,” then click “Capture full-size screenshot” from the list of commands available.
The image should save automatically, but if you’re prompted to save the screenshot, select a destination on your computer, then click “Save.”
Note : This feature is ideal on websites with text-based content opposed to web apps, as it could potentially only capture the viewable screen.
For more descriptive answer go through this link
You can use this free Screen Capture tool at CtrlQ.org.
You just need to put the url of the page of which you want to take the screenshot.
For example, Here is a screenshot of your question
You can use Awesome screenshot. It's extension is also easily available for chrome. Just add it to chrome and you will have option to take screenshot as you want. Here is the link.
You can click on capture entire page option as here in the screenshot:

How can I change the default preview device in Android Studio?

When I'm creating a new project, the default preview device appears as Nexus 4. Is there a way to change it to some other device?
Recently I had the same issue.
It seems that you cannot use a device from the "virtual device" category. That way only the selected layout will be shown inside the chosen device.
In order to change the default device for all layouts you have to choose from some of the other categories (the ones inside the red rectangle):
I have chosen "6.0 1440 x 2560" from "Phone" and all my other layouts changed to this device (before I was selecting "Nexus6_API_29_Android" which was my virtual device, and I had to change it on every layout manually)
Same issue was appearing for me, when I was selecting device for preview from 'Virtual Device'.
To select device which will be default for preview when opening activities choose from these in picture, which are marked in red rectangles.
Change the preview device>>for example: nexus5x or others.
File--Export Setting, then choose a dictionary to save it. For example, I save it on my desktop, next you will see a settings.jar on your desktop.
File-Import Setting, choose the settings.jar.
Android Studio will want to restart itself, click OK
My English is very poor. I'm so sorry.
Maybe it works well. I'm not sure. You can try it.
The top answer covers most cases.
But if you want to use a custom made device you can also click on the Generic Phones and Tablets option, and choose your device from there.
You just need to follow few steps to do this
Step One
Open Any layout file from
App >> res >> layout directory
Step Two
go to the above red marking option
Then you will find the available devices for change
N.B. I am using Android Studio 3.6.2
Go to Run -> Edit Configurations. "Under Deployment Target Options", de-select "Use same device for future launches."
To prevent the same device from being used on subsequent previews, when you create a new project and run it in the AVD, do not select "use the same device."

Default Excel keyboard shortcut CTRL + ALT + F5 no longer works

The Microsoft Excel keyboard shortcut Ctrl+Alt+F5 to Refresh All was one of my favorites until it stopped working. Presently, when I enter that key combination nothing (as far as I can see) happens. I've had to live without it for so long that I can't recall if there was anything specific that was changed prior to it no longer working. Alt+F5 continues to work to Refresh a specific PivotTable, but that has limited value.
The version is Excel 2007.
How can I discover what is preventing Ctrl+Alt+F5 from working and restore its default functionality?
I solved this problem by disabling Intel Graphics hotkeys:
Right-click on the desktop, hover over the menu option "Graphics Options" > "Hot Keys" > click Disable.
I had the exact same issue described above, albeit on Excel 2013 then eventually worked out that the key combination Ctrl+Alt+F5 (as well as other Ctrl+Alt+Fn keys) is reserved by the Intel Graphics control panel. I'd never even noticed this program but it's accessible by right-clicking on the desktop and selecting 'Graphics Properties...'. The Intel Graphics control panel doesn't use Ctrl+Alt+F5 by default, but it still reserves it apparently. I can assure you that disabling the Intel Graphics hot keys allows me to be able to use Ctrl+Alt+F5 in Excel straight away.
Hope that helps!
By the way, this same solution is shown here for a different user problem:
https://forums.lenovo.com/t5/W-Series-ThinkPad-Laptops/hotkeys-Alt-Ctrl-F1-Alt-Ctrl-F5-which-pre-install-application/td-p/1318777
Keyposé is a free download which displays keyboard shortcuts as you use them. This makes sure that your hardware and OS are working as expected. If you see your shortcut appear with this tool (or you can verify Ctrl+Alt+F5 work in other applications another way) then the change must be within Excel itself
You might have more luck posting this on superuser.com

can't get logcat to work android studio

I've been trying to figure out why my app isn't working, but I can't find Logcat! I just uploaded the new Android Studio release. I've researched and found out where to look to get this message:
ddms: Can't bind to local 8610 for debugger
All the answers I see on SO are for Eclipse. I looked at the developer page, yet for DDMS, it sends you to another page that is full of information for running DDMS in Eclipse!
Please, need some help here! I mean if the dev page is wrong, can't someone show a little love? (Instead of knocking me down 4 points like yesterday. should left in the note I couldn't find my logcat but I was embarrassed.... now not so much .... )
thanks in advance.
I had to open the Android Device Manager to get at the Logcat. It would not scroll through the regular window when the app quit working like it used to (previous to yesterday's and today's updates to Android Studio). As such, I cannot copy and paste code, but can use snagit to capture pngs to post. Thank you. This question is closed.
Check if you have hided it...If it is hiding problems the go through given image to display it or ALT + 6

Where is the warnings screen option in Android Studio?

I want to see warnings of my code in Android Studio, But i am unable to find the option to display warnings view. In case of eclipse we can see the warnings in the "Problems" view.
Can anyone suggest me, how to view warnings in android studio?
If, on the toolbar, you click Analyze -> Inspect Code; then in the window that pops up select how much of your project you want to inspect (I usually do Whole Project, but you might want to select a specific module), then click okay.
Android Studio will work for a bit, then the inspection window will pop up from the bottom with a list of results, subdivided by inspection.
Build -> Make Project (Ctrl + F9) gives what we can get equivalent of Eclipse's “Problems” view on Android Studio
you can use F2 to next problems, see more here: Navigating to Next/Previous Error
GO to View-->Tool Windows-->Messages to view the warnings
Even i searched all the settings in Android Studio, but couldn't find a separate window for it.
The warnings are actually visible to the right end of a particular line as a small yellow marker and clicking on that show the warnings in the status bar below. The colors of them can be editted in the inspection options.
Hope this helps you.
The closest thing Android Studio/IntelliJ has to the Problems view in Eclipse is to use the Problems section of the Project tool window. With that open, navigate down to any classes that appear there and open them in the editor. Once in the editor, you can use F2 to jump between errors in the open file.
Unfortunately, IntelliJ's Problems tool window shows classes with errors nested by folder/package, so you have to expand several levels and it takes up a lot of screen real estate to see even one error. It also doesn't list the errors individually, forcing you to first open the problematic file and then use F2 to navigate to each one. I also had the problem that errors in files that weren't open, didn't show up there.
[opening warning screen in android studio
Click the warning icon as marked in the image.
Warning screen will open.
][click to see image] here

Resources