<img alt="" src="https://secure.leadforensics.com/150446.png " style="display:none;">
Go to top icon

Build Mobile Applications with jQuery mobile and MVC 4

Vinayak Hodage Apr 10, 2014

Mobile Development Technology

Today, developing a mobile application is easy, but running it on multiple mobile devices with adaptive UI is a bit challenging. But jQuery mobile framework has made life easy for us to develop a single web site or application that can work on all popular Smartphones, Tablets and Desktop platforms.

In this introductory tutorial, I will give you an overview on how to use jQuery mobile with MVC 4 to build a modular mobile application that looks and feels very similar to a native app running on a device. You will find it useful as a starting point for a list-type application using jQuery Mobile.

To start with mobile application development using MVC 4 and jQuery mobile, first we create new MVC 4 web application project in Visual Studio 2012 as below –

Visual Studio 2012

Select ‘Mobile Application’ as a project template

Mobile Application

This will build a sample mobile application using a default template. Here I have updated Home and created a new List View for illustration purpose.

I have shown navigation links on home page using list view. You can see some snap shots below for complete html

home page using list view

To display list of hotels, use ‘listview’ again.

listview

Once you are done with your views, run the application and you will see the highly branded web application that looks like a native application.

web application

web application2

Benefits of mobile application using jQuery mobile framework and MVC 4

  • HTML5 and CSS3 based user interface with minimal scripting
  • Lightweight code
  • Theme based design
  • Easy to use
  • No expertise required, if you know HTML, you can start building mobile applications right away

This is a very basic and simple application. To build a more real application, you can learn more on jQuery mobile -

http://view.jquerymobile.com/1.3.2/dist/demos/

http://www.w3schools.com/jquerymobile/

 

Thank you for taking out time to read this tutorial!

 

 

 

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.