Is there a design option for .xml in DevEco Studio? - harmonyos

In android studio, we get 2 options when we click on a .xml file.
1)Design
2)Test
Do we have similar features in DevEco studio?
I did not find the design option when I click on any .xml file.

You don't have design window in DevEco Studio, Instead you are provided with Previewer to view the design changes,
To Access Previewer, select View > Tool Windows > Previewer

According to the team's confirmation, Java UI is not supported currently, but JS UI low-code development is supported.
For more details about JSUI low code development, pls refer to this Docs.

Related

How to open the visual designer on an existing *.w file in Progress Developer studio?

I'm working with Progress 11.6, appBuilder and procedure editor.
I'm taking my very first steps, using Progress developer Studio (version 4.3): I'm opening a *.w file. I was expecting some kind of GUI design form, but even after having chosen the "OpenEdge AppBuilder" or the "OpenEdge Visual Designer perspective, I still only see the *.w file in text format.
What can I do in order to open the "Progress Developer Studio graphical GUI designer"? (I hope this feature exists?)
Pressing Shift+F9 does not work, and the context popup looks as follows:
Thanks in advance and sorry for this very newbie question
I'm taking my very first steps, using Progress developer Studio
Congratulations!
Hit "shift-F9" or right-click on the editor and choose "View Design"
Edit
Apparently, an "ABL GUI Design" needs to be added.

How to use open file dialog in xamarin forms

Please help me, I want to pick the pdf file locally in xamarin forms(cross platform). So on a button click i need to open the file dialog to pick pdf file locally.
This is not something that can be done in a true cross-platform way. For example; on iOS you cannot access the filesystem directly, while on Android and UWP you can.
I have created a NuGet Xamarin.Plugin.FilePicker (Github) (original by rafaelrmou), which tries to solve this for you. On iOS you need iCloud Drive to be configured.
If you do not want to use the plugin you could always look into the code and roll your own.

Showing Files on Android

I'm very new to backendless.
And a little bit new to developing an androip app.
I'm trying to show list of files in my Backendless to my Android app.
I'm trying to show my uploaded files in my Backendless to a List View in my Android Studio Project. Wherein the user could see the files(images,documents,pdf) inside the folder and other sub folders inside it.
Backendless cares about you even if you are "very new" to it :)
Just use it`s build-in code generation tool. It already provides you a file manager for you application. You can customize it so that would pass for all your needs.
Well, open console and create your new app. Then go to Code Generation section, select Android tab and check "Simple file manager" option.
As soon as you you download the project open it in your IDE, select SDK and run.
Found it.
https://github.com/Backendless/Android-SDK/blob/master/src/com/backendless/Files.java
This has all the codes you need concerning file management for backendless in your android project.

Visual Studio 2010: Data Sources window in ASP.Net project?

I'm trying to add a Sharepoint site as a data source on a web project in VS2010; so I can generate the appropriate DAO code to interact with the site's data over REST. However, neither the data sources window, nor the Add Data Source Configuration Wizard seem to be available to an ASP.Net Web project. Is there something else I should be using instead? I know I could just create a class library project and add my Datasource there, or I could just manually make the REST requests; but I just want to see what my options are. Any constructive input greatly appreciated.
Thanks,
Frank
If I understand your question correctly I think you need to right click on "Web References" in your solution explorer and click "Add Web Reference..." You can then type in the URL of the site and it'll be added to your project just like any other library.

Is it possible to suppress the Web Forms Designer in Visual Studio from being opened?

The primary reason for asking how to do this is because I personally never use it. The Designer is slow to load... especially on complex pages with lots of controls. To put it bluntly, I think of it as a crutch that web developers should avoid.
I would like to encourage team members to avoid using it as well. If there is a way to do this through a policy setting (either in TFS or otherwise) or some options when installing Visual Studio that would be even better.
Go to
Tools Menu
-> Options
-> HTML Designer
The first groupbox is "Start pages in". Setting it to Source View should accomplish what you are looking for within VS.
Thank you for all the helpful answers. What I ended up doing was setting the default view from Tools -> Options -> HTML Designer - Start Pages In = Source View (as suggested by #blu). Then I exported my Visual Studio settings to a file. The snippet below is an abstract of the relevant section. This can be saved as a .vssetings file and imported by team members as part of our standard setup:
<UserSettings>
<ApplicationIdentity version="9.0"/>
<ToolsOptions>
<ToolsOptionsCategory name="TextEditor" RegisteredName="TextEditor">
<ToolsOptionsSubCategory name="HTML Specific" RegisteredName="HTML Specific" PackageName="Visual Studio HTM Editor Package">
<PropertyValue name="StartPageView">1</PropertyValue>
</ToolsOptionsSubCategory>
</ToolsOptionsCategory>
</ToolsOptions>
</UserSettings>
It's a per-user setting, by right clicking on the .CS file for the form and saying "Open With...", then changing the default editor for that type.
AFAIK, there is no way to force that setting via TFS.
There is no way to suppress the Editor directly, as it is part of Visual Studio. The Visual Studio 2008 is a much improved editor, as it is the same one used in Expression Web and I often use it. Also the source view is part of the Editor from what I remember.
There is an option in VS Settings to always open ASPX pages in Source View however:
Tools
Options
Web Browser
View source in
You can also specify an external editor. There is no way to suppress the designer using TFS or a GPO however.
I think so. In the Solution Explorer, right-click the an aspx or ascx file and choose Open With. When you choose the editor you want you can set it as default.

Resources