Browse By

How To Create Android / iOS App In Visual Studio Using DevExtreme Control

Hello, Info Enthusiasts!

Here we are going to talk about how to create Android / iOS app in Visual Studio using DevExtreme control from scratch to end step-by-step.

So Let’s start:

Step 1: Download the DevExtreme tool from their website and install in on your system.

Step 2: Open Visual Studio and create a new project. Here you will find the DevExtreme in Installed Templates section.

Here we are going to select WCF OData Service. This is the basic requirement for any mobile development to create its data service first.

Step 3: It opens the Entity Data Model Wizard. Here we select EF Designer from Database to design the Data Model.

Select the server name and database here.

On next step we get the tables to select.

Here I am selecting to tables and clicked finish.

After that we find the Data Model and Data Service in the Solution Explorer.

Just right click on DataService.svc and set it as Start Page and run the project.

Here we get the xml return of the tables we selected.

Just copy the url and open the new instance of visual studio and create a new project.

Step 4: This time we are going with DevExtreme Multi Channel Application.

Here the wizard opens.

Select the Mobile and next.

Now it asks for layout type Navigation Bar or Slide Out. Here we are going with Navigation bar.

On next step enter the url of DataService.scv that we are created earlier and press discover.

Then it returns the entities, here just check the Check All check box to generate the model and view after that click finish.

It will create the data view page and the data view model.js classes.

Just run/debug the application, it will open its own simulator and run the project.

Step 5: Now to build apk / ipa, go to solution explorer and right click on solution and click Build Native Package.

Step 6: Choose Platform! Here I selected Android you can select iOS or Windows Phone aslo.

Now it ask for certificate. Just go with create a new certificate, enter the password and press build.

That’s it! Enjoy!

You can also find this article on my C# Corner profile here.

Leave a Reply

Your email address will not be published. Required fields are marked *