How to select devices in IntelliJ IDEA new UI? - flutter

New UI:
The app is currently running on a connected device, but I don't see any option to connect to another devices (for example, emulator). Here's the previous version of IDE, where I can see multiple devices.
Old UI:

It is a known problem https://github.com/flutter/flutter-intellij/issues/6270 Currently, you can customize the toolbar manually:
Right-click on main toolbar and select Customize Toolbar
Select the needed group and click on Add Action
Dropdown Plugins | Flutter and select Flutter.DevicesSelector

Related

I can't find the location to select for the target device in VS Code. (Flutter)

I usually use Android studio for application development with Flutter.
I'm trying to use VSCode, but as the title says, I can't find the selection of the target device I want to run.
For the time being, I selected [Run and Debug] from the icon on the left and executed it, and I was able to run the app on the actual iphone, but I want to run it on macOS.
I would appreciate it if you could tell me where it is.
At the very bottom of your editor, there is a bar, in this bar you should see the name of the currently selected platform, if you click on the platform, you will bring up a menu where you can select the device.
here is a closeup:
In my case you would click on "windows (windows-x64)"
You can also press Ctrl+Shift+P and write Flutter: select device to bring up the same menu

"Show Taps" option is not working on LDPlayer?

I am using Android Emulator (LDPlayer 4.0.23).
The "Show Taps" option from Developer Options (Setting-> Developer Options-> Show Taps), doesn't work. It's activated/ON.
Normally when it's activated you will see simple transparent circle when you tap your screen. But it doesn't show in LDPlayer.
Anyone know how to make it work? Or is there any other apps that can be use as replacement?
FYI, I want to create some video tutorial, thus I need to show where I taps on it.
you can try [NoxPlayer] (also an Android Emulator)to show taps and meet your needs. Here is a guide:
First, click Setting in the tool
Second, click About tablet and slide the page to find the Build Number
2
Third, Tap the Build Number 7 times to open the developer option
Fourth, Open the developer option, and then open the Show Touch

Adding OCUnit to excisting project in XCode

I am trying to add OCUnit to a excisting XCode project however I am not able to run it. The "Test" row in the "Product" menu is gray after following this guide. Anyone having another tutorial or know how to that? Or other solutions.
You have to edit the scheme for the application target to enable the Test item in the Product menu. To open the scheme editor, click on the Scheme menu in the project window toolbar and choose Edit Scheme. Select the Test step on the left side of the scheme editor. The list of tests should be empty. Click the + button to open a target sheet. Select the unit testing target from the list and click the Add button.

Screenshot of currently running application on IPhone

On the IPhone, is it possible to get a screenshot of the currently running application, from another application that is running/backgrounded/being launched? or somehow make available a screenshot of the current application to another application that is then automatically launched?
No it is not possible. It is not possible to know anything about another apps in iOS (if you're using documented methods).
This is possible using Xcode's Organizer:
in Xcode, select "Window" menu and then "Organizer"
in the newOrganizer window, select "Devices"
select your iPhone device and unfold
select "Screenshots" at the bottom of the list
now click on the "New screenshot" button (bottom right of the window)
You can export screenshots just by drag/drop on your desktop.

IntelliJ: How to create Android widget project?

In Eclipse, I just uncheck "Create activity" and I get widget-ready project.
In IntelliJ, I tried unchecking "Create Hello World project", but then I cannot compile the app (there isn't Run As Android App option).
At the moment I create a regular Android project and then delete the stuff I do not need. Any faster/automated way?
Thanks
Once you have created your project, click the down arrow next to the run button on the toolbar and select "Edit Configurations".
In the top left of this window press the plus button and select "Android Application". Finally, name your configuration at the top of the window and change the radio button selection from "Launch Default Activity" to "Do Not Launch Activity".
As no one answered, I suppose that the only way to create a Widget or Live wallpaper project is to create a regular Android project and then delete the code you don't need from Manifest and Class files.
Looking forward for better solution in IntelliJ.